Token
Returns initiated or pending finalize withdraws for the given subaccount
Changed onget/v1/token/withdraw
Request
- Base URLhttps://api.ethereal.trade
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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
}Changes
- info
added the non-success response with the status
- info