pub struct StakePoolStats {
pub aggregated_mev_rewards: u64,
pub mev_rewards: Vec<TimeSeriesData<u64>>,
pub tvl: Vec<TimeSeriesData<u64>>,
pub apy: Vec<TimeSeriesData<f64>>,
pub num_validators: Vec<TimeSeriesData<u64>>,
pub supply: Vec<TimeSeriesData<f64>>,
}Expand description
Stake pool statistics response
Fields§
§aggregated_mev_rewards: u64Total aggregated MEV rewards across all time periods (lamports)
mev_rewards: Vec<TimeSeriesData<u64>>Time series data of MEV rewards
tvl: Vec<TimeSeriesData<u64>>Time series data of Total Value Locked (lamports)
apy: Vec<TimeSeriesData<f64>>Time series data of Annual Percentage Yield (decimal, e.g., 0.07 = 7%)
num_validators: Vec<TimeSeriesData<u64>>Time series data of validator count
supply: Vec<TimeSeriesData<f64>>Time series data of JitoSOL token supply
Trait Implementations§
Source§impl Clone for StakePoolStats
impl Clone for StakePoolStats
Source§fn clone(&self) -> StakePoolStats
fn clone(&self) -> StakePoolStats
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 StakePoolStats
impl Debug for StakePoolStats
Source§impl<'de> Deserialize<'de> for StakePoolStats
impl<'de> Deserialize<'de> for StakePoolStats
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
Auto Trait Implementations§
impl Freeze for StakePoolStats
impl RefUnwindSafe for StakePoolStats
impl Send for StakePoolStats
impl Sync for StakePoolStats
impl Unpin for StakePoolStats
impl UnwindSafe for StakePoolStats
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