pub fn balance_query<Q: Querier>(
    querier: &Q,
    address: HumanAddr,
    key: String,
    block_size: usize,
    callback_code_hash: String,
    contract_addr: HumanAddr
) -> StdResult<Balance>
Expand description

Returns a StdResult from performing Balance query

Arguments

  • querier - a reference to the Querier dependency of the querying contract
  • address - the address whose balance should be displayed
  • key - String holding the authentication key needed to view the balance
  • block_size - pad the message to blocks of this size
  • callback_code_hash - String holding the code hash of the contract being queried
  • contract_addr - address of the contract being queried