Get account information

Respond with requester's account information

Query parameters

subaccount_addressstringOptional
Subaccount address

Response

OK
accountstring or null
User's starknet account
account_valuestring or null

Current account value [with unrealized P&Ls]

free_collateralstring or null

Free collateral available (Account value in excess of Initial Margin required)

initial_margin_requirementstring or null
Amount required to open trade for the existing positions
maintenance_margin_requirementstring or null
Amount required to maintain exisiting positions
margin_cushionstring or null
Acc value in excess of maintenance margin required
seq_nointeger or null

Unique increasing number (non-sequential) that is assigned to this account update. Can be used to deduplicate multiple feeds

settlement_assetstring or null
Settlement asset for the account
statusstring or null

Status of the acc - like ACTIVE, LIQUIDATION

total_collateralstring or null
User's total collateral
updated_atinteger or null
Account last updated time

Errors