Skip to main content
POST
/
exchange
Derivative Balance Transfer Request
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": 1769690768744
    },
    "type": "derivativeBalanceTransferRequest"
  },
  "signature": "0x7e159734d8482a49f6f81945d1423a3d44e6f08214aa54081dee15d5b1cf3d8c...",
  "nonce": 1769690768744
}
'
{
  "tx_hash": "0xee720feca655572fc8d709a66b0d8ef8e44e2affee46a4e208d69b087afe6592",
  "tx_type": 1052,
  "error": "",
  "data": {},
  "address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}
Send assets from your derivatives collateral balance.

Body

application/json
action
object
required
signature
string
required
nonce
integer
required

Response

200 - application/json

Successful response

tx_hash
string
tx_type
integer
error
string
data
object
address
string