Polkadot Apps
    Preparing search index...
    StatementSigner: (message: Uint8Array) => Uint8Array | Promise<Uint8Array>

    A function that signs a message with an Sr25519 key.

    Takes the signature material bytes and returns a 64-byte Sr25519 signature. May be synchronous or asynchronous (e.g., when signing via a hardware wallet).

    Type Declaration

      • (message: Uint8Array): Uint8Array | Promise<Uint8Array>
      • Parameters

        • message: Uint8Array

        Returns Uint8Array | Promise<Uint8Array>