sendUnvoteTx method

Future<String> sendUnvoteTx(
  1. String voterAddress,
  2. SecpPublicKey delegate,
  3. HydraPrivate hydraPrivate, {
  4. int? nonce,
})

Implementation

Future<String> sendUnvoteTx(
  String voterAddress,
  SecpPublicKey delegate,
  HydraPrivate hydraPrivate, {
  int? nonce,
}) async {
  return await sendVoteOrUnvote(
    voterAddress,
    hydraPrivate,
    (builder, senderPubKey, nonce) =>
        builder.unvote(senderPubKey, delegate, nonce),
    nonce,
  );
}