bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class ETHSignatureProof

    ETHSignatureProof is used to represent an Ethereum signature proof. The ETH signature proof is used to prove that a specific nonce was signed by an Ethereum address.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    nonce: string

    The nonce that was signed. The signature scheme is ETHSign(nonce + "-" + creatorAddress).

    signature: string

    The Ethereum signature of the nonce.

    Methods

    • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

      If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

      Type Parameters

      Parameters

      • other: undefined | null | CustomType<U>
      • OptionalnormalizeNumberTypes: boolean

      Returns boolean