MempoolInfo

public struct MempoolInfo : Decodable

Mempool information returned by the server.

  • Total number of pending transactions in mempool.

    Declaration

    Swift

    public var total: Int
  • Array containing a subset of fee per byte buckets from [10000, 5000, 2000, 1000, 500, 200, 100, 50, 20, 10, 5, 2, 1, 0] that currently have more than one transaction.

    Declaration

    Swift

    public var buckets: [Int]
  • Number of transaction in the bucket. A transaction is assigned to the highest bucket of a value lower than its fee per byte value.

    Declaration

    Swift

    public var transactionsPerBucket: [Int : Int]
  • Declaration

    Swift

    public init(from decoder: Decoder) throws