API
Cosmos REST & gRPC

AIOZ Network - REST & gRPC Gateway docs

The Cosmos REST API provides a user-friendly interface for interacting with AIOZ Network. It allows developers to query data, manage accounts, and submit transactions using familiar HTTP methods like GET, POST, PUT, and DELETE. The request and response formats utilize JSON, making them easy to understand and work with. Interestingly, the gRPC request structure mirrors the REST API structure, meaning developers can leverage this documentation for both REST & gRPC. For more detailed information and access to the public REST endpoint, please refer to this page.

Version: 1.4

/cosmos/auth/v1beta1/accounts

GET

Summary:

Accounts returns all the existing accounts

Description:

Since: cosmos-sdk 0.43

Parameters
NameLocated inDescriptionRequiredSchema
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/accounts/{address}

GET

Summary:

Account returns account details based on address.

Parameters
NameLocated inDescriptionRequiredSchema
addresspathaddress defines the address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/address_by_id/{id}

GET

Summary:

AccountAddressByID returns account address based on account number.

Description:

Since: cosmos-sdk 0.46.2

Parameters
NameLocated inDescriptionRequiredSchema
idpathid is the account number of the address to be queried. This field should have been an uint64 (like all account numbers), and will be updated to uint64 in a future version of the auth query.Yesstring (int64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/bech32

GET

Summary:

Bech32Prefix queries bech32Prefix

Description:

Since: cosmos-sdk 0.46

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/bech32/{address_bytes}

GET

Summary:

AddressBytesToString converts Account Address bytes to string

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
address_bytespathYesbyte
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/bech32/{address_string}

GET

Summary:

AddressStringToBytes converts Address string to bytes

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
address_stringpathYesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/module_accounts

GET

Summary:

ModuleAccounts returns all the existing module accounts.

Description:

Since: cosmos-sdk 0.46

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/module_accounts/{name}

GET

Summary:

ModuleAccountByName returns the module account info by module name

Parameters
NameLocated inDescriptionRequiredSchema
namepathYesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/auth/v1beta1/params

GET

Summary:

Params queries all parameters.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/balances/{address}

GET

Summary:

AllBalances queries the balance of all coins for a single account.

Parameters
NameLocated inDescriptionRequiredSchema
addresspathaddress is the address to query balances for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/balances/{address}/by_denom

GET

Summary:

Balance queries the balance of a single coin for a single account.

Parameters
NameLocated inDescriptionRequiredSchema
addresspathaddress is the address to query balances for.Yesstring
denomquerydenom is the coin denom to query balances for.Nostring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/denom_owners/{denom}

GET

Summary:

DenomOwners queries for all account addresses that own a particular token denomination.

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
denompathdenom defines the coin denomination to query all account holders for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/denoms_metadata

GET

Summary:

DenomsMetadata queries the client metadata for all registered coin denominations.

Parameters
NameLocated inDescriptionRequiredSchema
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/denoms_metadata/{denom}

GET

Summary:

DenomsMetadata queries the client metadata of a given coin denomination.

Parameters
NameLocated inDescriptionRequiredSchema
denompathdenom is the coin denom to query the metadata for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/params

GET

Summary:

Params queries the parameters of x/bank module.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/spendable_balances/{address}

GET

Summary:

SpendableBalances queries the spenable balance of all coins for a single account.

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
addresspathaddress is the address to query spendable balances for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/supply

GET

Summary:

TotalSupply queries the total supply of all coins.

Parameters
NameLocated inDescriptionRequiredSchema
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/bank/v1beta1/supply/by_denom

GET

Summary:

SupplyOf queries the supply of a single coin.

Parameters
NameLocated inDescriptionRequiredSchema
denomquerydenom is the coin denom to query balances for.Nostring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/node/v1beta1/config

GET

Summary:

Config queries for the operator configuration.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/abci_query

GET

Summary:

ABCIQuery defines a query handler that supports ABCI queries directly to the application, bypassing Tendermint completely. The ABCI query must contain a valid and supported path, including app, custom, p2p, and store.

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
dataqueryNobyte
pathqueryNostring
heightqueryNostring (int64)
provequeryNoboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/blocks/latest

GET

Summary:

GetLatestBlock returns the latest block.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/blocks/{height}

GET

Summary:

GetBlockByHeight queries block for given height.

Parameters
NameLocated inDescriptionRequiredSchema
heightpathYesstring (int64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/node_info

GET

Summary:

GetNodeInfo queries the current node info.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/syncing

GET

Summary:

GetSyncing queries node syncing.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/validatorsets/latest

GET

Summary:

GetLatestValidatorSet queries latest validator-set.

Parameters
NameLocated inDescriptionRequiredSchema
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/base/tendermint/v1beta1/validatorsets/{height}

GET

Summary:

GetValidatorSetByHeight queries validator-set at a given height.

Parameters
NameLocated inDescriptionRequiredSchema
heightpathYesstring (int64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/community_pool

GET

Summary:

CommunityPool queries the community pool coins.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards

GET

Summary:

DelegationTotalRewards queries the total rewards accrued by a each validator.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addresspathdelegator_address defines the delegator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}

GET

Summary:

DelegationRewards queries the total rewards accrued by a delegation.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addresspathdelegator_address defines the delegator address to query for.Yesstring
validator_addresspathvalidator_address defines the validator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators

GET

Summary:

DelegatorValidators queries the validators of a delegator.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addresspathdelegator_address defines the delegator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address

GET

Summary:

DelegatorWithdrawAddress queries withdraw address of a delegator.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addresspathdelegator_address defines the delegator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/params

GET

Summary:

Params queries params of the distribution module.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/validators/{validator_address}/commission

GET

Summary:

ValidatorCommission queries accumulated commission for a validator.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addresspathvalidator_address defines the validator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards

GET

Summary:

ValidatorOutstandingRewards queries rewards of a validator address.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addresspathvalidator_address defines the validator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/distribution/v1beta1/validators/{validator_address}/slashes

GET

Summary:

ValidatorSlashes queries slash events of a validator.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addresspathvalidator_address defines the validator address to query for.Yesstring
starting_heightquerystarting_height defines the optional starting height to query the slashes.Nostring (uint64)
ending_heightquerystarting_height defines the optional ending height to query the slashes.Nostring (uint64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/evidence/v1beta1/evidence

GET

Summary:

AllEvidence queries all evidence.

Parameters
NameLocated inDescriptionRequiredSchema
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/evidence/v1beta1/evidence/{evidence_hash}

GET

Summary:

Evidence queries evidence based on evidence hash.

Parameters
NameLocated inDescriptionRequiredSchema
evidence_hashpathevidence_hash defines the hash of the requested evidence.Yesbyte
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/params/{params_type}

GET

Summary:

Params queries all parameters of the gov module.

Parameters
NameLocated inDescriptionRequiredSchema
params_typepathparams_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals

GET

Summary:

Proposals queries all proposals based on given status.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_statusqueryproposal_status defines the status of the proposals. - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period. - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period. - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed. - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected. - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.Nostring
voterqueryvoter defines the voter address for the proposals.Nostring
depositorquerydepositor defines the deposit addresses from the proposals.Nostring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals/{proposal_id}

GET

Summary:

Proposal queries proposal details based on ProposalID.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits

GET

Summary:

Deposits queries all deposits of a single proposal.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}

GET

Summary:

Deposit queries single deposit information based proposalID, depositAddr.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
depositorpathdepositor defines the deposit addresses from the proposals.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals/{proposal_id}/tally

GET

Summary:

TallyResult queries the tally of a proposal vote.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals/{proposal_id}/votes

GET

Summary:

Votes queries votes of a given proposal.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}

GET

Summary:

Vote queries voted information based on proposalID, voterAddr.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
voterpathvoter defines the voter address for the proposals.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/params/{params_type}

GET

Summary:

Params queries all parameters of the gov module.

Parameters
NameLocated inDescriptionRequiredSchema
params_typepathparams_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals

GET

Summary:

Proposals queries all proposals based on given status.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_statusqueryproposal_status defines the status of the proposals. - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period. - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period. - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed. - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected. - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.Nostring
voterqueryvoter defines the voter address for the proposals.Nostring
depositorquerydepositor defines the deposit addresses from the proposals.Nostring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals/{proposal_id}

GET

Summary:

Proposal queries proposal details based on ProposalID.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals/{proposal_id}/deposits

GET

Summary:

Deposits queries all deposits of a single proposal.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}

