sendVoteTx method
Future<String>
sendVoteTx(
- String voterAddress,
- SecpPublicKey delegate,
- HydraPrivate hydraPrivate, {
- int? nonce,
Implementation
Future<String> sendVoteTx(
String voterAddress,
SecpPublicKey delegate,
HydraPrivate hydraPrivate, {
int? nonce,
}) async {
return await sendVoteOrUnvote(
voterAddress,
hydraPrivate,
(builder, senderPubKey, nonce) =>
builder.vote(senderPubKey, delegate, nonce),
nonce,
);
}