Relative Content

Tag Archive for pythonasynchronousweb3py

Web3 Python async request for get_all_entries are failing

async_w3 = AsyncWeb3(AsyncWeb3.AsyncHTTPProvider(rpc)) async_contract = async_w3.eth.contract(address=ADDRESS, abi=ENV.TOKEN_ABI) async_contract.events.Transfer().create_filter(fromBlock=crawl_block-block_gap,toBlock=crawl_block ) total_supply = await async_contract.functions.totalSupply().call() data__ = await event_filter.get_all_entries() Errors : web3manager.py”, line 293, in formatted_response raise ValueError(error) ValueError: {‘code’: -32000, ‘message’: ‘filter not found’} I was aspecting a list [] as the result of get_all_entries python asynchronous web3py New contributor Ar Arefin is a new contributor […]