web3dart
web3dart copied to clipboard
How to set a timeout for Web3Client?
Client httpClient = Client(); Web3Client ethClient = Web3Client(rpcUrl, httpClient);
If i turn Ganache off, ethClient.call takes a huge ammount of time to return. Is there a way to set a timeout?
try https://pub.dev/packages/http_retry it has a timeout parameter