Closed forgetso closed 2 years ago
This allows the contract history to be queried via redspot.
atBlock can be specified as an optional parameter to a contractQuery function as follows.
atBlock
contractQuery
const query = !atBlock ? signedContract.query[contractMethodName] : signedContract.queryAt(atBlock, signedContract.abi.findMessage(contractMethodName)) const response = await query(...encodedArgs)
This is a code extract from here.
add queryAt
rename _call to _contractCallFn
Thanks for merging!
This allows the contract history to be queried via redspot.
atBlock
can be specified as an optional parameter to acontractQuery
function as follows.This is a code extract from here.
add queryAt
rename _call to _contractCallFn