curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "all_agents",
"params": {
"user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
}'
[
{
"user": "0x9c296894119e0C254dA969c62C632594e0D37f02",
"agent_address": "0x1405d88BeA974d55e6816c63D28fBE68C30E4611",
"agent_name": "qr-code",
"created_at_block_timestamp": 1767858101958,
"valid_until_timestamp": 1783410089707
}
]Accounts
all_agents
Send POST request to /info with method: “all_agents”
POST
/
info
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "all_agents",
"params": {
"user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
}'
[
{
"user": "0x9c296894119e0C254dA969c62C632594e0D37f02",
"agent_address": "0x1405d88BeA974d55e6816c63D28fBE68C30E4611",
"agent_name": "qr-code",
"created_at_block_timestamp": 1767858101958,
"valid_until_timestamp": 1783410089707
}
]Retrieve information about all trading agents associated with the authenticated user account.
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "all_agents",
"params": {
"user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
}'
⌘I