Categories
Cryptocurrency Development Ethereum

Error trying to get events in web3.py via Infura

I was trying to get all events from my smart contract (in Ropsten) via Infura node. The problem is that I know that Infura does no support creating filters, but I dont know how to get events by other way. This is my method: def tx_resource_smart_contract_history(): contract = wb3.eth.contract( address=config.audablok_contract_address, abi=get_abi_audablok() ) event_filter = contract.events.SmartContractInfoEvent.createFilter(fromBlock=’latest’) […]