Creates [[Cellframe Poll|poll]] transaction. `Command syntax:` ```actionscript poll create -net <net_name> -question <"Question_string"> -options <"Option1","Option2",..."OptionN"> [-expire <poll_expire_time_in_RCF822>] [-max_votes_count <Votes_count>] [-delegated_key_required] [-vote_changing_allowed] [-token <ticker>] -fee <value_datoshi> -w <fee_wallet_name> ``` `Options:` ```actionscript -net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list -question - subject of the poll (string in quotes, limit - 200 characters) -options - answer options (strings in quotes listed through commas, limit of a one answer - 100 characters, number of options - not more than 10) -expire - poll end time (optional, time format is RCF822, use time of your system) -max_votes_count - maximum number of votes being accepted (optional) -delegated_key_required - allows to vote only for users who has delegated key (optional) -vote_changing_allowed - allows to change previously sent answer in poll (optional) -token - a name of the token which will be used to participate in poll (optional) -fee - validator's commission, because poll is a transaction too -w - name of the wallet from which commission will be paid ``` ### CLI Example `Command:` ```actionscript cellframe-node-cli poll create -net foobar -question "wen moon?" -options "soon","tomorrow","never" -fee 0.05e+18 -w foobar_root_0 ``` `Response:` ``` Datum 0xD4E174C886B0C90597E5E691E231D94F84591C5431D502F7470A37436B839FB5 successfully added to mempool ``` ### JSON-RPC Example ![[JSON-RPC Request - POLL CREATE]]