Skip to content
Discussion options

You must be logged in to vote

Hello @johnBlockchain9688 !

Sorry for the late answer, I'm mostly AFK at the moment ...

About your issue: you're trying to decode a transaction hash, not a transaction input data.
0xb8338f24a98c9699ac4060c630dc8678be8894c16d3f86d5be3bd52ec8f8b170 is the transaction hash.

You have 2 options:

  • using this transaction hash, you need to call codec.decode.transaction(trx_hash), see the doc here
  • or, using the actual input data (you can find it on Etherscan or use the web3.py method get_transaction()), you can call codec.decode.function_input(trx_input) like you tried to do.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Elnaril
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 #101 on July 07, 2025 12:26.