sendRawTransaction method

Future<String> sendRawTransaction(
  1. String rawTx
)

Implementation

Future<String> sendRawTransaction(String rawTx) async {
  try {
    final response = await _call<String>(
      'eth_sendRawTransaction',
      args: [rawTx],
    );

    return response;
  } catch (e) {
    final response = await _call<String>(
      'eth_sendRawTransaction',
      args: [rawTx],
    );
    return response;
  }
}