Skip to main content

Reference / Modules / client / KeyringSigner

Class: KeyringSigner

client.KeyringSigner

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new KeyringSigner(keyring, signAndSendStrategy?): KeyringSigner

Parameters

NameType
keyringKeyring
signAndSendStrategy?SignAndSendStrategy

Returns

KeyringSigner

Overrides

BaseSigner.constructor

Defined in

packages/client/src/Signer.ts:191

Properties

keyring

Private keyring: Keyring

Defined in

packages/client/src/Signer.ts:196

Methods

buildAttributes

buildAttributes(parameters): string[]

Parameters

NameType
parametersSignRawParameters

Returns

string[]

Inherited from

BaseSigner.buildAttributes

Defined in

packages/client/src/Signer.ts:108


buildMessage

buildMessage(parameters): string

Parameters

NameType
parametersSignRawParameters

Returns

string

Inherited from

BaseSigner.buildMessage

Defined in

packages/client/src/Signer.ts:104


buildSignAndSendFunction

buildSignAndSendFunction(parameters): Promise<SignAndSendFunction>

Parameters

NameType
parametersSignParameters

Returns

Promise<SignAndSendFunction>

Overrides

BaseSigner.buildSignAndSendFunction

Defined in

packages/client/src/Signer.ts:206


signAndSend

signAndSend(parameters): Promise<SuccessfulSubmission>

Parameters

NameType
parametersSignParameters

Returns

Promise<SuccessfulSubmission>

Inherited from

BaseSigner.signAndSend

Defined in

packages/client/src/Signer.ts:114


signRaw

signRaw(parameters): Promise<TypedSignature>

Parameters

NameType
parametersSignRawParameters

Returns

Promise<TypedSignature>

Inherited from

BaseSigner.signRaw

Defined in

packages/client/src/Signer.ts:97


signToHex

signToHex(signerId, message): Promise<TypedSignature>

Parameters

NameType
signerIdValidAccountId
messagestring

Returns

Promise<TypedSignature>

Overrides

BaseSigner.signToHex

Defined in

packages/client/src/Signer.ts:198