Skip to content

List subaccounts

GET
/accounts/{address}/subaccounts

Every subaccount under the address, ascending by id.

Parameters

Path Parameters

address*

Owner address (20-byte Ethereum-style, 0x-hex).

Required

Responses

Subaccounts.

application/json
JSON
[
  
{
  
  
"address": "string",
  
  
"subaccount_id": 0,
  
  
"cross_margin_balance": "-12500",
  
  
"total_isolated_margin": "-12500",
  
  
"equity": "-12500",
  
  
"available_margin": "-12500",
  
  
"transferable_margin": "-12500",
  
  
"initial_margin_requirement": "1000000",
  
  
"maintenance_margin_requirement": "1000000",
  
  
"status": 0,
  
  
"created_at_ms": 0,
  
  
"delegations": [
  
  
  
{
  
  
  
  
"delegate": "string",
  
  
  
  
"permissions": 0,
  
  
  
  
"expiry": 0,
  
  
  
  
"name": "string"
  
  
  
}
  
  
]
  
}
]

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI