I have a write function to add an array of addresses, I put for example this:


And the polygon scan (not metamask), says this error:

invalid address (arg="addresses", coderType="address", value="0xddC5f73aB04FbcE9fF79AA07D0A4196BD0285f46"")

Check how it adds at and a " at the end. Any ideas what is happening? All the other write functions work.


  • It seems to be a bug in polygonscan.
    – Ismael
    Nov 15 '21 at 2:46
  • And what is my recourse?, to interact with the contract from Remix? Nov 15 '21 at 12:56
  • You could report to polygonscan support and wait for it to fix it, or use another wallet that support interacting with a contract. I think MyEtherWallet does support, but I'm not sure if they support polygon network, another alternative is using Remix+Metamask.
    – Ismael
    Nov 15 '21 at 14:15

Your argument is valid, try to submit the tx with ethersjs or web3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.