xrp

XRP (XRP)

Method: POST fee

dropdown

POST fee

费用命令报告交易成本的公开分类帐要求的当前状态。

这需要启用费用升级修正。

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"
    }
}