How to call the method like 0x0eb0d6a5 in web3.py? Seems like it is function name but is it different when calling function name?

1 Answer 1


0x0eb0d6a5 looks like a function selector. You can use Contract.get_function_by_selector() to fetch this function using the selector.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.