Function getSignatureFromExtension

  • Name

    getSignatureFromExtension

    Summary

    Signs data using an injector extension. We recommand Polkadot extention.

    Parameters

    • signerAddress: string

      Account address that will sign the data.

    • injectorExtension: Record<string, any>

      The signer method retrived from your extension: object must have a signer key.

    • data: string

      Data to be signed.

    Returns Promise<undefined | string>

    Hex value of the signed data.

Generated using TypeDoc