Register heartbeat
curl --request POST \
--url https://api.sx.bet/heartbeat \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10
}
'{
"status": "success",
"data": {
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10,
"expiresAt": "2024-11-12T14:35:06.614Z"
}
}Heartbeat
Register Heartbeat
Register or refresh a heartbeat to auto-cancel orders on connectivity loss.
POST
/
heartbeat
Register heartbeat
curl --request POST \
--url https://api.sx.bet/heartbeat \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10
}
'{
"status": "success",
"data": {
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 10,
"expiresAt": "2024-11-12T14:35:06.614Z"
}
}Authorizations
Body
application/json
Last modified on April 14, 2026
⌘I
