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