Account Index

The account index is how Lighter identifies the wallets using integer numbers.


You can learn your account index by querying accountsByL1Address endpoint.

The response has sub_accounts as a list. The first element of the list is your main account and the index of the main account is your account index.