Hi,
I am using web3onboard with wagmi to interact with smart contracts on the XDC Apothem Network.
I am using a readContract
Method from wagmi.
https://wagmi.sh/core/api/actions/readContract
It seems to use multicall under the hood, which is giving error.
This is the rpc call happening:
This is my code:
https://github.com/nitishpatel/random/blob/b5e1886ac510ade292a2120df62423bcf0d850cb/react/web3onboard-example/src/store/hooks/useTransaction.ts#L37
Discussion (4)
@mitali_blocksscan Any luck fixing it?
Hey, @mitali_blocksscan Thanks for looking into it! Any luck fixing it?
xdc.dev/0xbeny/multicall-contract-...
Pls check the updated section for temporary fix. we'll make a PR on viem/chain package to replace the addresses in some time.
Hey @ncode
Please give us sometime we are rectifying the issue will let you know