Skip to main content
Statistics for charged inclusion fees. The inclusion fee statistics are calculated from the inclusion fees that were paid for the transactions to be included onto the ledger. For Soroban transactions and Stellar transactions, they each have their own inclusion fees and own surge pricing. Inclusion fees are used to prevent spam and prioritize transactions during network traffic surge.

Params (0)

Result

(getFeeStatsResult)
object
Inclusion fee distribution statistics for Soroban transactions
object
Fee distribution statistics for Stellar (i.e. non-Soroban) transactions. Statistics are normalized per operation.
number
The sequence number of the latest ledger known to Stellar RPC at the time it handled the request.

Example

Example request to the getFeeStats method Request
Result

Using the Lab

You can view the current mainnet fee stats using mainnet.sorobanrpc.com, powered by Overcat’s RPC service, directly in the Stellar Laboratory. 👉 View Mainnet Fee Stats on the Lab Lab: Get Fee Stats