- Notifications
You must be signed in to change notification settings - Fork 487
Closed
Labels
bugSomething isn't workingSomething isn't working💸 gitcoin-bountyEarn money by helping with this issue!Earn money by helping with this issue!
Description
guard let provider = InfuraWebsocketProvider.connectToInfuraSocket(.Mainnet, delegate: spyDelegate) else {print("provider error!"); return}
self.socketProvider = provider
do {
try self.socketProvider!.subscribeOnLogs(addresses: [EthereumAddress("0x6B175474E89094C44Da98b954EedeAC495271d0F")!], topics: ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"])
}catch{
self.socketProvider!.disconnectSocket()
print("catch websocket: (error)")
}
i tried to subscribe on logs of this smart-contract and socket connected but i don't get any thing in didReceive delegate method !!!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working💸 gitcoin-bountyEarn money by helping with this issue!Earn money by helping with this issue!