EthProxy extension

on

Methods

blockNumber() Future<EtherScanRpcResponseModel>
Returns the number of most recent block
call({required String? to, required String? data, String? tag}) Future<EtherScanRpcResponseModel>
Executes a new message call immediately without creating a transaction on the block chain
estimateGas({required String? to, required String? from}) Future<EtherScanRpcResponseModel>
Makes a call or transaction, which won't be added to the blockchain and returns the used gas, which can be used for estimating the used gas
gasPrice() Future<EtherScanRpcResponseModel>
Returns the current price per gas in wei.
getBlockByNumber({required String? tag}) Future<EtherScanBlockByNumberModel>
Returns information about a block by block number.
getBlockTransactionCountByNumber({required String? tag}) Future<EtherScanRpcResponseModel>
Returns the number of transactions in a block from a block matching the given block number
getCode({required String address, String? tag}) Future<EtherScanRpcResponseModel>
Returns code at a given address
getStorageAt({required String address, required String position, String? tag}) Future<EtherScanRpcResponseModel>
Returns the value from a storage position at a given address.
getTransactionByBlockNumberAndIndex({required String? tag, required String? index}) Future<EtherScanTxByHashModel>
Returns information about a transaction by block number and transaction index position
getTransactionByHash({required String? txhash}) Future<EtherScanTxByHashModel>
Returns the information about a transaction requested by transaction hash
getTransactionCount({required String? address, String? tag}) Future<EtherScanRpcResponseModel>
Returns the number of transactions sent from an address
getTransactionReceipt({required String? txhash}) Future<EtherScanTxReceiptModel>
Returns the receipt of a transaction by transaction hash
getUncleByBlockNumberAndIndex({required String? tag, required String? index}) Future<EtherScanBlockByNumberModel>
Returns information about a uncle by block number.
sendRawTransaction({required String? hex}) Future<String?>
Creates new message call transaction or a contract creation for signed transactions