helium-api 3.3.1

An async library for the Helium blockchain REST API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::models::Usd;
use serde::{Deserialize, Serialize};

#[derive(Clone, Serialize, Deserialize, Debug)]
pub struct PriceOracleV1 {
    pub fee: u64,
    pub hash: String,
    #[serde(deserialize_with = "Usd::deserialize")]
    pub price: Usd,
    pub public_key: String,
    pub block_height: u64,
}