Constructors
constructor
- new Signer(): Signer
-
Properties
Readonly
_isSigner
_isSigner: boolean
Optional
Readonly
provider
Methods
_checkProvider
- _checkProvider(operation?: string): void
-
Parameters
-
Optional
operation: string
Returns void
call
- call(transaction: Deferrable<TransactionRequest>, blockTag?: BlockTag): Promise<string>
-
Returns Promise<string>
Abstract
connect
- connect(provider: Provider): Signer
-
Abstract
getAddress
- getAddress(): Promise<string>
-
Returns Promise<string>
getBalance
- getBalance(blockTag?: BlockTag): Promise<BigNumber>
-
getChainId
- getChainId(): Promise<number>
-
Returns Promise<number>
getFeeData
- getFeeData(): Promise<FeeData>
-
Returns Promise<FeeData>
getGasPrice
- getGasPrice(): Promise<BigNumber>
-
getTransactionCount
- getTransactionCount(blockTag?: BlockTag): Promise<number>
-
Returns Promise<number>
resolveName
- resolveName(name: string): Promise<string>
-
Returns Promise<string>
Abstract
signMessage
- signMessage(message: string | Bytes): Promise<string>
-
Returns Promise<string>
Abstract
signTransaction
- signTransaction(transaction: Deferrable<TransactionRequest>): Promise<string>
-
Returns Promise<string>
Static
isSigner
- isSigner(value: any): value is Signer
-
Returns value is Signer