📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

/

Nervos Network (CKB)

ckb
Nervos Network (CKB)

Method: POST sync_state

dropdown

方法 RPC sync_state 例如 Nervos Network (CKB)

POST sync_state

Method not allowed

返回该节点的链同步状态。

Parameters

-

Request

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": "sync_state",
"params": [],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}