latestOpenAPI 3.1.02026-08-1051108155.9 KB
6e6f8dad92bf
Token
Initiates a withdraw for a specific token in subaccount
post/v1/token/{id}/withdraw
Path parameters
idstring required
Request body
Example request
{
"data": {
"account": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"amount": "1337.42",
"lzDestinationAddress": "0x000000000000000000000000d8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"nonce": "2687929537462333",
"signedAt": 1712019600,
"subaccount": "0x7072696d61727900000000000000000000000000000000000000000000000000",
"token": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3"
}
}Response
Example response
{
"amount": "1.5",
"createdAt": 1712019600000,
"finalizedBlockNumber": "123062992",
"id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
"initiatedBlockNumber": "123062000",
"lzDestinationEid": 30391,
"subaccount": "0x7072696d61727900000000000000000000000000000000000000000000000000",
"token": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3"
}