sendTransaction method

Future<TransactionResponse> sendTransaction(
  1. TransactionRequest request
)

Submits transaction to the network to be mined.

The transaction must be valid (i.e. the nonce is correct and the account has sufficient balance to pay for the transaction).

Implementation

Future<TransactionResponse> sendTransaction(
        TransactionRequest request) async =>
    TransactionResponse._(await _call<_TransactionResponseImpl>(
        'sendTransaction', [request.impl]));