pub struct Hotspot {Show 15 fields
pub address: String,
pub owner: String,
pub name: Option<String>,
pub added_height: Option<u64>,
pub lat: Option<f64>,
pub lng: Option<f64>,
pub location: Option<String>,
pub mode: HotspotStakingMode,
pub elevation: Option<i32>,
pub gain: Option<Dbi>,
pub geocode: Geocode,
pub nonce: u64,
pub speculative_nonce: u64,
pub reward_scale: Option<f64>,
pub status: Status,
}
Fields§
§address: String
The address of the hotspots. This is the public key in base58 check-encoding of the hotspot.
owner: String
The hotspot owner wallet address
name: Option<String>
The “animal” name of the hotspot. The name can be None
for
some API endpoints.
added_height: Option<u64>
The block height when the hotspot was added to the blockchain
lat: Option<f64>
The last asserted latitude of the hotspot
lng: Option<f64>
The last asserted longitude of the hotspot
location: Option<String>
The h3 index based on the lat/lon of the hotspot is used for PoC challenges.
mode: HotspotStakingMode
The mode in which the hotspots was added to the network.
elevation: Option<i32>
The elevation (in meters) above or belowo sea level
gain: Option<Dbi>
The gain (in dbi) above or belowo sea level
geocode: Geocode
The geocode information for the hotspot location
nonce: u64
The current nonce for the hotspot
speculative_nonce: u64
The speculative nonce for the hotspot. This field is only meaningful when a single hotspot is requested
reward_scale: Option<f64>
The current reward scale for the hotspot
status: Status
The current status for the hotspot