Type Alias hedera::TokenInfoQuery

source ·
pub type TokenInfoQuery = Query<TokenInfoQueryData>;
Expand description

Gets information about Token instance.

Aliased Type§

struct TokenInfoQuery { /* private fields */ }

Implementations§

source§

impl TokenInfoQuery

source

pub fn get_token_id(&self) -> Option<TokenId>

Returns the token ID for which information is requested.

source

pub fn token_id(&mut self, id: impl Into<TokenId>) -> &mut Self

Sets the token ID for which information is requested.