참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.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 |