Querying Overview
Querying a Namada chain is done using the client namadac.
This section details several common queries; see all available commands with namadac --help.
query-account
namadac query-account --owner $OWNER_ADDRESSReturns the Threshold and Public key(s) of an established account.
query-pgf
namadac query-pgfReturns the list of PGF Stewards, their reward distribution, and active PGF streaming payments.
query-proposal
namadac query-proposal --proposal-id $IDReturns info on a given proposal, including its type, author, content, StartEpoch, EndEpoch, GraceEpoch, and Status.
query-proposal-result
namadac query-proposal-result --proposal-id $IDReturns the outcome of a given proposal, including whether it's Passed/Rejected, the total number of votes for yay/nay/abstain, and the threshold (fraction) of the total voting power needed to tally.
query-proposal-votes
namadac query-proposal-votes --proposal-id $IDReturns the results of all wallets that have voted yay or nay on the proposal
namadac query-proposal-votes --proposal-id $ID --voter $VOTER_ADDRESSReturns the result of a specific wallet that has voted on a specific proposal