I am trying to call contract method with MetaMask with parameters by scanning QR code. I know it was discussed
I am trying to generate a QR code to my contract method with pre filled fields in data. I am doing it in wagmi, the example data for Sepolia Eth is here. MetaMask on mobile opens up, screen shows “Transaction is likely to fail”, well not surprised since the data field is empty (shows 0x). Is there anything I am missing ? Is the format wrong? I tried also via eip681-link-generator/# - same effect.
ethereum:0x01B463cAb209f0C14cF951cF36580CF3953fdA2D@11155111?value=0&data=0xb6cec2250000000000000000000000000000000000000000000000000000000000000060000000000000000000000000f986059d0dc188122c4760d1f5c7a96269e94fcc00000000000000000000000000000000000000000000000000000000001c3a90000000000000000000000000000000000000000000000000000000000000002439343162383061312d613564312d346461342d386130372d39656237306432383064366200000000000000000000000000000000000000000000000000000000