Skip to main content

ping RPC Method

Returns an acknowledgement to clients, allowing them to test the connection status and measure latency

Updated on
Oct 4, 2023

ping RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
An object which contains the following fields:
status
string
The status of the ping request, indicating the connectivity and responsiveness of the server
warnings
array
An array of warning objects, each containing the following fields:
id
integer
The ID of the warning
message
string
The warning message
Request
1
curl https://docs-demo.xrp-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "ping",
6
"params": [{}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free