Withdraw
Withdraw token balance.
POST
Body
application/json
The request object for withdrawing collateral.
The subaccount ID associated with your address.
Example:
"1_0x4012AB6a68CD1B2Eb2d0B1DdcE846DBe5d0B4059_1"
The public key generated during account registration.
Example:
"0x040807530737h7E8D14Aa6c1dD18044bcAA97A62"
The product ID of the token to be withdrawn.
Example:
10
The amount of the token to be withdrawn, scaled to 18 decimal places.
Example:
"1000000000000000000"
The ID of the destination chain for the withdrawal.
Example:
421614
The Ethereum address of the recipient.
Example:
"0x1020AB6a68CD1B2Eb890B1DdcE846DBe5d0B4059"
The chain ID from which the withdrawal is initiated.
Example:
9369
Response
200 - application/json
The token balance was withdrawn successfully.
Indicates whether the withdrawal operation was successful.
Example:
true