Skip to main content

server_info RPC Method

Asks the server for a human-readable version of various information about the Clio server being queried

Updated on
Oct 4, 2023

server_info RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
An object which contains the following fields:
info
object
The details of the server information which include following fields:
complete_ledgers
string
It is a range expression which indicate the sequence numbers of the ledger versions
load_factor
integer
It is the load-scaled open ledger transaction cost the server is currently enforcing
clio_version
string
The version of the clio software running on the server
validation_quorum
integer
The minimum number of trusted validations required to validate a ledger version
rippled_version
string
The version of the rippled software running on the server
validated_ledger
object
The Information about the most recent fully-validated ledger which contains the following fields:
age
integer
The time since the ledger was closed, in seconds
hash
string
The unique hash for the ledger, as hexadecimal
seq
integer
The ledger index of the latest validated ledger
base_fee_xrp
integer
The base fee for transactions in drops of XRP
reserve_base_xrp
integer
The minimum amount of XRP (not drops) necessary for every account to keep in reserve
reserve_inc_xrp
integer
The amount of XRP (not drops) added to the account reserve for each object an account owns in the ledger
cache
object
The server cache object which contains the following fields:
size
integer
The size of the cache in bytes
is_full
boolean
It indicates whether the cache is full
latest_ledger_seq
integer
The sequence number of the latest ledger stored in the cache
object_hit_rate
integer
The hit rate of cached objects
successor_hit_rate
integer
The hit rate of cached successor objects
validated
boolean
It indicates whether the result has been validated
status
string
The status of the request
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": "server_info",
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