vrypan |--o--|
@vrypan.eth
@horsefacts.eth, I'm trying to test a USDC approval tx on Base Sepolia, and I get: [Error] provider request error – Provider.UnsupportedMethodError: Farcaster Wallet does not support the requested method: eth_estimateGas Any ideas? What Am I doing wrong? (Using ethers)
1 reply
0 recast
3 reactions
horsefacts
@horsefacts.eth
we don't expose access to read methods from the provider, you need to use your own RPC to call these. Viem makes a distinction between "public" and "wallet" clients, but Ethers doesn't. we only support the "wallet" methods (unfortunately otherwise there is too much abuse of our "free" RPCs). if you're using Ethers, you probably need another Provider, or perhaps to configure your existing Provider to fall back to a public RPC.
1 reply
0 recast
5 reactions