pub struct PriorityFees {Show 18 fields
pub slot: u64,
pub timestamp_ms: u64,
pub recommended: u64,
pub state: NetworkState,
pub is_stale: bool,
pub swap_p50: u64,
pub swap_p75: u64,
pub swap_p90: u64,
pub swap_p99: u64,
pub swap_samples: u32,
pub landing_p50_fee: u64,
pub landing_p75_fee: u64,
pub landing_p90_fee: u64,
pub landing_p99_fee: u64,
pub top_10_fee: u64,
pub top_25_fee: u64,
pub spike_detected: bool,
pub spike_fee: u64,
}Expand description
Priority fee recommendations from K256.
Fields§
§slot: u64Current Solana slot
timestamp_ms: u64Unix timestamp in milliseconds
recommended: u64Recommended fee in microlamports per CU
state: NetworkStateNetwork congestion state
is_stale: boolWhether data may be stale
swap_p50: u6450th percentile swap fee (≥50K CU txns)
swap_p75: u6475th percentile swap fee
swap_p90: u6490th percentile swap fee
swap_p99: u6499th percentile swap fee
swap_samples: u32Number of samples used
landing_p50_fee: u64Fee to land with 50% probability
landing_p75_fee: u64Fee to land with 75% probability
landing_p90_fee: u64Fee to land with 90% probability
landing_p99_fee: u64Fee to land with 99% probability
top_10_fee: u64Fee at top 10% tier
top_25_fee: u64Fee at top 25% tier
spike_detected: boolTrue if fee spike detected
spike_fee: u64Fee during spike condition
Trait Implementations§
Source§impl Clone for PriorityFees
impl Clone for PriorityFees
Source§fn clone(&self) -> PriorityFees
fn clone(&self) -> PriorityFees
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PriorityFees
impl Debug for PriorityFees
Source§impl<'de> Deserialize<'de> for PriorityFees
impl<'de> Deserialize<'de> for PriorityFees
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PriorityFees
impl PartialEq for PriorityFees
Source§impl Serialize for PriorityFees
impl Serialize for PriorityFees
impl Copy for PriorityFees
impl Eq for PriorityFees
impl StructuralPartialEq for PriorityFees
Auto Trait Implementations§
impl Freeze for PriorityFees
impl RefUnwindSafe for PriorityFees
impl Send for PriorityFees
impl Sync for PriorityFees
impl Unpin for PriorityFees
impl UnwindSafe for PriorityFees
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more