Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeeResponse

Response expected from a FeeRequest.

Hierarchy

  • BaseResponse
    • FeeResponse

Index

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: { current_ledger_size: string; current_queue_size: string; drops: { base_fee: string; median_fee: string; minimum_fee: string; open_ledger_fee: string }; expected_ledger_size: string; ledger_current_index: number; levels: { median_level: string; minimum_level: string; open_ledger_level: string; reference_level: string }; max_queue_size: string }

Type declaration

  • current_ledger_size: string

    Number of transactions provisionally included in the in-progress ledger.

  • current_queue_size: string

    Number of transactions currently queued for the next ledger.

  • drops: { base_fee: string; median_fee: string; minimum_fee: string; open_ledger_fee: string }
    • base_fee: string

      The transaction cost required for a reference transaction to be included in a ledger under minimum load, represented in drops of XRP.

    • median_fee: string

      An approximation of the median transaction cost among transactions. Included in the previous validated ledger, represented in drops of XRP.

    • minimum_fee: string

      The minimum transaction cost for a reference transaction to be queued for a later ledger, represented in drops of XRP. If greater than base_fee, the transaction queue is full.

    • open_ledger_fee: string

      The minimum transaction cost that a reference transaction must pay to be included in the current open ledger, represented in drops of XRP.

  • expected_ledger_size: string

    The approximate number of transactions expected to be included in the current ledger. This is based on the number of transactions in the previous ledger.

  • ledger_current_index: number

    The Ledger Index of the current open ledger these stats describe.

  • levels: { median_level: string; minimum_level: string; open_ledger_level: string; reference_level: string }
    • median_level: string

      The median transaction cost among transactions in the previous validated ledger, represented in fee levels.

    • minimum_level: string

      The minimum transaction cost required to be queued for a future ledger, represented in fee levels.

    • open_ledger_level: string

      The minimum transaction cost required to be included in the current open ledger, represented in fee levels.

    • reference_level: string

      The equivalent of the minimum transaction cost, represented in fee levels.

  • max_queue_size: string

    The maximum number of transactions that the transaction queue can currently hold.

status?: string
type: string
warning?: "load"
warnings?: Warning[]

Generated using TypeDoc