adamant-console / voteFor
Function: voteFor()
voteFor(
delegateArr?,passphrase?):Promise<any>
Defined in: vote.js:14
Votes for or unvotes delegates from the configured account.
Delegate values without a leading + or - are treated as upvotes.
Parameters
delegateArr?
string[] = ...
Delegate public keys or addresses, optionally prefixed with + or -
passphrase?
string
Optional passphrase override for RPC/library use
Returns
Promise<any>
Vote transaction response, unwrapped from data when present