Skip to main content

The Fee Stats Object

When Horizon returns fee stats, it uses the format below.

Note: The fee_charged represents the actual fee paid for the transaction, while max_fee represents the maximum bid the transaction creator was willing to pay for the transaction.

  • ATTRIBUTEDATA TYPE

    DESCRIPTION

  • last_ledgerstring

    The last ledger's sequence number.

  • last_ledger_base_feestring

    The base fee as defined in the last ledger.

  • ledger_capacity_usagestring

    The average capacity usage over the last 5 ledgers (0 is no usage, 1.0 is completely full ledgers).

  • fee_chargedobject

    Information about the fee charged for transactions in the last 5 ledgers.

    Show child attributes
    • minstring

      Minimum fee charged over the last 5 ledgers.

    • modestring

      Mode fee charged over the last 5 ledgers.

    • p10string

      10th percentile fee charged over the last 5 ledgers.

    • p20string

      20th percentile fee charged over the last 5 ledgers.

    • p30string

      30th percentile fee charged over the last 5 ledgers.

    • p40string

      40th percentile fee charged over the last 5 ledgers.

    • p50string

      50th percentile fee charged over the last 5 ledgers.

    • p60string

      60th percentile fee charged over the last 5 ledgers.

    • p70string

      70th percentile fee charged over the last 5 ledgers.

    • p80string

      80th percentile fee charged over the last 5 ledgers.

    • p90string

      90th percentile fee charged over the last 5 ledgers.

    • p95string

      95th percentile fee charged over the last 5 ledgers.

    • p99string

      99th percentile fee charged over the last 5 ledgers.

  • max_feeobject

    Information about max fee bid for transactions over the last 5 ledgers.

    Show child attributes
    • minstring

      Minimum (lowest) value of the maximum fee bid over the last 5 ledgers.

    • modestring

      Mode max fee over the last 5 ledgers.

    • p10string

      10th percentile max fee charged over the last 5 ledgers.

    • p20string

      20th percentile max fee charged over the last 5 ledgers.

    • p30string

      30th percentile max fee charged over the last 5 ledgers.

    • p40string

      40th percentile max fee charged over the last 5 ledgers.

    • p50string

      50th percentile max fee charged over the last 5 ledgers.

    • p60string

      60th percentile max fee charged over the last 5 ledgers.

    • p70string

      70th percentile max fee charged over the last 5 ledgers.

    • p80string

      80th percentile max fee charged over the last 5 ledgers.

    • p90string

      90th percentile max fee charged over the last 5 ledgers.

    • p95string

      95th percentile max fee charged over the last 5 ledgers.

    • p99string

      99th percentile max fee charged over the last 5 ledgers.