You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not 100% sure as I've yet to test it out but I think the type 'ContractCallOverrides' is missing a property for ethers_v5.
According to documentation there should also be a property 'blockTag' in the overrides, which allows querying data from a specific block (if your endpoint allows it).
So for example querying a balance could look like this:
Nice! Think I need to upgrade to latest ethers as some other stuff is not pulled though in the typings.. FYI that call would work the typings are just missing I will sort thanks for raising
hey bud,
first off - big fan, great project.
Not 100% sure as I've yet to test it out but I think the type 'ContractCallOverrides' is missing a property for ethers_v5.
According to documentation there should also be a property 'blockTag' in the overrides, which allows querying data from a specific block (if your endpoint allows it).
So for example querying a balance could look like this:
const balance = await token.balanceOf('0xSuperGreatAddress', { blockTag: 12345 })
The text was updated successfully, but these errors were encountered: