sendTransaction method

Future<String> sendTransaction({
  1. required String transactionRequestHexOrJson,
})

Takes hex string on mobile and json tx request on web

Implementation

Future<String> sendTransaction({
  required String transactionRequestHexOrJson,
}) {
  return _walletUnlocked
      .sendTransaction(
          transactionRequestHexOrJson: transactionRequestHexOrJson)
      .then(addHexPrefix);
}