banteg / multicall.py

aggregate results of multiple smart contract calls into one
MIT License
246 stars 106 forks source link

Is there a way to make this work with remote Infura nodes? #29

Closed seanroades closed 2 years ago

seanroades commented 2 years ago

I'm just confused about how the provider is detected here--I think the project is great btw!

seanroades commented 2 years ago

Or I guess, how do I pass my web3 instance to this?

seanroades commented 2 years ago

Could not discover provider while making request: method:eth_chainId params:() <- this is the error I'm getting

heki-ru commented 2 years ago

Multicall(calls_list, _w3=web3)() ....................................................^ your web3 instance

BobTheBuidler commented 2 years ago

Closing this issue as help as been provided by @heki-ru . Thanks heki!