-
hello, can I get any help from here? I used the your example in sell_token.py, but it keep report this error below. ValueError: {'code': -32000, 'message': 'invalid sender'} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Hello @whlustb Are you sure this error is raised by the code you mentioned? This error ( I confirm your first code snippet is correct (though it also depends on the variable values), while the second one is not (should be payer_is_sender=False) Hope it helps! |
Beta Was this translation helpful? Give feedback.
To summarize, and to answer the initial question (
ValueError: {'code': -32000, 'message': 'invalid sender'}
), the issue was caused by a wrongchainId
in the transaction parameters.