Interface RecoverPublicKeyOptions

Hierarchy

  • RecoverPublicKeyOptions

Properties

compressed?: boolean

Boolean to define if the public key should be compressed or not. It is true by default

transformSignature?: ((signatureData: string) => Promise<string>)

Type declaration

    • (signatureData: string): Promise<string>
    • Asynchronous function to transform the signature before calculating the public key associated. This transformation is useful in cases were the signature contains additional data. For instance, the signatures for blocks in the PoW consensus algorithm contain the nonce.

      Parameters

      • signatureData: string

      Returns Promise<string>

Generated using TypeDoc