Skip to content

How can I calculate transaction hash before broadcasting? #9

@Wangmmx

Description

@Wangmmx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions