sendTransaction method

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

Takes hex string on mobile and json tx request on web

Implementation

@override
Future<String> sendTransaction(
    {required String transactionRequestHexOrJson}) {
  return promiseToFuture(js_wallet.sendTransaction(
      _wallet.privateKey, _wallet.networkUrl, transactionRequestHexOrJson));
}