0

ethers.utils.defaultAbiCoder.decode(['address'],'0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000124e6f206d61746368696e67206d6574686f640000000000000000000000000000');

result == [ [Getter] ]

result is error.. how do handle..

2
  • That data you are passing is way too big to be an abi.encoded address, do you have access the the signature of the function that was called with this data ?
    – hroussille
    Jan 1, 2023 at 14:49
  • try{ const a = deocde.. const b = JSON.stringify(a); // if error data . touch off catch }catch(e){} Jan 2, 2023 at 8:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.