fetch_lighter_account

Documentation for eth_defi.lighter.api.fetch_lighter_account function.

async fetch_lighter_account(lighter, account_index)

Fetch a Lighter account by index.

Parameters
  • lighter (Any) – Imported Lighter SDK module.

  • account_index (int) – Lighter account index.

Returns

Detailed account model.

Return type

Any