Function helium_api::validators::rewards [−][src]
pub fn rewards(
client: &Client,
address: &str,
query: &QueryTimeRange
) -> Stream<Reward>
Expand description
Get rewards for a validator
Returns rewards for a given validator per reward block the validator is in,
for a given timeframe. QueryTimeRange contains the timestamps given in
4ISO 8601 format, or in relative time. The block that contains the max_time
timestamp is excluded from the result.