Developers Forum for XinFin XDC Network

Daniel047
Daniel047

Posted on • Updated on

[Closed]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();
console.log(receipt);

Screenshot of an error with address returned

Discussion (4)

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hello,

We hope that the above issue is resolved, if the issue is still persist then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.

Thank You

Collapse
jay_kulkarni_842b41d81b23 profile image
Jay_Blocksscan

Hello @daniel047

Since we haven’t received any response from your side , we are closing the issue as it appears to be resolved. If you still have the issue, please feel free to reopen it.
Thank you!

Collapse
anilchinchawale profile image
AnilChinchawale • Edited on

I would suggest you to use apothem.xdcrpc.com in metamask or XDCPay.