announce leftannounce right

🐯 Start a Lunar New Year with Our Biggest Sale on Dedicated & Shared Nodes!

xrp

XRP (XRP)

Method: POST fee

dropdown
POST

fee

The fee command reports the current state of the open-ledger requirements for the transaction cost.

This requires the FeeEscalation amendment to be enabled.

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


Response

{
    "result": {
        "current_ledger_size": "92",
        "current_queue_size": "0",
        "drops": {
            "base_fee": "10",
            "median_fee": "5000",
            "minimum_fee": "10",
            "open_ledger_fee": "10"
        },
        "expected_ledger_size": "102",
        "ledger_current_index": 63648985,
        "levels": {
            "median_level": "128000",
            "minimum_level": "256",
            "open_ledger_level": "256",
            "reference_level": "256"
        },
        "max_queue_size": "2040",
        "status": "success"
    }
}
close

Getblock

Spring Festival Sale!
Up to 50% Off.