POST
/
api
/
v1
/
token
/
withdrawCollateral

Body

application/json
subAccountId
string

The subaccount ID associated with your address.

sessionKey
string

The public key generated during account registration.

productId
integer

The product ID of the token to be withdrawn.

amount
string

The amount of the token to be withdrawn, scaled to 18 decimal places.

nonce
integer

The nonce of the subaccount. This can be fetched using the Nonce API.

destinationChainId
integer

The ID of the destination chain for the withdrawal.

receiver
string

The Ethereum address of the recipient.

chainId
integer

The chain ID from which the withdrawal is initiated.

Response

200 - application/json
success
boolean

Indicates whether the withdrawal operation was successful.