Developers Forum for XinFin XDC Network


Posted on

Address returned from apothem RPC has xdc prefix instead of 0x

I am using ethers for interacting with smart contracts deployed on XDC. The smart contract's function is executed correctly but when I am trying to use correct code to show receipt of minted tx it fails because of error from the scrrenshot below.
let receipt = await tx.wait();

Screenshot of an error with address returned

Discussion (2)

anilchinchawale profile image
AnilChinchawale • Edited on

I would suggest you to use in metamask or XDCPay.