solana-resilience-kit - v1.0.0
    Preparing search index...

    Class NativeFeeOracle

    Native estimate from getRecentPrioritizationFees over recent slots.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Derives micro-lamports-per-CU percentiles from the cluster's recent prioritization-fee samples (getRecentPrioritizationFees). This is the free, backward-looking source: the node returns the smallest fee paid by a landed tx per recent slot. We sort the samples and pick percentiles by nearest-rank so the levels are monotonic.

      Parameters

      • writableAccounts: string[]

      Returns Promise<PriorityFeeEstimate>