⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!

dash

Dash (DASH)

Method: POST ping

dropdown
POST

ping

Method not allowed

Sends a P2P ping message to all connected nodes to measure ping time. Results are provided by the getpeerinfo RPC pingtime and pingwait fields as decimal seconds.

The P2P ping message is handled in a queue with all other commands, so it measures processing backlog, not just network ping.

Parameters

-

Request

curl --location --request POST 'https://dash.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"
}