snrd tx gov

Governance transactions subcommands

Usage

snrd tx gov [flags]
snrd tx gov [command]

Available Commands

CommandDescription
cancel-proposalCancel governance proposal before the voting period ends. Must be signed by the proposal creator.
depositDeposit tokens for an active proposal
draft-proposalGenerate a draft proposal json file. The generated proposal json contains only one message (skeleton).
submit-legacy-proposalSubmit a legacy proposal along with an initial deposit
submit-proposalSubmit a proposal along with some messages, metadata and deposit
voteVote for an active proposal, options: yes/no/no_with_veto/abstain
weighted-voteVote for an active proposal, options: yes/no/no_with_veto/abstain

Flags

help
string
for gov

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
The network chain ID
fees
string
Fees to pay along with transaction; eg: 10aatom
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored
gas-prices
string
Gas prices to determine the transaction fee (e.g. 10aatom)
home
string
default:"/Users/prad/.sonr"
directory for config and data
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
log_no_color
string
colored logs
node
string
default:"tcp://localhost:26657"
<host>:<port> to tendermint rpc interface for this chain
trace
string
out full stack trace on errors

Examples

Submit transaction

snrd tx gov --from alice --chain-id sonrtest_1-1

See Also