Query the chain and submit transactions for every Akash and Cosmos SDK module.
akt query (alias akt q) and akt tx cover the complete Akash chain command set. Defaults for the node, chain ID, gas settings, and signing account come from the active context, so most commands need no flags at all.
Available Modules
| Group | Modules and commands |
|---|---|
| Akash | deployment, market, provider, cert, audit, escrow, oracle, bme |
| Cosmos SDK | auth, bank, staking, distribution, gov, authz, feegrant, slashing, vesting, upgrade, evidence, mint, params |
| IBC | ibc, ibc-transfer |
| CosmWasm | Contract queries plus store, instantiate, execute, migrate, and administration transactions |
| Chain utilities | Blocks, transaction lookup, module addresses, broadcast, encode, and decode |
| Signing utilities | sign, sign-batch, multi-sign, and validate-signatures |
The Positional Filter Argument
Akash query commands take a positional filter argument instead of --owner/--dseq flags. The filter follows the resource hierarchy (owner/dseq/gseq/oseq/provider) with smart type detection: a bech32 address is an owner, a number is a dseq. When no owner is given, the context’s default account is used.
State keywords are also positional: akt query deployment active lists active deployments, and identity and state combine as two positional arguments (akt query deployment 12345 active).
# List your deployments (owner defaults to context account)akt query deployment
# Get a specific deployment by dseq (owner from context)akt query deployment 12345
# List deployments for a specific ownerakt query deployment akash1abc...
# Get a specific deployment by owner and dseqakt query deployment akash1abc.../12345
# List active leases (positional state keyword)akt query market lease active
# Leases for a specific deploymentakt query market lease 12345
# Specific lease (owner from context)akt query market lease 12345/1/1/akash1prov...
# Provider-perspective lease queryakt query market lease --by provider akash1prov...Note: When the identity pins down a single record, the state argument acts as a verification. The command fails if the record is in a different state instead of printing it.
Note: The identity and filter flags from older Akash CLIs (--owner, --dseq, --gseq, --oseq, --state, --provider) are not available; use the positional form.
If the context has no default-account, owner-scoped commands require an explicit owner. They refuse locally instead of returning every account’s records. This is normal for console-api and monitoring-only contexts:
# Explicit owner works without a default accountakt query deployment akash1abc...
# Console-owned deployments come from the Console API identityakt console deployment listPagination
Paginated queries accept --limit, --offset, --page, --page-key, and --reverse where the underlying query supports them:
# Second page, 25 deployments per pageakt query deployment akash1abc... --limit 25 --page 2
# Most recent records firstakt query deployment akash1abc... --limit 25 --reverseUse --count-total when you also need the total number of matching records. Unsupported pagination flags are refused rather than ignored.
Common Queries
# Check balancesakt query bank balances akash1abc...
# Query a providerakt query provider akash1prov...
# Certificates for an ownerakt query cert list akash1abc...
# Query staking validatorsakt query staking validators
# Query a WASM contractakt query wasm contract-state smart akash1contract... '{"get_count":{}}'
# The q alias works everywhereakt q deployment 12345Transactions
All transaction commands accept --from, --gas, --gas-prices, --fees, --broadcast-mode, --yes, --dry-run, and other standard flags. Defaults come from the active context.
# Send tokensakt tx bank send alice akash1dest... 1000000uakt
# Create a deploymentakt tx deployment create deployment.yaml
# Close a deployment (positional dseq)akt tx deployment close 12345
# Create a lease (positional dseq and provider; gseq/oseq default to 1)akt tx market lease create 12345 akash1prov...
# Delegate to a validatorakt tx staking delegate akashvaloper1... 1000000uakt
# Vote on a governance proposalakt tx gov vote 42 yes
# Generate and publish a client certificateakt tx cert generate clientakt tx cert publish client
# Convert between AKT and ACT (Burn-Mint-Equilibrium)akt tx bme mint-act 500000uaktakt tx bme burn-act 500000uactCoin inputs use explicit denominations. For example, 1 AKT is 1000000uakt. Pretty output scales micro-denominated values to readable AKT, mAKT, or uAKT values while JSON and YAML preserve machine-readable amounts.
With --gas auto, akt simulates the transaction to estimate the gas limit. Gas-price-derived fees use the selected network’s configured gas price as a floor. A lower invocation or environment value is raised to that floor, a higher value is preserved, and explicit --fees remains authoritative. See Gas prices and transaction fees.
Direct akt tx commands require a keyring signing account. In a console-api context, use akt deploy, akt update, and akt close, or the matching akt console deployment command.
Output Formats
# Pretty table (default): color-coded states, bold identifiersakt query deployment
# JSON, for scripts and pipesakt query deployment -o json
# YAMLakt query bank balances akash1abc... -o yamlRelated Resources
- Commands Reference - Complete
aktcommand reference - Deployments - The one-command deployment workflow
- Contexts & Configuration - Where transaction defaults come from