Developers Forum for XinFin XDC Network

ncode
ncode

Posted on • Updated on

[WIP] multicall3 not working

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.
Image description
This is the rpc call happening:
Image description

This is my code:
https://github.com/nitishpatel/random/blob/b5e1886ac510ade292a2120df62423bcf0d850cb/react/web3onboard-example/src/store/hooks/useTransaction.ts#L37

Discussion (3)

Collapse
ncode profile image
ncode Author

@mitali_blocksscan Any luck fixing it?

Collapse
ncode profile image
ncode Author

Hey, @mitali_blocksscan Thanks for looking into it! Any luck fixing it?

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hey @ncode
Please give us sometime we are rectifying the issue will let you know