argentlabs / web3.swift

Ethereum Swift API with support for smart contracts, ENS & ERC20
MIT License
668 stars 168 forks source link

Error in getLogs #366

Closed ismail9001 closed 5 months ago

ismail9001 commented 5 months ago

When I'm trying get all events by address in Polygon

let eventsResult = try await client.getLogs(addresses: [EthereumAddress("0x5ef8fdb84684ed567cc9cabdbb521c727bd01290")],
                                                        topics: .none,
                                                        fromBlock: .Earliest,
                                                        toBlock: .Latest)

I caught unexpectedReturnValue