estimateGas method

Future<BigInt> estimateGas(
  1. TransactionRequest request
)

Returns the result of estimating the cost to send the TransactionRequest, with this account address being used as the from field.

Implementation

Future<BigInt> estimateGas(TransactionRequest request) =>
    _call<BigInt>('estimateGas', [request]);