sendRawTransaction method

Future<String> sendRawTransaction(
  1. Uint8List signedTransaction
)

Sends a raw, signed transaction.

To obtain a transaction in a signed form, use signTransaction.

Returns a hash of the transaction which, after the transaction has been included in a mined block, can be used to obtain detailed information about the transaction.

Implementation

Future<String> sendRawTransaction(Uint8List signedTransaction) async {
  return _makeRPCCall('eth_sendRawTransaction', [
    bytesToHex(signedTransaction, include0x: true, padToEvenLength: true)
  ]);
}