xrp

XRP (XRP)

Method: POST server_info

dropdown
POST

server_info

The server_info command asks the server for a human-readable version of various information about the rippled server being queried.

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": "server_info",
"params": [{}],
"id": "getblock.io"}'


Response

{
    "result": {
        "info": {
            "build_version": "1.6.0",
            "complete_ledgers": "63648676-63648984",
            "hostid": "GASH",
            "io_latency_ms": 1,
            "jq_trans_overflow": "2298",
            "last_close": {
                "converge_time_s": 3,
                "proposers": 37
            },
            "load_factor": 1,
            "peer_disconnects": "144",
            "peer_disconnects_resources": "4",
            "peers": 10,
            "pubkey_node": "n9JtcDBjQnJPcfznXbvvWaahuFJLrVTa3PHZQHJppukV3HYstnWg",
            "server_state": "full",
            "server_state_duration_us": "82823819702",
            "state_accounting": {
                "connected": {
                    "duration_us": "253254127",
                    "transitions": 10
                },
                "disconnected": {
                    "duration_us": "726410366",
                    "transitions": 2
                },
                "full": {
                    "duration_us": "7863372585616",
                    "transitions": 19
                },
                "syncing": {
                    "duration_us": "26368737",
                    "transitions": 12
                },
                "tracking": {
                    "duration_us": "20996466",
                    "transitions": 21
                }
            },
            "time": "2021-May-18 09:43:05.622711 UTC",
            "uptime": 7864399,
            "validated_ledger": {
                "age": 4,
                "base_fee_xrp": 1e-05,
                "hash": "64399457033EABFB777BDCC1928D633520CB27B46FF88D9E6C431DD68FCE8F1A",
                "reserve_base_xrp": 20,
                "reserve_inc_xrp": 5,
                "seq": 63648984
            },
            "validation_quorum": 30
        },
        "status": "success"
    }
}