account

Get account by an account's index, or L1 address

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Description:

  1. Status: 1 is active 0 is inactive.
  2. Collateral: The amount of collateral in the account.

Position Details Description:

  1. OOC: Open order count in that market.
  2. Sign: 1 for Long, -1 for Short.
  3. Position: The amount of position in that market.
  4. Avg Entry Price: The average entry price of the position.
  5. Position Value: The value of the position.
  6. Unrealized PnL: The unrealized profit and loss of the position.
  7. Realized PnL: The realized profit and loss of the position.
Query Params
string
enum
required
Allowed:
string
required
boolean
Defaults to false

Hide markets for which leverage and margin settings are present (meaning the account traded it at least once), but with no active position.

string
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json