pub fn transaction_history_query<Q: Querier>(
    querier: &Q,
    address: HumanAddr,
    viewing_key: String,
    page: Option<u32>,
    page_size: Option<u32>,
    block_size: usize,
    callback_code_hash: String,
    contract_addr: HumanAddr
) -> StdResult<TransactionHistory>
Expand description

Returns a StdResult<TransactionHistory> from performing TransactionHistory query

Arguments

  • querier - a reference to the Querier dependency of the querying contract
  • address - the address whose transaction history should be displayed
  • viewing_key - String holding the authentication key needed to view transactions
  • page - Optional u32 representing the page number of transactions to display
  • page_size - Optional u32 number of transactions to return
  • 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