Skip to content
Discussion options

You must be logged in to vote

This is (as you said) almost always caused by passing in the wrong type of ABI. Can you do a console.log(Array.isArray(abi), abi)? Usually ABI fragments spit out by tools include an objects whose keys are the name of the contract and whose values are the actual ABI.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@ricmoo
Comment options

@ricmoo
Comment options

@Xaniven
Comment options

@Xaniven
Comment options

@ricmoo
Comment options

Answer selected by Xaniven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants