⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST ping

dropdown

方法 RPC ping 例如 Bitcoin Gold (BTG)

POST ping

Method not allowed

要求将ping发送到所有其他节点,以测量ping时间。

GetPeerInfo,Pingtime和Pingwait领域提供的结果为十进制秒。

ping命令与所有其他命令一起在队列中处理,因此它测量了处理积压,而不仅仅是网络ping。

Parameters

-

Request

curl --location --request POST 'https://btg.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "ping",
"params": [],
"id": "getblock.io"}'


Response

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