Skip to main content
An AbstractSigner includes most of teh functionality required to get a Signer working as expected, but requires a few Signer-specific methods be overridden.

Extended by

Type parameters

Implements

Constructors

new AbstractSigner()

Creates a new Signer connected to provider.

Parameters

Returns

AbstractSigner<P>

Source

signers/abstract-signer.ts:63

Properties

Methods

connect()

Returns the signer connected to provider. This may throw, for example, a Signer connected over a Socket or to a specific instance of a node may not be transferrable.

Parameters

Returns

Signer The connected signer.

Implementation of

Signer.connect

Source

signers/abstract-signer.ts:92

getAddress()

Resolves to the Signer address.

Returns

Promise<string>

Implementation of

Signer.getAddress

Source

signers/abstract-signer.ts:70