Skip to content

List withdrawals

GET
/accounts/{address}/subaccounts/{subaccount_id}/withdrawals

Parameters

Path Parameters

address*

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

Required
subaccount_id*
Type
integer
Required
Format
"uint16"
Minimum
0
Maximum
65535

Query Parameters

limit

Max items to return.

Type
integer
Default
100
Maximum
1000
before

Return items strictly before this transaction index (cursor).

Type
integer
Format
"int64"

Responses

Withdrawal history, newest first.

application/json
JSON
[
  
{
  
  
"kind": "string",
  
  
"token_id": "string",
  
  
"amount": "-12500",
  
  
"counterparty": "string",
  
  
"counterparty_subaccount_id": 0,
  
  
"tx_hash": "string",
  
  
"timestamp_ms": 0
  
}
]

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI