Skip to content

TypedDataEncoder.getTypeHash() #5036

@wjmelements

Description

@wjmelements

Describe the Feature

I want a helper in TypedDataEncoder that computes the typehash from the types. It's an unexpected omission but I don't see it among the methods in the docs.

Code Example

const typeHash = TypedDataEncoder.getTypeHash(types)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions