xrp

XRP (XRP)

Method: POST ping

dropdown
POST

ping

ping 命令返回一个确认,以便客户端可以测试连接状态和延迟。

Parameters

-

Request

curl --location --request POST 'https://xrp.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": {
        "status": "success"
    }
}