pub async fn query_balance(
    rpc_id: JsonRpcId,
    node_address: &str,
    verbosity: Verbosity,
    maybe_global_state_identifier: Option<GlobalStateIdentifier>,
    purse_identifier: PurseIdentifier
) -> Result<SuccessResponse<QueryBalanceResult>, Error>
Expand description

Retrieves a purse’s balance from global state at a given Block or state root hash.

Sends a JSON-RPC query_balance request to the specified node.

For details of the parameters, see the module docs.