ping
Returns an acknowledgement, so that clients can test the connection status and latency.
This method will use 20 Compute Units.
Reference: Here
Parameters
None
Returns
A successful result contains no fields other than
status. Measure the round-trip time from request to response as latency.
// Result
{
"result": {
"status": "success"
}
}curl https://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"ping","params":[{}]}'Over WebSocket, send {"id":1,"command":"ping"} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.
Last updated
Was this helpful?