fee RPC Method
Parameters
object
object
REQUIRED
Loading...
Returns
result
object
Loading...
current_ledger_size
string
Loading...
current_queue_size
string
Loading...
drops
object
Loading...
base_fee
string
Loading...
median_fee
string
Loading...
minimum_fee
string
Loading...
open_ledger_fee
string
Loading...
expected_ledger_size
string
Loading...
ledger_current_index
integer
Loading...
levels
object
Loading...
median_level
string
Loading...
minimum_level
string
Loading...
open_ledger_level
string
Loading...
reference_level
string
Loading...
max_queue_size
string
Loading...
status
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "fee",6"params": [7null8],9"id": 110}'
1curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "fee",6"params": [7null8],9"id": 110}'
Response
1{2"result": {3"current_ledger_size": "155",4"current_queue_size": "0",5"drops": {6"base_fee": "10",7"median_fee": "5000",8"minimum_fee": "10",9"open_ledger_fee": "10"10},11"expected_ledger_size": "426",12"ledger_current_index": 102609805,13"levels": {14"median_level": "128000",15"minimum_level": "256",16"open_ledger_level": "256",17"reference_level": "256"18},19"max_queue_size": "8520",20"status": "success"21},22"status": "success",23"type": "response",24"forwarded": true,25"warnings": [26{27"id": 2001,28"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"29}30]31}
1{2"result": {3"current_ledger_size": "155",4"current_queue_size": "0",5"drops": {6"base_fee": "10",7"median_fee": "5000",8"minimum_fee": "10",9"open_ledger_fee": "10"10},11"expected_ledger_size": "426",12"ledger_current_index": 102609805,13"levels": {14"median_level": "128000",15"minimum_level": "256",16"open_ledger_level": "256",17"reference_level": "256"18},19"max_queue_size": "8520",20"status": "success"21},22"status": "success",23"type": "response",24"forwarded": true,25"warnings": [26{27"id": 2001,28"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"29}30]31}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free