The Ably Websocket API is being deprecated on July 1, 2026. See the migration guide →
curl --request POST \
--url https://api.sx.bet/heartbeatCancel a registered heartbeat
curl --request POST \
--url https://api.sx.bet/heartbeatTo cancel a registered heartbeat, you may use the same request to register a heartbeat but useDocumentation Index
Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
Use this file to discover all available pages before exploring further.
timeoutSeconds=0. This will deactivate the heartbeat and orders will NOT be cancelled automatically.
curl --location --request POST 'https://api.sx.bet/heartbeat' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <YOUR-API-KEY>' \
--data-raw '{
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 0
}'
{
"status": "success",
"data": {
"requestor": "<YOUR-ACCOUNT-ADDRESS>",
"timeoutSeconds": 0,
"expiresAt": "2024-11-12T14:35:06.614Z"
}
}