Skip to content

Error parsing erc20 event log #4045

Answered by ricmoo
ssadler asked this question in Q&A
May 14, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

The log is incorrect for the ABI. The abi indicates Transfer(address indexed, address indexed, uint) but the log is for Transfer(address indexed, address indexed, uint indexed).

My guess is you are using the ERC-20 ABI for an ERC-721 contract.

Try updating the ABI to use ERC-721 and this log should parse fine. :)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ricmoo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ssadler
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
Converted from issue

This discussion was converted from issue #4044 on May 14, 2023 12:31.