Revoke Agent
curl --request POST \
--url https://api.hotstuff.trade/exchange \
--header 'Content-Type: application/json' \
--data '
{
"action": {
"data": {
"agent": "0x436e1aDF2A0fAe363aCc76dEce9b3b8CD5214D07",
"forAccount": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf",
"nonce": 1769690419983
},
"type": "revokeAgent"
},
"signature": "0x9df6a7188171428af1e04dd85b6655d4496bb3c70da084bbff422f77d47bc9e3...",
"nonce": 1769690419983
}
'{
"tx_hash": "0x2d4f742ea8900456ef9d1cf01c1c559199fb4139e662f3a635876d625e6b2a7d",
"tx_type": 1211,
"error": "",
"data": {},
"address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}Accounts
Revoke Agent
Send POST request to /exchange, or use the ExchangeClient SDKs.
POST
/
exchange
Revoke Agent
curl --request POST \
--url https://api.hotstuff.trade/exchange \
--header 'Content-Type: application/json' \
--data '
{
"action": {
"data": {
"agent": "0x436e1aDF2A0fAe363aCc76dEce9b3b8CD5214D07",
"forAccount": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf",
"nonce": 1769690419983
},
"type": "revokeAgent"
},
"signature": "0x9df6a7188171428af1e04dd85b6655d4496bb3c70da084bbff422f77d47bc9e3...",
"nonce": 1769690419983
}
'{
"tx_hash": "0x2d4f742ea8900456ef9d1cf01c1c559199fb4139e662f3a635876d625e6b2a7d",
"tx_type": 1211,
"error": "",
"data": {},
"address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}⌘I