Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I calculate transaction hash before broadcasting? #9

Open
Wangmmx opened this issue Jun 8, 2022 · 0 comments
Open

How can I calculate transaction hash before broadcasting? #9

Wangmmx opened this issue Jun 8, 2022 · 0 comments

Comments

@Wangmmx
Copy link

Wangmmx commented Jun 8, 2022

Hi, I got the signed transaction and sent it successfully, but I want to calculate the hash in advance, Is there a way to do that? I tried tx.hash() but got the different hash, and also I used the rlp encode myself, but got the different one either, could you please help me with this? some js-code would be fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Wangmmx and others