Type Alias hedera::AccountStakersQuery

source ·
pub type AccountStakersQuery = Query<AccountStakersQueryData>;
Expand description

Get all the accounts that are proxy staking to this account. For each of them, give the amount currently staked.

Aliased Type§

struct AccountStakersQuery { /* private fields */ }

Implementations§

source§

impl AccountStakersQuery

source

pub fn get_account_id(&self) -> Option<AccountId>

Gets the account ID for which the records should be retrieved.

source

pub fn account_id(&mut self, id: AccountId) -> &mut Self

Sets the account ID for which the records should be retrieved.