Struct helium_api::models::Reward [−][src]
pub struct Reward {
pub account: String,
pub amount: Hnt,
pub block: i64,
pub gateway: String,
pub hash: String,
pub timestamp: DateTime<Utc>,
}Expand description
Reward for validator
Fields
account: StringThe owner address is the base58 check-encoded public key of the owner’s wallet address.
amount: HntThe reward amount.
block: i64The block the reward was earned in.
gateway: StringThe validator address is the base58 check-encoded public key of the validator.
hash: StringThe transaction hash of the reward.
timestamp: DateTime<Utc>The timestamp of the rewards.
Trait Implementations
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 RefUnwindSafe for Rewardimpl UnwindSafe for RewardBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more