query commands

All query commands follow the pattern:

qorechaind query <module> <command> [args] [flags]

Common flags apply to every query subcommand:

Flag
Type
Description

--node

string

RPC endpoint (default: tcp://localhost:26657)

--output

string

Output format: json or text

--height

int

Query state at a specific block height


bank

balances

Query all balances for an account.

qorechaind query bank balances <address>

total

Query the total supply of all tokens.

qorechaind query bank total

staking

validator

Query a single validator by operator address.

validators

List all validators.

delegation

Query a delegation from a delegator to a validator.

delegations

Query all delegations for a delegator.

unbonding-delegation

Query an unbonding delegation.


distribution

rewards

Query all delegation rewards for a delegator.

commission

Query validator commission.


gov

proposal

Query a single proposal by ID.

proposals

List all proposals, optionally filtered by status.

Flag
Type
Description

--status

string

Filter by status: deposit_period, voting_period, passed, rejected

votes

Query votes on a proposal.


pqc

account

Query PQC key registration status for an account.

algorithms

List all supported PQC algorithms.

algorithm

Query details for a specific PQC algorithm.

stats

Query aggregate PQC registration statistics.

params

Query PQC module parameters.

migration

Query PQC key migration status for an account.

hybrid-mode

Query the current hybrid signature enforcement mode.


xqore

position

Query xQORE staking position for an address.

params

Query xQORE module parameters.


burn

stats

Query burn statistics across all channels.

params

Query burn module parameters.


inflation

rate

Query the current annualized inflation rate.

epoch

Query the current epoch number and progress.

params

Query inflation module parameters.


ai

config

Query AI module configuration.

stats

Query aggregated AI processing statistics.

fee-estimate

Get an AI-assisted gas fee estimate.

Flag
Type
Description

--tx-type

string

Transaction type for estimation

--urgency

string

low, medium, high

investigations

List active fraud investigations.

recommendations

Get AI-generated network optimization recommendations.

circuit-breakers

Query current circuit breaker states.


reputation

validators

Query reputation scores for all validators.

validator

Query reputation score for a specific validator.


bridge

chains

List all registered bridge chains.

chain

Query details for a specific bridged chain.

validators

List active bridge validators.

operations

List recent bridge operations.

Flag
Type
Description

--status

string

Filter: pending, completed, failed

--chain

string

Filter by chain ID

limits

Query rate limits for a bridged chain.

estimate

Estimate bridge fee and transfer time.


crossvm

message

Retrieve a cross-VM message by ID.

pending

List pending cross-VM messages.

params

Query Cross-VM module parameters.


svm

account

Query SVM account information.

program

Query deployed SVM program information.

params

Query SVM module parameters.

slot

Query the current SVM slot number.


multilayer

layer

Query details for a specific layer.

layers

List all registered layers.

anchor

Query a specific anchor record.

anchors

List recent anchor submissions.

Flag
Type
Description

--layer-id

string

Filter by layer ID

--limit

uint

Maximum results to return

routing-stats

Query transaction routing statistics across layers.

simulate-route

Simulate transaction routing without execution.

params

Query Multilayer module parameters.


rdk

rollup

Query details for a specific rollup.

rollups

List all registered rollups.

Flag
Type
Description

--status

string

Filter: active, paused, stopped

batch

Query a specific settlement batch.

latest-batch

Query the latest batch for a rollup.

suggest-profile

Get an AI-assisted rollup profile recommendation.

blob

Query a specific DA blob.

params

Query RDK module parameters.


rlconsensus

agent-status

Query the current RL agent status and mode.

observation

Query the latest RL observation vector.

reward

Query cumulative RL reward metrics.

params

Query RL Consensus module parameters.

policy

Query the active RL policy configuration.


babylon

staking

Query BTC staking position for an address.

checkpoint

Query BTC checkpoint data for a given epoch.

params

Query Babylon module parameters.


abstractaccount

account

Query abstract account details.

params

Query Abstract Account module parameters.


gasabstraction

accepted-tokens

List tokens accepted for gas payment.

params

Query Gas Abstraction module parameters.


fairblock

config

Query FairBlock encryption configuration.

params

Query FairBlock module parameters.