Function snip1155_reference_impl::state::txhistory::get_txs
source · pub fn get_txs(
api: &dyn Api,
storage: &dyn Storage,
address: &CanonicalAddr,
page: u32,
page_size: u32
) -> StdResult<(Vec<Tx>, u64)>Expand description
Returns StdResult<(Vec
Arguments
api- a reference to the Api used to convert human and canonical addressesstorage- a reference to the contract’s storageaddress- a reference to the address whose txs to displaypage- page to start displayingpage_size- number of txs per page