Questions? Join our Discord.
curl --request POST \
--url https://api.hotstuff.trade/exchange \
--header 'Content-Type: application/json' \
--data '
{
"action": {
"data": {
"collateralId": 1,
"amount": "5.0",
"destination": "0x1234567890123456789012345678901234567890",
"nonce": 1769690768337
},
"type": "spotBalanceTransferRequest"
},
"signature": "0x8be51d3a290e8dc95ec8bf697160259febd1c516f6589e33793b6a0f79840129...",
"nonce": 1769690768337
}
'{
"tx_hash": "0x41a12f2f2ea15fa2581fbf636549d6048fa72812f271b861bfff45dc06d2262d",
"tx_type": 1051,
"error": "",
"data": {},
"address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}Send POST request to /exchange, or use the ExchangeClient SDKs.
curl --request POST \
--url https://api.hotstuff.trade/exchange \
--header 'Content-Type: application/json' \
--data '
{
"action": {
"data": {
"collateralId": 1,
"amount": "5.0",
"destination": "0x1234567890123456789012345678901234567890",
"nonce": 1769690768337
},
"type": "spotBalanceTransferRequest"
},
"signature": "0x8be51d3a290e8dc95ec8bf697160259febd1c516f6589e33793b6a0f79840129...",
"nonce": 1769690768337
}
'{
"tx_hash": "0x41a12f2f2ea15fa2581fbf636549d6048fa72812f271b861bfff45dc06d2262d",
"tx_type": 1051,
"error": "",
"data": {},
"address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}Send assets from your spot collateral balance.Documentation Index
Fetch the complete documentation index at: https://docs.hotstuff.trade/llms.txt
Use this file to discover all available pages before exploring further.