GET

Summary:

Deposit queries single deposit information based proposalID, depositAddr.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
depositorpathdepositor defines the deposit addresses from the proposals.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals/{proposal_id}/tally

GET

Summary:

TallyResult queries the tally of a proposal vote.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals/{proposal_id}/votes

GET

Summary:

Votes queries votes of a given proposal.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}

GET

Summary:

Vote queries voted information based on proposalID, voterAddr.

Parameters
NameLocated inDescriptionRequiredSchema
proposal_idpathproposal_id defines the unique id of the proposal.Yesstring (uint64)
voterpathvoter defines the voter address for the proposals.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/aioz/mint/v1/annual_inflation

GET

Summary:

AnnualInflation returns the current minting annual inflation value.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/aioz/mint/v1/inflation

GET

Summary:

Inflation returns the current minting inflation value.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/aioz/mint/v1/params

GET

Summary:

Params returns the total set of minting parameters.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/params/v1beta1/params

GET

Summary:

Params queries a specific parameter of a module, given its subspace and key.

Parameters
NameLocated inDescriptionRequiredSchema
subspacequerysubspace defines the module to query the parameter for.Nostring
keyquerykey defines the key of the parameter in the subspace.Nostring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/params/v1beta1/subspaces

GET

Summary:

Subspaces queries for all registered subspaces and all keys for a subspace.

