cURL
curl --request POST \ --url https://mainnetapiserverwriter.logx.network/api/v1/token/withdrawCollateral \ --header 'Content-Type: application/json' \ --data '{ "subAccountId": "1_0x4012AB6a68CD1B2Eb2d0B1DdcE846DBe5d0B4059_1", "sessionKey": "0x040807530737h7E8D14Aa6c1dD18044bcAA97A62", "productId": 10, "amount": "1000000000000000000", "nonce": 28, "destinationChainId": 421614, "receiver": "0x1020AB6a68CD1B2Eb890B1DdcE846DBe5d0B4059", "chainId": 9369 }'
{ "success": true }
The request object for withdrawing collateral.
The body is of type object.
object
The token balance was withdrawn successfully.
The response is of type object.