sendRawTransaction method

Future<String> sendRawTransaction(
  1. String serializedTransactionHex
)

Implementation

Future<String> sendRawTransaction(String serializedTransactionHex) {
  serializedTransactionHex = serializedTransactionHex.startsWith("0x")
      ? serializedTransactionHex
      : "0x$serializedTransactionHex";
  return performTask(
    (client) => client.sendRawTransaction(serializedTransactionHex),
  );
}