latestOpenAPI 3.1.02026-08-1051108155.9 KB

6e6f8dad92bf

Token

Returns initiated or pending finalize withdraws for the given subaccount

get/v1/token/withdraw

Query parameters

order'asc' | 'desc'

Direction to paginate through objects

limitinteger

Limit the number of objects to return

cursorstring

Pointer to the current object in pagination dataset

subaccountIdstring uuid required

Id representing the registered subaccount

isActiveboolean
Example:true

Filters active withdraws

orderBy'createdAt'
Example:createdAt

Order by field

Response

hasNextboolean required

Whether there are more objects to paginate through

nextCursorstring

Pointer to the next page in pagination dataset

Example response

{
  "data": [
    {
      "amount": "1.5",
      "createdAt": 1712019600000,
      "finalizedBlockNumber": "123062992",
      "id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "initiatedBlockNumber": "123062000",
      "lzDestinationEid": 30391,
      "subaccount": "0x7072696d61727900000000000000000000000000000000000000000000000000",
      "token": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3"
    }
  ],
  "hasNext": true
}