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.

  • Example
    {
    "last_ledger": "28444678",
    "last_ledger_base_fee": "100",
    "ledger_capacity_usage": "0.2",
    "min_accepted_fee": "100",
    "mode_accepted_fee": "100",
    "p10_accepted_fee": "100",
    "p20_accepted_fee": "100",
    "p30_accepted_fee": "100",
    "p40_accepted_fee": "100",
    "p50_accepted_fee": "100",
    "p60_accepted_fee": "100",
    "p70_accepted_fee": "100",
    "p80_accepted_fee": "100",
    "p90_accepted_fee": "100",
    "p95_accepted_fee": "100",
    "p99_accepted_fee": "10000",
    "fee_charged": {
    "max": "100",
    "min": "100",
    "mode": "100",
    "p10": "100",
    "p20": "100",
    "p30": "100",
    "p40": "100",
    "p50": "100",
    "p60": "100",
    "p70": "100",
    "p80": "100",
    "p90": "100",
    "p95": "100",
    "p99": "100"
    },
    "max_fee": {
    "max": "16000",
    "min": "100",
    "mode": "100",
    "p10": "100",
    "p20": "100",
    "p30": "100",
    "p40": "100",
    "p50": "100",
    "p60": "100",
    "p70": "100",
    "p80": "100",
    "p90": "100",
    "p95": "100",
    "p99": "10000"
    }
    }