참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.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
| Type parameter | Value |
|---|---|
P extends null | Provider | null | Provider |
Implements
Constructors
new AbstractSigner()
provider.
Parameters
| Parameter | Type |
|---|---|
provider? | P |
Returns
AbstractSigner<P>
Source
signers/abstract-signer.ts:63Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
provider | readonly | P | The provider this signer is connected to. |
Methods
connect()
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
| Parameter | Type | Description |
|---|---|---|
provider | null | Provider | The provider to connect to. |
Returns
Signer
The connected signer.
Implementation of
Signer.connect
Source
signers/abstract-signer.ts:92getAddress()
Returns
Promise<string>
Implementation of
Signer.getAddress
