latestOpenAPI 3.1.02026-08-1051108155.9 KB

6e6f8dad92bf

Token

Returns a list of transfers for the given subaccount

get/v1/token/transfer

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

statusesstring[]

Array of transfer statuses to filter by

typesTransferType[]

Array of transfer types to filter by

orderBy'createdAt'
Example:createdAt

Order by field

createdAfterinteger

Filter by transfers created after timestamp exclusive (ms since Unix epoch)

createdBeforeinteger

Filter by transfers created before timestamp inclusive (ms since Unix epoch)

Response

hasNextboolean required

Whether there are more objects to paginate through

nextCursorstring

Pointer to the next page in pagination dataset

Example response

{
  "data": [
    {
      "amount": "0.42",
      "createdAt": 1712019600000,
      "fee": "0.42",
      "finalizedBlockNumber": "123062992",
      "finalizedTransactionHash": "0x42aa378d58b92c639dda64d528a6123f14e59e071c4b56e058d3a54b819e2b79",
      "id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "initiatedBlockNumber": "123062000",
      "initiatedTransactionHash": "0x8ffa427c4079a78a64811e80fe4dbefa8bd8e2f4cc572cda9717297d220d4f8e",
      "lzDestinationEid": 40422,
      "status": "PENDING",
      "subaccountId": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "tokenAddress": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3",
      "tokenName": "ETH",
      "type": "WITHDRAW"
    }
  ],
  "hasNext": true
}