We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should be possible to make a call to a contract at a specific block height.
web3.py exposes this through a block_identifier kwarg:
web3.py
block_identifier
Eth.call(transaction, block_identifier=web3.eth.defaultBlock)
In keeping with familiar syntax, I think adding the kwarg to the tx params makes sense:
Token.balanceOf(accounts[0], {'block_identifier': web3.eth.defaultBlock})
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Overview
It should be possible to make a call to a contract at a specific block height.
web3.py
exposes this through ablock_identifier
kwarg:Specification
In keeping with familiar syntax, I think adding the kwarg to the tx params makes sense:
The text was updated successfully, but these errors were encountered: