SignerExtension extension

on

Methods

call(TransactionRequest request) Future<String>
Returns the result of calling using the TransactionRequest, with this account address being used as the from field.
estimateGas(TransactionRequest request) Future<BigInt>
Returns the result of estimating the cost to send the TransactionRequest, with this account address being used as the from field.
getAddress() Future<String>
Returns a Future that resolves to the account address.
getBalance([String? blockTag]) Future<BigInt>
Returns the balance of this wallet at blockTag.
getChainId() Future<int>
Returns the chain ID this wallet is connected to.
getGasPrice() Future<BigInt>
Returns the current gas price.
getTransactionCount([String? blockTag]) Future<int>
Returns the number of transactions this account has ever sent.
sendTransaction(TransactionRequest request) Future<TransactionResponse>
Submits transaction to the network to be mined.
signMessage(String message) Future<String>
Returns a Future which resolves to the Raw Signature of message.
signTransaction(TransactionRequest request) Future<String>
Returns a Future which resolves to the signed transaction of the transactionRequest. This method does not populate any missing fields.