0
Uncaught (in promise) 
{code: -32602, message: 'Invalid parameters: must provide an Ethereum address.'}
(anonymous) @   index.js:64
setTimeout (async)      
_fireError  @   index.js:63
o   @   index.js:539
a   @   util.js:689
T   @   util.js:666
m.run   @   browser.js:153
p   @   browser.js:123
setTimeout (async)      
u   @   browser.js:41
o.nextTick  @   browser.js:143
(anonymous) @   util.js:695
Promise.then (async)        
bound bound request @   util.js:694
f.send  @   index.js:155
s   @   index.js:615
(anonymous) @   index.js:638
Promise.then (async)        
n   @   index.js:624
b._executeMethod    @   index.js:840
(anonymous) @   index.html:173
1
  • There isn't enough information to provide a fix, can you include the code that causes the error?
    – Ismael
    Oct 18 '21 at 6:04
0

make sure you are providing a correct ethereum address, you can use web3 to check if the parameter is an address or not.

web3.utils.isAddress(address) 

paste your code for better answers!

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.