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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/auth/v1beta1/accounts/{address}
GET
Summary:
Account returns account details based on address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address defines the address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
id | path | id 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. | Yes | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/auth/v1beta1/bech32
GET
Summary:
Bech32Prefix queries bech32Prefix
Description:
Since: cosmos-sdk 0.46
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address_bytes | path | Yes | byte |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address_string | path | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/auth/v1beta1/module_accounts/{name}
GET
Summary:
ModuleAccountByName returns the module account info by module name
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
name | path | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/auth/v1beta1/params
GET
Summary:
Params queries all parameters.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/bank/v1beta1/balances/{address}
GET
Summary:
AllBalances queries the balance of all coins for a single account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the address to query balances for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the address to query balances for. | Yes | string |
denom | query | denom is the coin denom to query balances for. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
denom | path | denom defines the coin denomination to query all account holders for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/bank/v1beta1/denoms_metadata
GET
Summary:
DenomsMetadata queries the client metadata for all registered coin denominations.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/bank/v1beta1/denoms_metadata/{denom}
GET
Summary:
DenomsMetadata queries the client metadata of a given coin denomination.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
denom | path | denom is the coin denom to query the metadata for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/bank/v1beta1/params
GET
Summary:
Params queries the parameters of x/bank module.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the address to query spendable balances for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/bank/v1beta1/supply
GET
Summary:
TotalSupply queries the total supply of all coins.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/bank/v1beta1/supply/by_denom
GET
Summary:
SupplyOf queries the supply of a single coin.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
denom | query | denom is the coin denom to query balances for. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/node/v1beta1/config
GET
Summary:
Config queries for the operator configuration.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
data | query | No | byte | |
path | query | No | string | |
height | query | No | string (int64) | |
prove | query | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/tendermint/v1beta1/blocks/latest
GET
Summary:
GetLatestBlock returns the latest block.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/tendermint/v1beta1/blocks/{height}
GET
Summary:
GetBlockByHeight queries block for given height.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | Yes | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/tendermint/v1beta1/node_info
GET
Summary:
GetNodeInfo queries the current node info.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/tendermint/v1beta1/syncing
GET
Summary:
GetSyncing queries node syncing.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/tendermint/v1beta1/validatorsets/latest
GET
Summary:
GetLatestValidatorSet queries latest validator-set.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/base/tendermint/v1beta1/validatorsets/{height}
GET
Summary:
GetValidatorSetByHeight queries validator-set at a given height.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | Yes | string (int64) | |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/community_pool
GET
Summary:
CommunityPool queries the community pool coins.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards
GET
Summary:
DelegationTotalRewards queries the total rewards accrued by a each validator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_address | path | delegator_address defines the delegator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_address | path | delegator_address defines the delegator address to query for. | Yes | string |
validator_address | path | validator_address defines the validator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators
GET
Summary:
DelegatorValidators queries the validators of a delegator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_address | path | delegator_address defines the delegator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address
GET
Summary:
DelegatorWithdrawAddress queries withdraw address of a delegator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_address | path | delegator_address defines the delegator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/params
GET
Summary:
Params queries params of the distribution module.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/validators/{validator_address}/commission
GET
Summary:
ValidatorCommission queries accumulated commission for a validator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_address | path | validator_address defines the validator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards
GET
Summary:
ValidatorOutstandingRewards queries rewards of a validator address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_address | path | validator_address defines the validator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/distribution/v1beta1/validators/{validator_address}/slashes
GET
Summary:
ValidatorSlashes queries slash events of a validator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_address | path | validator_address defines the validator address to query for. | Yes | string |
starting_height | query | starting_height defines the optional starting height to query the slashes. | No | string (uint64) |
ending_height | query | starting_height defines the optional ending height to query the slashes. | No | string (uint64) |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/evidence/v1beta1/evidence
GET
Summary:
AllEvidence queries all evidence.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/evidence/v1beta1/evidence/{evidence_hash}
GET
Summary:
Evidence queries evidence based on evidence hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
evidence_hash | path | evidence_hash defines the hash of the requested evidence. | Yes | byte |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/params/{params_type}
GET
Summary:
Params queries all parameters of the gov module.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
params_type | path | params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit". | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals
GET
Summary:
Proposals queries all proposals based on given status.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_status | query | proposal_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. | No | string |
voter | query | voter defines the voter address for the proposals. | No | string |
depositor | query | depositor defines the deposit addresses from the proposals. | No | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals/{proposal_id}
GET
Summary:
Proposal queries proposal details based on ProposalID.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits
GET
Summary:
Deposits queries all deposits of a single proposal.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}
GET
Summary:
Deposit queries single deposit information based proposalID, depositAddr.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
depositor | path | depositor defines the deposit addresses from the proposals. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals/{proposal_id}/tally
GET
Summary:
TallyResult queries the tally of a proposal vote.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes
GET
Summary:
Votes queries votes of a given proposal.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}
GET
Summary:
Vote queries voted information based on proposalID, voterAddr.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
voter | path | voter defines the voter address for the proposals. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/params/{params_type}
GET
Summary:
Params queries all parameters of the gov module.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
params_type | path | params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit". | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals
GET
Summary:
Proposals queries all proposals based on given status.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_status | query | proposal_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. | No | string |
voter | query | voter defines the voter address for the proposals. | No | string |
depositor | query | depositor defines the deposit addresses from the proposals. | No | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals/{proposal_id}
GET
Summary:
Proposal queries proposal details based on ProposalID.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals/{proposal_id}/deposits
GET
Summary:
Deposits queries all deposits of a single proposal.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}
GET
Summary:
Deposit queries single deposit information based proposalID, depositAddr.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
depositor | path | depositor defines the deposit addresses from the proposals. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals/{proposal_id}/tally
GET
Summary:
TallyResult queries the tally of a proposal vote.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals/{proposal_id}/votes
GET
Summary:
Votes queries votes of a given proposal.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}
GET
Summary:
Vote queries voted information based on proposalID, voterAddr.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id defines the unique id of the proposal. | Yes | string (uint64) |
voter | path | voter defines the voter address for the proposals. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/mint/v1/annual_inflation
GET
Summary:
AnnualInflation returns the current minting annual inflation value.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/mint/v1/inflation
GET
Summary:
Inflation returns the current minting inflation value.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/mint/v1/params
GET
Summary:
Params returns the total set of minting parameters.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/params/v1beta1/params
GET
Summary:
Params queries a specific parameter of a module, given its subspace and key.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
subspace | query | subspace defines the module to query the parameter for. | No | string |
key | query | key defines the key of the parameter in the subspace. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/slashing/v1beta1/params
GET
Summary:
Params queries the parameters of slashing module
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/slashing/v1beta1/signing_infos
GET
Summary:
SigningInfos queries signing info of all validators
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/slashing/v1beta1/signing_infos/{cons_address}
GET
Summary:
SigningInfo queries the signing info of given cons address
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cons_address | path | cons_address is the address to query signing info of | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/delegations/{delegator_addr}
GET
Summary:
DelegatorDelegations queries all delegations of a given delegator address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations
GET
Summary:
Redelegations queries redelegations of given address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
src_validator_addr | query | src_validator_addr defines the validator address to redelegate from. | No | string |
dst_validator_addr | query | dst_validator_addr defines the validator address to redelegate to. | No | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators
GET
Summary:
DelegatorValidators queries all validators info for given delegator address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
validator_addr | path | validator_addr defines the validator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/historical_info/{height}
GET
Summary:
HistoricalInfo queries the historical info for given height.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | height defines at which height to query the historical info. | Yes | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/params
GET
Summary:
Parameters queries the staking parameters.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/pool
GET
Summary:
Pool queries the pool info.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/validators
GET
Summary:
Validators queries all validators that match the given status.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
status | query | status enables to query for validators matching a given status. | No | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/validators/{validator_addr}
GET
Summary:
Validator queries validator info for given validator address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_addr | path | validator_addr defines the validator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations
GET
Summary:
ValidatorDelegations queries delegate info for given validator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_addr | path | validator_addr defines the validator address to query for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_addr | path | validator_addr defines the validator address to query for. | Yes | string |
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_addr | path | validator_addr defines the validator address to query for. | Yes | string |
delegator_addr | path | delegator_addr defines the delegator address to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations
GET
Summary:
ValidatorUnbondingDelegations queries unbonding delegations of a validator.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_addr | path | validator_addr defines the validator address to query for. | Yes | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/tx/v1beta1/simulate
POST
Summary:
Simulate simulates executing a transaction for estimating gas usage.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
body | body | Yes | cosmos.tx.v1beta1.SimulateRequest |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/tx/v1beta1/txs
GET
Summary:
GetTxsEvent fetches txs by event.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
events | query | events is the list of transaction event type. | No | [ string ] |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
order_by | query | - 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 order | No | string |
page | query | page is the page number to query, starts at 1. If not provided, will default to first page. | No | string (uint64) |
limit | query | limit 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. | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | cosmos.tx.v1beta1.GetTxsEventResponse |
default | An unexpected error response. | object |
POST
Summary:
BroadcastTx broadcast transaction.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
body | body | Yes | object |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | height is the height of the block to query. | Yes | string (int64) |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | cosmos.tx.v1beta1.GetBlockWithTxsResponse |
default | An unexpected error response. | object |
/cosmos/tx/v1beta1/txs/{hash}
GET
Summary:
GetTx fetches a tx by hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
hash | path | hash is the tx hash to query, encoded as a hex string. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | cosmos.tx.v1beta1.GetTxResponse |
default | An unexpected error response. | object |
/cosmos/upgrade/v1beta1/applied_plan/{name}
GET
Summary:
AppliedPlan queries a previously applied upgrade plan by its name.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
name | path | name is the name of the applied plan to query for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/upgrade/v1beta1/current_plan
GET
Summary:
CurrentPlan queries the current upgrade plan.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
module_name | query | module_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. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
last_height | path | last height of the current chain must be sent in request as this is the height under which next consensus state is stored | Yes | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/authz/v1beta1/grants
GET
Summary:
Returns list of Authorization
, granted to the grantee by the granter.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
granter | query | No | string | |
grantee | query | No | string | |
msg_type_url | query | Optional, msg_type_url, when set, will query only grants matching given msg type. | No | string |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
grantee | path | Yes | string | |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
granter | path | Yes | string | |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}
GET
Summary:
Allowance returns fee granted to the grantee by the granter.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
granter | path | granter is the address of the user granting an allowance of their funds. | Yes | string |
grantee | path | grantee is the address of the user being granted an allowance of another user's funds. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/feegrant/v1beta1/allowances/{grantee}
GET
Summary:
Allowances returns all the grants for address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
grantee | path | Yes | string | |
pagination.key | query | key 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. | No | byte |
pagination.offset | query | offset 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. | No | string (uint64) |
pagination.limit | query | limit 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. | No | string (uint64) |
pagination.count_total | query | count_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. | No | boolean |
pagination.reverse | query | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An 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