Description:

Since: cosmos-sdk 0.46

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/slashing/v1beta1/params

GET

Summary:

Params queries the parameters of slashing module

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/slashing/v1beta1/signing_infos

GET

Summary:

SigningInfos queries signing info of all validators

Parameters
NameLocated inDescriptionRequiredSchema
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/slashing/v1beta1/signing_infos/{cons_address}

GET

Summary:

SigningInfo queries the signing info of given cons address

Parameters
NameLocated inDescriptionRequiredSchema
cons_addresspathcons_address is the address to query signing info ofYesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/delegations/{delegator_addr}

GET

Summary:

DelegatorDelegations queries all delegations of a given delegator address.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations

GET

Summary:

Redelegations queries redelegations of given address.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
src_validator_addrquerysrc_validator_addr defines the validator address to redelegate from.Nostring
dst_validator_addrquerydst_validator_addr defines the validator address to redelegate to.Nostring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations

GET

Summary:

DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators

GET

Summary:

DelegatorValidators queries all validators info for given delegator address.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}

GET

Summary:

DelegatorValidator queries validator info for given delegator validator pair.

Parameters
NameLocated inDescriptionRequiredSchema
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
validator_addrpathvalidator_addr defines the validator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/historical_info/{height}

GET

Summary:

HistoricalInfo queries the historical info for given height.

Parameters
NameLocated inDescriptionRequiredSchema
heightpathheight defines at which height to query the historical info.Yesstring (int64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/params

GET

Summary:

Parameters queries the staking parameters.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/pool

GET

Summary:

Pool queries the pool info.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/validators

GET

Summary:

Validators queries all validators that match the given status.

Parameters
NameLocated inDescriptionRequiredSchema
statusquerystatus enables to query for validators matching a given status.Nostring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/validators/{validator_addr}

GET

Summary:

Validator queries validator info for given validator address.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addrpathvalidator_addr defines the validator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/validators/{validator_addr}/delegations

GET

Summary:

ValidatorDelegations queries delegate info for given validator.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addrpathvalidator_addr defines the validator address to query for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}

GET

Summary:

Delegation queries delegate info for given validator delegator pair.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addrpathvalidator_addr defines the validator address to query for.Yesstring
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation

GET

Summary:

UnbondingDelegation queries unbonding info for given validator delegator pair.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addrpathvalidator_addr defines the validator address to query for.Yesstring
delegator_addrpathdelegator_addr defines the delegator address to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations

GET

Summary:

ValidatorUnbondingDelegations queries unbonding delegations of a validator.

Parameters
NameLocated inDescriptionRequiredSchema
validator_addrpathvalidator_addr defines the validator address to query for.Yesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/tx/v1beta1/simulate

POST

Summary:

Simulate simulates executing a transaction for estimating gas usage.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYescosmos.tx.v1beta1.SimulateRequest
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/tx/v1beta1/txs

GET

Summary:

GetTxsEvent fetches txs by event.

