FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST send_alert
Method not allowed
Sends an alert.
alert
- alert
alert object in format of:
- id - alertID - alert id
- cancel - alertID - cancel previous sent alert
- min_version - string | null - Optionally set the minimal version of the target clients.
- max_version - string | null - Optionally set the maximal version of the target clients.
- priority - alertPriority - alerts are sorted by priority, highest first
- message - string - alert message
- notice_until - timestamp - the alert is expired after this timestamp
- signature - array of jsonBytes - The list of required signatures. AlertID and alertPriority are 32-bit unsigned integer types encoded as the 0x-prefixed hex string in JSON
curl --location --request POST 'https://ckb.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "send_alert", "params": [null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }