API

Vote Hook Interface SDK

Quick tip

If you are looking for a quick start guide, check out the Getting Started guide. We also have some react examples here.

Instructions

on_vote_v0

Accounts

NameMutabilitySignerDocs
voterimmutno
vote_controllerimmutno
state_controllerimmutno
proposalimmutno
proposal_configimmutno

Args

NameTypeDocs
_args[object Object]

Accounts

Types

VoteArgsV0

FieldType
choiceu16
weightu128
remove_votebool
Previous