Parameters
NameLocated inDescriptionRequiredSchema
eventsqueryevents is the list of transaction event type.No[ string ]
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
order_byquery- ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order - ORDER_BY_DESC: ORDER_BY_DESC defines descending orderNostring
pagequerypage is the page number to query, starts at 1. If not provided, will default to first page.Nostring (uint64)
limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
Responses
CodeDescriptionSchema
200A successful response.cosmos.tx.v1beta1.GetTxsEventResponse
defaultAn unexpected error response.object

POST

Summary:

BroadcastTx broadcast transaction.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesobject
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/tx/v1beta1/txs/block/{height}

GET

Summary:

GetBlockWithTxs fetches a block with decoded txs.

Description:

Since: cosmos-sdk 0.45.2

Parameters
NameLocated inDescriptionRequiredSchema
heightpathheight is the height of the block to query.Yesstring (int64)
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.cosmos.tx.v1beta1.GetBlockWithTxsResponse
defaultAn unexpected error response.object

/cosmos/tx/v1beta1/txs/{hash}

GET

Summary:

GetTx fetches a tx by hash.

Parameters
NameLocated inDescriptionRequiredSchema
hashpathhash is the tx hash to query, encoded as a hex string.Yesstring
Responses
CodeDescriptionSchema
200A successful response.cosmos.tx.v1beta1.GetTxResponse
defaultAn unexpected error response.object

/cosmos/upgrade/v1beta1/applied_plan/{name}

GET

Summary:

AppliedPlan queries a previously applied upgrade plan by its name.

Parameters
NameLocated inDescriptionRequiredSchema
namepathname is the name of the applied plan to query for.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/upgrade/v1beta1/authority

GET

Summary:

Returns the account with authority to conduct upgrades

Description:

Since: cosmos-sdk 0.46

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/upgrade/v1beta1/current_plan

GET

Summary:

CurrentPlan queries the current upgrade plan.

Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/upgrade/v1beta1/module_versions

GET

Summary:

ModuleVersions queries the list of module versions from state.

Description:

Since: cosmos-sdk 0.43

Parameters
NameLocated inDescriptionRequiredSchema
module_namequerymodule_name is a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state.Nostring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}

GET

Summary:

UpgradedConsensusState queries the consensus state that will serve as a trusted kernel for the next version of this chain. It will only be stored at the last height of this chain. UpgradedConsensusState RPC not supported with legacy querier This rpc is deprecated now that IBC has its own replacement (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54 (opens in a new tab))

Parameters
NameLocated inDescriptionRequiredSchema
last_heightpathlast height of the current chain must be sent in request as this is the height under which next consensus state is storedYesstring (int64)
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/authz/v1beta1/grants

GET

Summary:

Returns list of Authorization, granted to the grantee by the granter.

Parameters
NameLocated inDescriptionRequiredSchema
granterqueryNostring
granteequeryNostring
msg_type_urlqueryOptional, msg_type_url, when set, will query only grants matching given msg type.Nostring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/authz/v1beta1/grants/grantee/{grantee}

GET

Summary:

GranteeGrants returns a list of GrantAuthorization by grantee.

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
granteepathYesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/authz/v1beta1/grants/granter/{granter}

GET

Summary:

GranterGrants returns list of GrantAuthorization, granted by granter.

Description:

Since: cosmos-sdk 0.46

Parameters
NameLocated inDescriptionRequiredSchema
granterpathYesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}

GET

Summary:

Allowance returns fee granted to the grantee by the granter.

Parameters
NameLocated inDescriptionRequiredSchema
granterpathgranter is the address of the user granting an allowance of their funds.Yesstring
granteepathgrantee is the address of the user being granted an allowance of another user's funds.Yesstring
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/feegrant/v1beta1/allowances/{grantee}

GET

Summary:

Allowances returns all the grants for address.

Parameters
NameLocated inDescriptionRequiredSchema
granteepathYesstring
pagination.keyquerykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Nobyte
pagination.offsetqueryoffset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Nostring (uint64)
pagination.limitquerylimit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Nostring (uint64)
pagination.count_totalquerycount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Noboolean
pagination.reversequeryreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Noboolean
Responses
CodeDescriptionSchema
200A successful response.object
defaultAn unexpected error response.object

/cosmos/feegrant/v1beta1/issued/{granter}

GET

Summary:

AllowancesByGranter returns all the grants given by an address

Description:

Since: cosmos-sdk 0.46

Parameters