ping
The ping
command returns an acknowledgement, so that clients can test the connection status and latency.
Request Format
An example of the request format:
curl --location 'https://xrp.nownodes.io' \
--header 'Content-Type: application/json' \
--header 'api-key: API_KEY' \
--data '{
"method": "ping",
"params": [
{}
]
}'
The request includes no parameters.
Response Format
An example of a successful response:
{
"id": 1,
"result": {},
"status": "success",
"type": "response"
}
200 OK
{
"result": {
"status": "success"
}
}
The response follows the [standard format][], with a successful result containing no fields. The client can measure the round-trip time from request to response as latency.
Possible Errors
Any of the [universal error types][].
Last updated