unit string
required
Hash of unit where the poll was defined.
choice string
required
Indicate what the user want to vote for. The choice must be defined in the poll message.
Returns the unit hash.
const params = {unit: 'E0qMVlyvKUQ/H7QQjB1pEevprTUnl44cY/DPWyn3cF4=',choice: 'stay'};client.post.vote(params, wif, function(err, result) {console.log(result);});
"29. Voting" (page 46) https://obyte.org/Byteball.pdf