Get account information

Respond with requester's account information

Authentication

Authorizationstring
API Key authentication via header

Query parameters

subaccount_addressstringOptional
Subaccount address

Response

OK
accountstring
User's starknet account
account_valuestring

Current account value [with unrealized P&Ls]

free_collateralstring

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

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

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

settlement_assetstring
Settlement asset for the account
statusstring

Status of the acc - like ACTIVE, LIQUIDATION

total_collateralstring
User's total collateral
updated_atinteger
Account last updated time

Errors

400
Bad Request Error
401
Unauthorized Error