注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。A VoidSigner is a class deisgned to allow an address to be used in any API which accepts a Signer, but for which there are no credentials available to perform any actual signing. This for example allow impersonating an account for the purpose of static calls or estimating gas, but does not allow sending transactions.
Extends
Constructors
new VoidSigner()
address
attached to provider
.
Parameters
Parameter | Type |
---|---|
address | string |
provider ? | null | Provider |
Returns
VoidSigner
Overrides
AbstractSigner
.constructor
Source
signers/abstract-signer.ts:220Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
address | readonly | string | The signer address. | - |
provider | readonly | null | Provider | The provider this signer is connected to. | AbstractSigner .provider |