sendTransaction method

Future<String> sendTransaction({
  1. dynamic params,
})

Wrapper around request to send transaction

Implementation

Future<String> sendTransaction({params}) async {
  await getUserInfo();
  params["from"] = _userInfo?.address;
  String hash =
      await request(method: METHOD_SEND_TRANSACTION, params: [params]);

  return hash;
}