Constructors

Methods

  • Returns ZKsync Era EIP712 domain.

    Returns Record<string, string | number>

  • Hashes the transaction request using EIP712.

    Parameters

    • transaction: DeepWriteable<Transaction & {
          customData?: null | Eip712Meta;
          type?: Numbers;
      }>

      The transaction request that needs to be hashed.

    Returns Bytes

    A hash (digest) of the transaction request.

    If transaction.chainId is not set.