Signers
VoidSigner
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()
Creates a new VoidSigner with address
attached to provider
.
Parameters
Parameter | Type |
---|---|
address | string |
provider ? | null | Provider |
Returns
Overrides
Source
signers/abstract-signer.ts:211
Properties
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 |
Was this page helpful?