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
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/group/v1/group_info/{group_id}
GET
Summary:
GroupInfo queries group info based on group id.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
group_id | path | group_id is the unique ID of the group. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/group/v1/group_members/{group_id}
GET
Summary:
GroupMembers queries members of a group
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
group_id | path | group_id is the unique ID of the group. | 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/group/v1/group_policies_by_admin/{admin}
GET
Summary:
GroupsByAdmin queries group policies by admin address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
admin | path | admin is the admin address of the group policy. | 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/group/v1/group_policies_by_group/{group_id}
GET
Summary:
GroupPoliciesByGroup queries group policies by group id.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
group_id | path | group_id is the unique ID of the group policy's group. | 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/group/v1/group_policy_info/{address}
GET
Summary:
GroupPolicyInfo queries group policy info based on account address of group policy.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the account address of the group policy. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/group/v1/groups_by_admin/{admin}
GET
Summary:
GroupsByAdmin queries groups by admin address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
admin | path | admin is the account address of a group's admin. | 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/group/v1/groups_by_member/{address}
GET
Summary:
GroupsByMember queries groups by member address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the group member address. | 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/group/v1/proposal/{proposal_id}
GET
Summary:
Proposal queries a proposal based on proposal id.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id is the unique ID of a proposal. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/group/v1/proposals/{proposal_id}/tally
GET
Summary:
TallyResult returns the tally result of a proposal. If the proposal is
still in voting period, then this query computes the current tally state,
which might not be final. On the other hand, if the proposal is final,
then it simply returns the final_tally_result
state stored in the
proposal itself.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id is the unique id of a proposal. | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/group/v1/proposals_by_group_policy/{address}
GET
Summary:
ProposalsByGroupPolicy queries proposals based on account address of group policy.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the account address of the group policy related to proposals. | 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/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}
GET
Summary:
VoteByProposalVoter queries a vote by proposal id and voter.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id is the unique ID of a proposal. | Yes | string (uint64) |
voter | path | voter is a proposal voter account address. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/cosmos/group/v1/votes_by_proposal/{proposal_id}
GET
Summary:
VotesByProposal queries a vote by proposal.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
proposal_id | path | proposal_id is the unique ID of a 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/group/v1/votes_by_voter/{voter}
GET
Summary:
VotesByVoter queries a vote by voter.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
voter | path | voter is a proposal voter account address. | 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 |
/aioz/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 |
/aioz/bonus/v1/params
GET
Summary:
Params returns the total set of bonus parameters.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/aiozrc20/v1/converter_address
GET
Summary:
Retrieves registered converter address
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/aiozrc20/v1/params
GET
Summary:
Params retrieves the aiozrc20 module params
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/aiozrc20/v1/token_pairs
GET
Summary:
Retrieves registered token pairs
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 |
/aioz/aiozrc20/v1/token_pairs/{token}
GET
Summary:
Retrieves a registered token pair
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
token | path | token identifier can be either the hex contract address of the AIOZRC20 or the Cosmos base denomination | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/account/{address}
GET
Summary:
Account queries an Ethereum account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the ethereum hex address to query the account for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/balances/{address}
GET
Summary:
Balance queries the balance of a the EVM denomination for a single EthAccount.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the ethereum hex address to query the balance for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/base_fee
GET
Summary:
BaseFee queries the base fee of the parent block of the current block, it's similar to feemarket module's method, but also checks london hardfork status.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/codes/{address}
GET
Summary:
Code queries the balance of all coins for a single account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the ethereum hex address to query the code for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/cosmos_account/{address}
GET
Summary:
CosmosAccount queries an Ethereum account's Cosmos Address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the ethereum hex address to query the account for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/estimate_gas
GET
Summary:
EstimateGas implements the eth_estimateGas
rpc api
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
args | query | args uses the same json format as the json rpc api. | No | byte |
gas_cap | query | gas_cap defines the default gas cap to be used. | No | string (uint64) |
proposer_address | query | proposer_address of the requested block in hex format. | No | byte |
chain_id | query | chain_id is the eip155 chain id parsed from the requested block header. | No | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/eth_call
GET
Summary:
EthCall implements the eth_call
rpc api
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
args | query | args uses the same json format as the json rpc api. | No | byte |
gas_cap | query | gas_cap defines the default gas cap to be used. | No | string (uint64) |
proposer_address | query | proposer_address of the requested block in hex format. | No | byte |
chain_id | query | chain_id is the eip155 chain id parsed from the requested block header. | No | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/params
GET
Summary:
Params queries the parameters of x/evm module.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/storage/{address}/{key}
GET
Summary:
Storage queries the balance of all coins for a single account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | address is the ethereum hex address to query the storage state for. | Yes | string |
key | path | key defines the key of the storage state | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/trace_block
GET
Summary:
TraceBlock implements the debug_traceBlockByNumber
and debug_traceBlockByHash
rpc api
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
trace_config.tracer | query | tracer is a custom javascript tracer. | No | string |
trace_config.timeout | query | timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls. | No | string |
trace_config.reexec | query | reexec defines the number of blocks the tracer is willing to go back. | No | string (uint64) |
trace_config.disable_stack | query | disable_stack switches stack capture. | No | boolean |
trace_config.disable_storage | query | disable_storage switches storage capture. | No | boolean |
trace_config.debug | query | debug can be used to print output during capture end. | No | boolean |
trace_config.limit | query | limit defines the maximum length of output, but zero means unlimited. | No | integer |
trace_config.overrides.homestead_block | query | homestead_block switch (nil no fork, 0 = already homestead). | No | string |
trace_config.overrides.dao_fork_block | query | dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork). | No | string |
trace_config.overrides.dao_fork_support | query | dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork. | No | boolean |
trace_config.overrides.eip150_block | query | eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150 (opens in a new tab)) EIP150 HF block (nil no fork). | No | string |
trace_config.overrides.eip150_hash | query | eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed). | No | string |
trace_config.overrides.eip155_block | query | eip155_block: EIP155Block HF block. | No | string |
trace_config.overrides.eip158_block | query | eip158_block: EIP158 HF block. | No | string |
trace_config.overrides.byzantium_block | query | byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium). | No | string |
trace_config.overrides.constantinople_block | query | constantinople_block: Constantinople switch block (nil no fork, 0 = already activated). | No | string |
trace_config.overrides.petersburg_block | query | petersburg_block: Petersburg switch block (nil same as Constantinople). | No | string |
trace_config.overrides.istanbul_block | query | istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul). | No | string |
trace_config.overrides.muir_glacier_block | query | muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). | No | string |
trace_config.overrides.berlin_block | query | berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin). | No | string |
trace_config.overrides.london_block | query | london_block: London switch block (nil = no fork, 0 = already on london). | No | string |
trace_config.overrides.arrow_glacier_block | query | arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). | No | string |
trace_config.overrides.gray_glacier_block | query | gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). | No | string |
trace_config.overrides.merge_netsplit_block | query | merge_netsplit_block: Virtual fork after The Merge to use as a network splitter. | No | string |
trace_config.overrides.shanghai_block | query | shanghai_block switch block (nil = no fork, 0 = already on shanghai). | No | string |
trace_config.overrides.cancun_block | query | cancun_block switch block (nil = no fork, 0 = already on cancun). | No | string |
trace_config.enable_memory | query | enable_memory switches memory capture. | No | boolean |
trace_config.enable_return_data | query | enable_return_data switches the capture of return data. | No | boolean |
trace_config.tracer_json_config | query | tracer_json_config configures the tracer using a JSON string. | No | string |
block_number | query | block_number of the traced block. | No | string (int64) |
block_hash | query | block_hash (hex) of the traced block. | No | string |
block_time | query | block_time of the traced block. | No | dateTime |
proposer_address | query | proposer_address is the address of the requested block. | No | byte |
chain_id | query | chain_id is the eip155 chain id parsed from the requested block header. | No | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/trace_tx
GET
Summary:
TraceTx implements the debug_traceTransaction
rpc api
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
msg.data.type_url | query | A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration ). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http , https , or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, https is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than http , https (or the empty scheme) might be used with implementation specific semantics. | No | string |
msg.data.value | query | Must be a valid serialized protocol buffer of the above specified type. | No | byte |
msg.size | query | size is the encoded storage size of the transaction (DEPRECATED). | No | double |
msg.hash | query | hash of the transaction in hex format. | No | string |
msg.from | query | from is the ethereum signer address in hex format. This address value is checked against the address derived from the signature (V, R, S) using the secp256k1 elliptic curve. | No | string |
trace_config.tracer | query | tracer is a custom javascript tracer. | No | string |
trace_config.timeout | query | timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls. | No | string |
trace_config.reexec | query | reexec defines the number of blocks the tracer is willing to go back. | No | string (uint64) |
trace_config.disable_stack | query | disable_stack switches stack capture. | No | boolean |
trace_config.disable_storage | query | disable_storage switches storage capture. | No | boolean |
trace_config.debug | query | debug can be used to print output during capture end. | No | boolean |
trace_config.limit | query | limit defines the maximum length of output, but zero means unlimited. | No | integer |
trace_config.overrides.homestead_block | query | homestead_block switch (nil no fork, 0 = already homestead). | No | string |
trace_config.overrides.dao_fork_block | query | dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork). | No | string |
trace_config.overrides.dao_fork_support | query | dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork. | No | boolean |
trace_config.overrides.eip150_block | query | eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150 (opens in a new tab)) EIP150 HF block (nil no fork). | No | string |
trace_config.overrides.eip150_hash | query | eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed). | No | string |
trace_config.overrides.eip155_block | query | eip155_block: EIP155Block HF block. | No | string |
trace_config.overrides.eip158_block | query | eip158_block: EIP158 HF block. | No | string |
trace_config.overrides.byzantium_block | query | byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium). | No | string |
trace_config.overrides.constantinople_block | query | constantinople_block: Constantinople switch block (nil no fork, 0 = already activated). | No | string |
trace_config.overrides.petersburg_block | query | petersburg_block: Petersburg switch block (nil same as Constantinople). | No | string |
trace_config.overrides.istanbul_block | query | istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul). | No | string |
trace_config.overrides.muir_glacier_block | query | muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). | No | string |
trace_config.overrides.berlin_block | query | berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin). | No | string |
trace_config.overrides.london_block | query | london_block: London switch block (nil = no fork, 0 = already on london). | No | string |
trace_config.overrides.arrow_glacier_block | query | arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). | No | string |
trace_config.overrides.gray_glacier_block | query | gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). | No | string |
trace_config.overrides.merge_netsplit_block | query | merge_netsplit_block: Virtual fork after The Merge to use as a network splitter. | No | string |
trace_config.overrides.shanghai_block | query | shanghai_block switch block (nil = no fork, 0 = already on shanghai). | No | string |
trace_config.overrides.cancun_block | query | cancun_block switch block (nil = no fork, 0 = already on cancun). | No | string |
trace_config.enable_memory | query | enable_memory switches memory capture. | No | boolean |
trace_config.enable_return_data | query | enable_return_data switches the capture of return data. | No | boolean |
trace_config.tracer_json_config | query | tracer_json_config configures the tracer using a JSON string. | No | string |
block_number | query | block_number of requested transaction. | No | string (int64) |
block_hash | query | block_hash of requested transaction. | No | string |
block_time | query | block_time of requested transaction. | No | dateTime |
proposer_address | query | proposer_address is the proposer of the requested block. | No | byte |
chain_id | query | chain_id is the the eip155 chain id parsed from the requested block header. | No | string (int64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/evm/v1/validator_account/{cons_address}
GET
Summary:
ValidatorAccount queries an Ethereum account's from a validator consensus Address.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cons_address | path | cons_address is the validator cons address to query the account for. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/feemarket/v1/base_fee
GET
Summary:
BaseFee queries the base fee of the parent block of the current block.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/feemarket/v1/block_gas
GET
Summary:
BlockGas queries the gas used at a given block height
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ethermint/feemarket/v1/params
GET
Summary:
Params queries the parameters of x/feemarket module.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/client/v1/client_states
GET
Summary:
ClientStates queries all the IBC light clients of a chain.
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 |
/ibc/core/client/v1/client_states/{client_id}
GET
Summary:
ClientState queries an IBC light client.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
client_id | path | client state unique identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/client/v1/client_status/{client_id}
GET
Summary:
Status queries the status of an IBC client.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
client_id | path | client unique identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/client/v1/consensus_states/{client_id}
GET
Summary:
ConsensusStates queries all the consensus state associated with a given client.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
client_id | path | client identifier | 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 |
/ibc/core/client/v1/consensus_states/{client_id}/heights
GET
Summary:
ConsensusStateHeights queries the height of every consensus states associated with a given client.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
client_id | path | client identifier | 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 |
/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}
GET
Summary:
ConsensusState queries a consensus state associated with a client state at a given height.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
client_id | path | client identifier | Yes | string |
revision_number | path | consensus state revision number | Yes | string (uint64) |
revision_height | path | consensus state revision height | Yes | string (uint64) |
latest_height | query | latest_height overrrides the height field and queries the latest stored ConsensusState. | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/client/v1/params
GET
Summary:
ClientParams queries all parameters of the ibc client submodule.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/client/v1/upgraded_client_states
GET
Summary:
UpgradedClientState queries an Upgraded IBC light client.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/client/v1/upgraded_consensus_states
GET
Summary:
UpgradedConsensusState queries an Upgraded IBC consensus state.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/connection/v1/client_connections/{client_id}
GET
Summary:
ClientConnections queries the connection paths associated with a client state.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
client_id | path | client identifier associated with a connection | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/connection/v1/connections
GET
Summary:
Connections queries all the IBC connections of a chain.
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 |
/ibc/core/connection/v1/connections/{connection_id}
GET
Summary:
Connection queries an IBC connection end.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
connection_id | path | connection unique identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/connection/v1/connections/{connection_id}/client_state
GET
Summary:
ConnectionClientState queries the client state associated with the connection.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
connection_id | path | connection identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}
GET
Summary:
ConnectionConsensusState queries the consensus state associated with the connection.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
connection_id | path | connection identifier | Yes | string |
revision_number | path | Yes | string (uint64) | |
revision_height | path | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/connection/v1/params
GET
Summary:
ConnectionParams queries all parameters of the ibc connection submodule.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels
GET
Summary:
Channels queries all the IBC channels of a chain.
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 |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}
GET
Summary:
Channel queries an IBC Channel.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state
GET
Summary:
ChannelClientState queries for the client state for the channel associated with the provided channel identifiers.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}
GET
Summary:
ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
revision_number | path | revision number of the consensus state | Yes | string (uint64) |
revision_height | path | revision height of the consensus state | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence
GET
Summary:
NextSequenceReceive returns the next receive sequence for a given channel.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements
GET
Summary:
PacketAcknowledgements returns all the packet acknowledgements associated with a channel.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | 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 |
packet_commitment_sequences | query | list of packet sequences. | No | [ string (uint64) ] |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}
GET
Summary:
PacketAcknowledgement queries a stored packet acknowledgement hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
sequence | path | packet sequence | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments
GET
Summary:
PacketCommitments returns all the packet commitments hashes associated with a channel.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | 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 |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks
GET
Summary:
UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
packet_ack_sequences | path | list of acknowledgement sequences | Yes | [ string (uint64) ] |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets
GET
Summary:
UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
packet_commitment_sequences | path | list of packet sequences | Yes | [ string (uint64) ] |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}
GET
Summary:
PacketCommitment queries a stored packet commitment hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
sequence | path | packet sequence | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}
GET
Summary:
PacketReceipt queries if a given packet sequence has been received on the queried chain
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | channel unique identifier | Yes | string |
port_id | path | port unique identifier | Yes | string |
sequence | path | packet sequence | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/core/channel/v1/connections/{connection}/channels
GET
Summary:
ConnectionChannels queries all the channels associated with a connection end.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
connection | path | connection unique identifier | 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 |
/ibc/apps/interchain_accounts/host/v1/params
GET
Summary:
Params queries all parameters of the ICA host submodule.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}
GET
Summary:
InterchainAccount returns the interchain account address for a given owner address on a given connection
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
owner | path | Yes | string | |
connection_id | path | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/interchain_accounts/controller/v1/params
GET
Summary:
Params queries all parameters of the ICA controller submodule.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address
GET
Summary:
EscrowAddress returns the escrow address for a particular port and channel id.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | unique channel identifier | Yes | string |
port_id | path | unique port identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/transfer/v1/denom_hashes/{trace}
GET
Summary:
DenomHash queries a denomination hash information.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
trace | path | The denomination trace ([port_id]/[channel_id])+/[denom] | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/transfer/v1/denom_traces
GET
Summary:
DenomTraces queries all denomination traces.
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 |
/ibc/apps/transfer/v1/denom_traces/{hash}
GET
Summary:
DenomTrace queries a denomination trace information.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
hash | path | hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/transfer/v1/params
GET
Summary:
Params queries all parameters of the ibc-transfer module.
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/fee_enabled
GET
Summary:
FeeEnabledChannel returns true if the provided port and channel identifiers belong to a fee enabled channel
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | unique channel identifier | Yes | string |
port_id | path | unique port identifier | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{channel_id}/ports/{port_id}/incentivized_packets
GET
Summary:
Gets all incentivized packets for a specific channel
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | Yes | string | |
port_id | 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 |
query_height | query | Height to query at. | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/counterparty_payee
GET
Summary:
CounterpartyPayee returns the registered counterparty payee for forward relaying
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | unique channel identifier | Yes | string |
relayer | path | the relayer address to which the counterparty is registered | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{channel_id}/relayers/{relayer}/payee
GET
Summary:
Payee returns the registered payee address for a specific channel given the relayer address
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
channel_id | path | unique channel identifier | Yes | string |
relayer | path | the relayer address to which the distribution address is registered | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/incentivized_packet
GET
Summary:
IncentivizedPacket returns all packet fees for a packet given its identifier
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
packet_id.channel_id | path | channel unique identifier | Yes | string |
packet_id.port_id | path | channel port identifier | Yes | string |
packet_id.sequence | path | packet sequence | Yes | string (uint64) |
query_height | query | block height at which to query. | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_ack_fees
GET
Summary:
TotalAckFees returns the total acknowledgement fees for a packet given its identifier
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
packet_id.channel_id | path | channel unique identifier | Yes | string |
packet_id.port_id | path | channel port identifier | Yes | string |
packet_id.sequence | path | packet sequence | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_recv_fees
GET
Summary:
TotalRecvFees returns the total receive fees for a packet given its identifier
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
packet_id.channel_id | path | channel unique identifier | Yes | string |
packet_id.port_id | path | channel port identifier | Yes | string |
packet_id.sequence | path | packet sequence | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/channels/{packet_id.channel_id}/ports/{packet_id.port_id}/sequences/{packet_id.sequence}/total_timeout_fees
GET
Summary:
TotalTimeoutFees returns the total timeout fees for a packet given its identifier
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
packet_id.channel_id | path | channel unique identifier | Yes | string |
packet_id.port_id | path | channel port identifier | Yes | string |
packet_id.sequence | path | packet sequence | Yes | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/fee_enabled
GET
Summary:
FeeEnabledChannels returns a list of all fee enabled channels
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 |
query_height | query | block height at which to query. | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/ibc/apps/fee/v1/incentivized_packets
GET
Summary:
IncentivizedPackets returns all incentivized packets and their associated fees
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 |
query_height | query | block height at which to query. | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/aioz/icamauth/v1beta1/interchain_account/owner/{owner}/connection/{connection_id}
GET
Summary:
QueryInterchainAccount returns the interchain account for given owner address on a given connection pair.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
owner | path | Yes | string | |
connection_id | path | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/osmosis/txfees/v1beta1/hrp_ibc_records
GET
Summary:
HrpIbcRecords returns to full list of records
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/osmosis/txfees/v1beta1/hrp_source_channel/{hrp}
GET
Summary:
HrpIbcRecord returns the record for a requested HRP
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
hrp | path | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/osmosis/txfees/v1beta1/native_hrp
GET
Summary:
NativeHrp returns the chain's native HRP
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/batch/confirms
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
nonce | query | No | string (uint64) | |
contract_address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/batch/last_pending_request_by_addr
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/batch/outgoinglogic
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/batch/outgoingtx
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/batch/request_by_nonce
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
nonce | query | No | string (uint64) | |
contract_address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/batchfees
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/confirms/{nonce}
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
nonce | path | Yes | string (uint64) | |
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/cosmos_originated/denom_to_erc20
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
denom | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/cosmos_originated/erc20_to_denom
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
erc20 | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/logic/confirms
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
invalidation_id | query | No | byte | |
invalidation_nonce | query | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/logic/{address}
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | Yes | string | |
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/oracle/eventnonce/{address}
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
address | path | Yes | string | |
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/params
GET
Summary:
Deployments queries deployments
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_attestations
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
limit | query | limit defines how many attestations to limit in the response. | No | string (uint64) |
order_by | query | order_by provides ordering of atteststions by nonce in the response. Either 'asc' or 'desc' can be provided. If no value is provided, it defaults to 'asc'. | No | string |
chain_name | query | chain_name allows filtering attestations by Evm Chain name. | No | string |
claim_type | query | claim_type allows filtering attestations by Ethereum claim type. | No | string |
nonce | query | nonce allows filtering attestations by Ethereum claim nonce. | No | string (uint64) |
height | query | height allows filtering attestations by Ethereum claim height. | No | string (uint64) |
use_v1_key | query | indicates whether to search for store data using the old Gravity v1 key "OracleAttestationKey" Note that queries before the Mercury upgrade at height 1282013 must set this to true. | No | boolean |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_delegate_keys
GET
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_delegate_keys_by_evm_address
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
evm_address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_delegate_keys_by_orchestrator
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
orchestrator_address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_delegate_keys_by_validator
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
validator_address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_last_observed_evm_block
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
use_v1_key | query | indicates whether to search for store data using the old Gravity v1 key "LastObservedEvmBlockHeightKey" Note that queries before the Mercury upgrade at height 1282013 must set this to true. | No | boolean |
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_last_observed_evm_nonce
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
use_v1_key | query | indicates whether to search for store data using the old Gravity v1 key "LastObservedEventNonceKey" Note that queries before the Mercury upgrade at height 1282013 must set this to true. | No | boolean |
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_pending_ibc_auto_forwards
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
limit | query | limit defines the number of pending forwards to return, in order of their SendToCosmos.EventNonce. | No | string (uint64) |
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/query_pending_send_to_evm_chain
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
sender_address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/valset
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
nonce | query | No | string (uint64) |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/valset/confirm
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
nonce | query | No | string (uint64) | |
address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/valset/current
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/valset/last
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string | |
address | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
/gravity/v1beta/valset/requests
GET
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
chain_name | query | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | A successful response. | object |
default | An unexpected error response. | object |
Models
cosmos.app.v1alpha1.Config
Config represents the configuration for a Cosmos SDK ABCI app. It is intended that all state machine logic including the version of baseapp and tx handlers (and possibly even Tendermint) that an app needs can be described in a config object. For compatibility, the framework should allow a mixture of declarative and imperative app wiring, however, apps that strive for the maximum ease of maintainability should be able to describe their state machine with a config object alone.
Name | Type | Description | Required |
---|---|---|---|
modules | [ object ] | modules are the module configurations for the app. | No |
cosmos.app.v1alpha1.ModuleConfig
ModuleConfig is a module configuration for an app.
Name | Type | Description | Required |
---|---|---|---|
name | string | name is the unique name of the module within the app. It should be a name that persists between different versions of a module so that modules can be smoothly upgraded to new versions. For example, for the module cosmos.bank.module.v1.Module, we may chose to simply name the module "bank" in the app. When we upgrade to cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same and the framework knows that the v2 module should receive all the same state that the v1 module had. Note: modules should provide info on which versions they can migrate from in the ModuleDescriptor.can_migration_from field. | No |
config | object | config is the config object for the module. Module config messages should define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. | No |
cosmos.app.v1alpha1.QueryConfigResponse
QueryConfigRequest is the Query/Config response type.
Name | Type | Description | Required |
---|---|---|---|
config | object | config is the current app config. | No |
google.protobuf.Any
Any
contains an arbitrary serialized protocol buffer message along with a
URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
...
}
Example 2: Pack and unpack a message in Java.
Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
any.Unpack(foo)
...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := ptypes.MarshalAny(foo)
...
foo := &pb.Foo{}
if err := ptypes.UnmarshalAny(any, foo); err != nil {
...
}
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON
The JSON representation of an Any
value uses the regular
representation of the deserialized, embedded message, with an
additional field @type
which contains the type URL. Example:
package google.profile;
message Person {
string first_name = 1;
string last_name = 2;
}
{
"@type": "type.googleapis.com/google.profile.Person",
"firstName": <string>,
"lastName": <string>
}
If the embedded message type is well-known and has a custom JSON
representation, that representation will be embedded adding a field
value
which holds the custom JSON in addition to the @type
field. Example (for message [google.protobuf.Duration][]):
{
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
Name | Type | Description | Required |
---|---|---|---|
type_url | string | A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration ). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http , https , or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, https is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than http , https (or the empty scheme) might be used with implementation specific semantics. | No |
value | byte | Must be a valid serialized protocol buffer of the above specified type. | No |
grpc.gateway.runtime.Error
Name | Type | Description | Required |
---|---|---|---|
error | string | No | |
code | integer | No | |
message | string | No | |
details | [ object ] | No |
cosmos.auth.v1beta1.AddressBytesToStringResponse
AddressBytesToStringResponse is the response type for AddressString rpc method.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
address_string | string | No |
cosmos.auth.v1beta1.AddressStringToBytesResponse
AddressStringToBytesResponse is the response type for AddressBytes rpc method.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
address_bytes | byte | No |
cosmos.auth.v1beta1.Bech32PrefixResponse
Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
bech32_prefix | string | No |
cosmos.auth.v1beta1.Params
Params defines the parameters for the auth module.
Name | Type | Description | Required |
---|---|---|---|
max_memo_characters | string (uint64) | No | |
tx_sig_limit | string (uint64) | No | |
tx_size_cost_per_byte | string (uint64) | No | |
sig_verify_cost_ed25519 | string (uint64) | No | |
sig_verify_cost_secp256k1 | string (uint64) | No |
cosmos.auth.v1beta1.QueryAccountAddressByIDResponse
Since: cosmos-sdk 0.46.2
Name | Type | Description | Required |
---|---|---|---|
account_address | string | No |
cosmos.auth.v1beta1.QueryAccountResponse
QueryAccountResponse is the response type for the Query/Account RPC method.
Name | Type | Description | Required |
---|---|---|---|
account | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
cosmos.auth.v1beta1.QueryAccountsResponse
QueryAccountsResponse is the response type for the Query/Accounts RPC method.
Since: cosmos-sdk 0.43
Name | Type | Description | Required |
---|---|---|---|
accounts | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.auth.v1beta1.QueryModuleAccountByNameResponse
QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method.
Name | Type | Description | Required |
---|---|---|---|
account | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
cosmos.auth.v1beta1.QueryModuleAccountsResponse
QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
accounts | [ object ] | No |
cosmos.auth.v1beta1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
cosmos.base.query.v1beta1.PageRequest
message SomeRequest { Foo some_parameter = 1; PageRequest pagination = 2; }
Name | Type | Description | Required |
---|---|---|---|
key | byte | 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 |
offset | string (uint64) | 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 |
limit | string (uint64) | 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 |
count_total | boolean | 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 |
reverse | boolean | reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 | No |
cosmos.base.query.v1beta1.PageResponse
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Name | Type | Description | Required |
---|---|---|---|
next_key | byte | next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. | No |
total | string (uint64) | No |
cosmos.bank.v1beta1.DenomOwner
DenomOwner defines structure representing an account that owns or holds a particular denominated token. It contains the account address and account balance of the denominated token.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
address | string | address defines the address that owns a particular denomination. | No |
balance | object | Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. | No |
cosmos.bank.v1beta1.DenomUnit
DenomUnit represents a struct that describes a given denomination unit of the basic token.
Name | Type | Description | Required |
---|---|---|---|
denom | string | denom represents the string name of the given denom unit (e.g uatom). | No |
exponent | long | exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom). | No |
aliases | [ string ] | No |
cosmos.bank.v1beta1.Metadata
Metadata represents a struct that describes a basic token.
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
denom_units | [ object ] | No | |
base | string | base represents the base denom (should be the DenomUnit with exponent = 0). | No |
display | string | display indicates the suggested denom that should be displayed in clients. | No |
name | string | Since: cosmos-sdk 0.43 | No |
symbol | string | symbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display. Since: cosmos-sdk 0.43 | No |
uri | string | URI to a document (on or off-chain) that contains additional information. Optional. Since: cosmos-sdk 0.46 | No |
uri_hash | string | URIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional. Since: cosmos-sdk 0.46 | No |
cosmos.bank.v1beta1.Params
Params defines the parameters for the bank module.
Name | Type | Description | Required |
---|---|---|---|
send_enabled | [ object ] | No | |
default_send_enabled | boolean | No |
cosmos.bank.v1beta1.QueryAllBalancesResponse
QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
Name | Type | Description | Required |
---|---|---|---|
balances | [ object ] | balances is the balances of all the coins. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.bank.v1beta1.QueryBalanceResponse
QueryBalanceResponse is the response type for the Query/Balance RPC method.
Name | Type | Description | Required |
---|---|---|---|
balance | object | Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. | No |
cosmos.bank.v1beta1.QueryDenomMetadataResponse
QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.
Name | Type | Description | Required |
---|---|---|---|
metadata | object | Metadata represents a struct that describes a basic token. | No |
cosmos.bank.v1beta1.QueryDenomOwnersResponse
QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
denom_owners | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.bank.v1beta1.QueryDenomsMetadataResponse
QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.
Name | Type | Description | Required |
---|---|---|---|
metadatas | [ object ] | metadata provides the client information for all the registered tokens. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.bank.v1beta1.QueryParamsResponse
QueryParamsResponse defines the response type for querying x/bank parameters.
Name | Type | Description | Required |
---|---|---|---|
params | object | Params defines the parameters for the bank module. | No |
cosmos.bank.v1beta1.QuerySpendableBalancesResponse
QuerySpendableBalancesResponse defines the gRPC response structure for querying an account's spendable balances.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
balances | [ object ] | balances is the spendable balances of all the coins. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.bank.v1beta1.QuerySupplyOfResponse
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
Name | Type | Description | Required |
---|---|---|---|
amount | object | Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. | No |
cosmos.bank.v1beta1.QueryTotalSupplyResponse
Name | Type | Description | Required |
---|---|---|---|
supply | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. Since: cosmos-sdk 0.43 | No |
cosmos.bank.v1beta1.SendEnabled
SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
Name | Type | Description | Required |
---|---|---|---|
denom | string | No | |
enabled | boolean | No |
cosmos.base.v1beta1.Coin
Coin defines a token with a denomination and an amount.
NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
Name | Type | Description | Required |
---|---|---|---|
denom | string | No | |
amount | string | No |
cosmos.base.node.v1beta1.ConfigResponse
ConfigResponse defines the response structure for the Config gRPC query.
Name | Type | Description | Required |
---|---|---|---|
minimum_gas_price | string | No |
cosmos.base.tendermint.v1beta1.ABCIQueryResponse
ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
Note: This type is a duplicate of the ResponseQuery proto type defined in Tendermint.
Name | Type | Description | Required |
---|---|---|---|
code | long | No | |
log | string | No | |
info | string | No | |
index | string (int64) | No | |
key | byte | No | |
value | byte | No | |
proof_ops | object | ProofOps is Merkle proof defined by the list of ProofOps. Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. | No |
height | string (int64) | No | |
codespace | string | No |
cosmos.base.tendermint.v1beta1.Block
Block is tendermint type Block, with the Header proposer address field converted to bech32 string.
Name | Type | Description | Required |
---|---|---|---|
header | object | Header defines the structure of a Tendermint block header. | No |
data | object | No | |
evidence | object | No | |
last_commit | object | Commit contains the evidence that a block was committed by a set of validators. | No |
cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse
GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.
Name | Type | Description | Required |
---|---|---|---|
block_id | object | No | |
block | object | No | |
sdk_block | object | Block is tendermint type Block, with the Header proposer address field converted to bech32 string. | No |
cosmos.base.tendermint.v1beta1.GetLatestBlockResponse
GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.
Name | Type | Description | Required |
---|---|---|---|
block_id | object | No | |
block | object | No | |
sdk_block | object | Block is tendermint type Block, with the Header proposer address field converted to bech32 string. | No |
cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse
GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
Name | Type | Description | Required |
---|---|---|---|
block_height | string (int64) | No | |
validators | [ object ] | No | |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.base.tendermint.v1beta1.GetNodeInfoResponse
GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.
Name | Type | Description | Required |
---|---|---|---|
default_node_info | object | No | |
application_version | object | VersionInfo is the type for the GetNodeInfoResponse message. | No |
cosmos.base.tendermint.v1beta1.GetSyncingResponse
GetSyncingResponse is the response type for the Query/GetSyncing RPC method.
Name | Type | Description | Required |
---|---|---|---|
syncing | boolean | No |
cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse
GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
Name | Type | Description | Required |
---|---|---|---|
block_height | string (int64) | No | |
validators | [ object ] | No | |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.base.tendermint.v1beta1.Header
Header defines the structure of a Tendermint block header.
Name | Type | Description | Required |
---|---|---|---|
version | object | Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine. | No |
chain_id | string | No | |
height | string (int64) | No | |
time | dateTime | No | |
last_block_id | object | No | |
last_commit_hash | byte | No | |
data_hash | byte | No | |
validators_hash | byte | No | |
next_validators_hash | byte | No | |
consensus_hash | byte | No | |
app_hash | byte | No | |
last_results_hash | byte | No | |
evidence_hash | byte | No | |
proposer_address | string | proposer_address is the original block proposer address, formatted as a Bech32 string. In Tendermint, this type is bytes , but in the SDK, we convert it to a Bech32 string for better UX. | No |
cosmos.base.tendermint.v1beta1.Module
Name | Type | Description | Required |
---|---|---|---|
path | string | No | |
version | string | No | |
sum | string | No |
cosmos.base.tendermint.v1beta1.ProofOp
ProofOp defines an operation used for calculating Merkle root. The data could be arbitrary format, providing nessecary data for example neighbouring node hash.
Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
Name | Type | Description | Required |
---|---|---|---|
type | string | No | |
key | byte | No | |
data | byte | No |
cosmos.base.tendermint.v1beta1.ProofOps
ProofOps is Merkle proof defined by the list of ProofOps.
Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
Name | Type | Description | Required |
---|---|---|---|
ops | [ object ] | No |
cosmos.base.tendermint.v1beta1.Validator
Validator is the type for the validator-set.
Name | Type | Description | Required |
---|---|---|---|
address | string | No | |
pub_key | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
voting_power | string (int64) | No | |
proposer_priority | string (int64) | No |
cosmos.base.tendermint.v1beta1.VersionInfo
VersionInfo is the type for the GetNodeInfoResponse message.
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
app_name | string | No | |
version | string | No | |
git_commit | string | No | |
build_tags | string | No | |
go_version | string | No | |
build_deps | [ object ] | No | |
cosmos_sdk_version | string | No |
tendermint.crypto.PublicKey
Name | Type | Description | Required |
---|---|---|---|
ed25519 | byte | No | |
secp256k1 | byte | No |
tendermint.p2p.DefaultNodeInfo
Name | Type | Description | Required |
---|---|---|---|
protocol_version | object | No | |
default_node_id | string | No | |
listen_addr | string | No | |
network | string | No | |
version | string | No | |
channels | byte | No | |
moniker | string | No | |
other | object | No |
tendermint.p2p.DefaultNodeInfoOther
Name | Type | Description | Required |
---|---|---|---|
tx_index | string | No | |
rpc_address | string | No |
tendermint.p2p.ProtocolVersion
Name | Type | Description | Required |
---|---|---|---|
p2p | string (uint64) | No | |
block | string (uint64) | No | |
app | string (uint64) | No |
tendermint.types.Block
Name | Type | Description | Required |
---|---|---|---|
header | object | Header defines the structure of a block header. | No |
data | object | No | |
evidence | object | No | |
last_commit | object | Commit contains the evidence that a block was committed by a set of validators. | No |
tendermint.types.BlockID
Name | Type | Description | Required |
---|---|---|---|
hash | byte | No | |
part_set_header | object | No |
tendermint.types.BlockIDFlag
Name | Type | Description | Required |
---|---|---|---|
tendermint.types.BlockIDFlag | string |
tendermint.types.Commit
Commit contains the evidence that a block was committed by a set of validators.
Name | Type | Description | Required |
---|---|---|---|
height | string (int64) | No | |
round | integer | No | |
block_id | object | No | |
signatures | [ object ] | No |
tendermint.types.CommitSig
CommitSig is a part of the Vote included in a Commit.
Name | Type | Description | Required |
---|---|---|---|
block_id_flag | string | No | |
validator_address | byte | No | |
timestamp | dateTime | No | |
signature | byte | No |
tendermint.types.Data
Name | Type | Description | Required |
---|---|---|---|
txs | [ byte ] | Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs. | No |
tendermint.types.DuplicateVoteEvidence
DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.
Name | Type | Description | Required |
---|---|---|---|
vote_a | object | Vote represents a prevote, precommit, or commit vote from validators for consensus. | No |
vote_b | object | Vote represents a prevote, precommit, or commit vote from validators for consensus. | No |
total_voting_power | string (int64) | No | |
validator_power | string (int64) | No | |
timestamp | dateTime | No |
tendermint.types.Evidence
Name | Type | Description | Required |
---|---|---|---|
duplicate_vote_evidence | object | DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. | No |
light_client_attack_evidence | object | LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. | No |
tendermint.types.EvidenceList
Name | Type | Description | Required |
---|---|---|---|
evidence | [ object ] | No |
tendermint.types.Header
Header defines the structure of a block header.
Name | Type | Description | Required |
---|---|---|---|
version | object | Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine. | No |
chain_id | string | No | |
height | string (int64) | No | |
time | dateTime | No | |
last_block_id | object | No | |
last_commit_hash | byte | No | |
data_hash | byte | No | |
validators_hash | byte | No | |
next_validators_hash | byte | No | |
consensus_hash | byte | No | |
app_hash | byte | No | |
last_results_hash | byte | No | |
evidence_hash | byte | No | |
proposer_address | byte | No |
tendermint.types.LightBlock
Name | Type | Description | Required |
---|---|---|---|
signed_header | object | No | |
validator_set | object | No |
tendermint.types.LightClientAttackEvidence
LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.
Name | Type | Description | Required |
---|---|---|---|
conflicting_block | object | No | |
common_height | string (int64) | No | |
byzantine_validators | [ object ] | No | |
total_voting_power | string (int64) | No | |
timestamp | dateTime | No |
tendermint.types.PartSetHeader
Name | Type | Description | Required |
---|---|---|---|
total | long | No | |
hash | byte | No |
tendermint.types.SignedHeader
Name | Type | Description | Required |
---|---|---|---|
header | object | Header defines the structure of a block header. | No |
commit | object | Commit contains the evidence that a block was committed by a set of validators. | No |
tendermint.types.SignedMsgType
SignedMsgType is a type of signed message in the consensus.
- SIGNED_MSG_TYPE_PREVOTE: Votes
- SIGNED_MSG_TYPE_PROPOSAL: Proposals
Name | Type | Description | Required |
---|---|---|---|
tendermint.types.SignedMsgType | string | SignedMsgType is a type of signed message in the consensus. - SIGNED_MSG_TYPE_PREVOTE: Votes - SIGNED_MSG_TYPE_PROPOSAL: Proposals |
tendermint.types.Validator
Name | Type | Description | Required |
---|---|---|---|
address | byte | No | |
pub_key | object | No | |
voting_power | string (int64) | No | |
proposer_priority | string (int64) | No |
tendermint.types.ValidatorSet
Name | Type | Description | Required |
---|---|---|---|
validators | [ object ] | No | |
proposer | object | No | |
total_voting_power | string (int64) | No |
tendermint.types.Vote
Vote represents a prevote, precommit, or commit vote from validators for consensus.
Name | Type | Description | Required |
---|---|---|---|
type | string | SignedMsgType is a type of signed message in the consensus. - SIGNED_MSG_TYPE_PREVOTE: Votes - SIGNED_MSG_TYPE_PROPOSAL: Proposals | No |
height | string (int64) | No | |
round | integer | No | |
block_id | object | No | |
timestamp | dateTime | No | |
validator_address | byte | No | |
validator_index | integer | No | |
signature | byte | No |
tendermint.version.Consensus
Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.
Name | Type | Description | Required |
---|---|---|---|
block | string (uint64) | No | |
app | string (uint64) | No |
cosmos.base.v1beta1.DecCoin
DecCoin defines a token with a denomination and a decimal amount.
NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.
Name | Type | Description | Required |
---|---|---|---|
denom | string | No | |
amount | string | No |
cosmos.distribution.v1beta1.DelegationDelegatorReward
DelegationDelegatorReward represents the properties of a delegator's delegation reward.
Name | Type | Description | Required |
---|---|---|---|
validator_address | string | No | |
reward | [ object ] | No |
cosmos.distribution.v1beta1.Params
Params defines the set of params for the distribution module.
Name | Type | Description | Required |
---|---|---|---|
community_tax | string | No | |
base_proposer_reward | string | No | |
bonus_proposer_reward | string | No | |
withdraw_addr_enabled | boolean | No |
cosmos.distribution.v1beta1.QueryCommunityPoolResponse
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
Name | Type | Description | Required |
---|---|---|---|
pool | [ object ] | pool defines community pool's coins. | No |
cosmos.distribution.v1beta1.QueryDelegationRewardsResponse
QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
Name | Type | Description | Required |
---|---|---|---|
rewards | [ object ] | rewards defines the rewards accrued by a delegation. | No |
cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse
QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.
Name | Type | Description | Required |
---|---|---|---|
rewards | [ object ] | rewards defines all the rewards accrued by a delegator. | No |
total | [ object ] | total defines the sum of all the rewards. | No |
cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse
QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.
Name | Type | Description | Required |
---|---|---|---|
validators | [ string ] | validators defines the validators a delegator is delegating for. | No |
cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse
QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.
Name | Type | Description | Required |
---|---|---|---|
withdraw_address | string | withdraw_address defines the delegator address to query for. | No |
cosmos.distribution.v1beta1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
cosmos.distribution.v1beta1.QueryValidatorCommissionResponse
Name | Type | Description | Required |
---|---|---|---|
commission | object | commission defines the commision the validator received. | No |
cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse
QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.
Name | Type | Description | Required |
---|---|---|---|
rewards | object | ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks. | No |
cosmos.distribution.v1beta1.QueryValidatorSlashesResponse
QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
Name | Type | Description | Required |
---|---|---|---|
slashes | [ object ] | slashes defines the slashes the validator received. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.distribution.v1beta1.ValidatorAccumulatedCommission
ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.
Name | Type | Description | Required |
---|---|---|---|
commission | [ object ] | No |
cosmos.distribution.v1beta1.ValidatorOutstandingRewards
ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.
Name | Type | Description | Required |
---|---|---|---|
rewards | [ object ] | No |
cosmos.distribution.v1beta1.ValidatorSlashEvent
ValidatorSlashEvent represents a validator slash event. Height is implicit within the store key. This is needed to calculate appropriate amount of staking tokens for delegations which are withdrawn after a slash has occurred.
Name | Type | Description | Required |
---|---|---|---|
validator_period | string (uint64) | No | |
fraction | string | No |
cosmos.evidence.v1beta1.QueryAllEvidenceResponse
QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC method.
Name | Type | Description | Required |
---|---|---|---|
evidence | [ object ] | evidence returns all evidences. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.evidence.v1beta1.QueryEvidenceResponse
QueryEvidenceResponse is the response type for the Query/Evidence RPC method.
Name | Type | Description | Required |
---|---|---|---|
evidence | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
cosmos.gov.v1beta1.Deposit
Deposit defines an amount deposited by an account address to an active proposal.
Name | Type | Description | Required |
---|---|---|---|
proposal_id | string (uint64) | No | |
depositor | string | No | |
amount | [ object ] | No |
cosmos.gov.v1beta1.DepositParams
DepositParams defines the params for deposits on governance proposals.
Name | Type | Description | Required |
---|---|---|---|
min_deposit | [ object ] | Minimum deposit for a proposal to enter voting period. | No |
max_deposit_period | string | Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months. | No |
cosmos.gov.v1beta1.Proposal
Proposal defines the core field members of a governance proposal.
Name | Type | Description | Required |
---|---|---|---|
proposal_id | string (uint64) | No | |
content | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
status | string | ProposalStatus enumerates the valid statuses of a proposal. - 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 |
final_tally_result | object | final_tally_result is the final tally result of the proposal. When querying a proposal via gRPC, this field is not populated until the proposal's voting period has ended. | No |
submit_time | dateTime | No | |
deposit_end_time | dateTime | No | |
total_deposit | [ object ] | No | |
voting_start_time | dateTime | No | |
voting_end_time | dateTime | No |
cosmos.gov.v1beta1.ProposalStatus
ProposalStatus enumerates the valid statuses of a proposal.
- 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.
Name | Type | Description | Required |
---|---|---|---|
cosmos.gov.v1beta1.ProposalStatus | string | ProposalStatus enumerates the valid statuses of a proposal. - 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. |
cosmos.gov.v1beta1.QueryDepositResponse
QueryDepositResponse is the response type for the Query/Deposit RPC method.
Name | Type | Description | Required |
---|---|---|---|
deposit | object | Deposit defines an amount deposited by an account address to an active proposal. | No |
cosmos.gov.v1beta1.QueryDepositsResponse
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
Name | Type | Description | Required |
---|---|---|---|
deposits | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.gov.v1beta1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
voting_params | object | voting_params defines the parameters related to voting. | No |
deposit_params | object | deposit_params defines the parameters related to deposit. | No |
tally_params | object | tally_params defines the parameters related to tally. | No |
cosmos.gov.v1beta1.QueryProposalResponse
QueryProposalResponse is the response type for the Query/Proposal RPC method.
Name | Type | Description | Required |
---|---|---|---|
proposal | object | Proposal defines the core field members of a governance proposal. | No |
cosmos.gov.v1beta1.QueryProposalsResponse
QueryProposalsResponse is the response type for the Query/Proposals RPC method.
Name | Type | Description | Required |
---|---|---|---|
proposals | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.gov.v1beta1.QueryTallyResultResponse
QueryTallyResultResponse is the response type for the Query/Tally RPC method.
Name | Type | Description | Required |
---|---|---|---|
tally | object | tally defines the requested tally. | No |
cosmos.gov.v1beta1.QueryVoteResponse
QueryVoteResponse is the response type for the Query/Vote RPC method.
Name | Type | Description | Required |
---|---|---|---|
vote | object | Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. | No |
cosmos.gov.v1beta1.QueryVotesResponse
QueryVotesResponse is the response type for the Query/Votes RPC method.
Name | Type | Description | Required |
---|---|---|---|
votes | [ object ] | votes defined the queried votes. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.gov.v1beta1.TallyParams
TallyParams defines the params for tallying votes on governance proposals.
Name | Type | Description | Required |
---|---|---|---|
quorum | byte | Minimum percentage of total stake needed to vote for a result to be considered valid. | No |
threshold | byte | Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. | No |
veto_threshold | byte | Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. | No |
cosmos.gov.v1beta1.TallyResult
TallyResult defines a standard tally for a governance proposal.
Name | Type | Description | Required |
---|---|---|---|
yes | string | No | |
abstain | string | No | |
no | string | No | |
no_with_veto | string | No |
cosmos.gov.v1beta1.Vote
Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.
Name | Type | Description | Required |
---|---|---|---|
proposal_id | string (uint64) | No | |
voter | string | No | |
option | string | Deprecated: Prefer to use options instead. This field is set in queries if and only if len(options) == 1 and that option has weight 1. In all other cases, this field will default to VOTE_OPTION_UNSPECIFIED. | No |
options | [ object ] | No |
cosmos.gov.v1beta1.VoteOption
VoteOption enumerates the valid vote options for a given governance proposal.
- VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
- VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
- VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
- VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
- VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
Name | Type | Description | Required |
---|---|---|---|
cosmos.gov.v1beta1.VoteOption | string | VoteOption enumerates the valid vote options for a given governance proposal. - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. |
cosmos.gov.v1beta1.VotingParams
VotingParams defines the params for voting on governance proposals.
Name | Type | Description | Required |
---|---|---|---|
voting_period | string | Length of the voting period. | No |
cosmos.gov.v1beta1.WeightedVoteOption
WeightedVoteOption defines a unit of vote for vote split.
Since: cosmos-sdk 0.43
Name | Type | Description | Required |
---|---|---|---|
option | string | VoteOption enumerates the valid vote options for a given governance proposal. - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. | No |
weight | string | No |
cosmos.gov.v1.Deposit
Deposit defines an amount deposited by an account address to an active proposal.
Name | Type | Description | Required |
---|---|---|---|
proposal_id | string (uint64) | No | |
depositor | string | No | |
amount | [ object ] | No |
cosmos.gov.v1.DepositParams
DepositParams defines the params for deposits on governance proposals.
Name | Type | Description | Required |
---|---|---|---|
min_deposit | [ object ] | Minimum deposit for a proposal to enter voting period. | No |
max_deposit_period | string | Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months. | No |
cosmos.gov.v1.Proposal
Proposal defines the core field members of a governance proposal.
Name | Type | Description | Required |
---|---|---|---|
id | string (uint64) | No | |
messages | [ object ] | No | |
status | string | ProposalStatus enumerates the valid statuses of a proposal. - 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 |
final_tally_result | object | final_tally_result is the final tally result of the proposal. When querying a proposal via gRPC, this field is not populated until the proposal's voting period has ended. | No |
submit_time | dateTime | No | |
deposit_end_time | dateTime | No | |
total_deposit | [ object ] | No | |
voting_start_time | dateTime | No | |
voting_end_time | dateTime | No | |
metadata | string | metadata is any arbitrary metadata attached to the proposal. | No |
cosmos.gov.v1.ProposalStatus
ProposalStatus enumerates the valid statuses of a proposal.
- 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.
Name | Type | Description | Required |
---|---|---|---|
cosmos.gov.v1.ProposalStatus | string | ProposalStatus enumerates the valid statuses of a proposal. - 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. |
cosmos.gov.v1.QueryDepositResponse
QueryDepositResponse is the response type for the Query/Deposit RPC method.
Name | Type | Description | Required |
---|---|---|---|
deposit | object | Deposit defines an amount deposited by an account address to an active proposal. | No |
cosmos.gov.v1.QueryDepositsResponse
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
Name | Type | Description | Required |
---|---|---|---|
deposits | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.gov.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
voting_params | object | voting_params defines the parameters related to voting. | No |
deposit_params | object | deposit_params defines the parameters related to deposit. | No |
tally_params | object | tally_params defines the parameters related to tally. | No |
cosmos.gov.v1.QueryProposalResponse
QueryProposalResponse is the response type for the Query/Proposal RPC method.
Name | Type | Description | Required |
---|---|---|---|
proposal | object | Proposal defines the core field members of a governance proposal. | No |
cosmos.gov.v1.QueryProposalsResponse
QueryProposalsResponse is the response type for the Query/Proposals RPC method.
Name | Type | Description | Required |
---|---|---|---|
proposals | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.gov.v1.QueryTallyResultResponse
QueryTallyResultResponse is the response type for the Query/Tally RPC method.
Name | Type | Description | Required |
---|---|---|---|
tally | object | tally defines the requested tally. | No |
cosmos.gov.v1.QueryVoteResponse
QueryVoteResponse is the response type for the Query/Vote RPC method.
Name | Type | Description | Required |
---|---|---|---|
vote | object | Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. | No |
cosmos.gov.v1.QueryVotesResponse
QueryVotesResponse is the response type for the Query/Votes RPC method.
Name | Type | Description | Required |
---|---|---|---|
votes | [ object ] | votes defined the queried votes. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.gov.v1.TallyParams
TallyParams defines the params for tallying votes on governance proposals.
Name | Type | Description | Required |
---|---|---|---|
quorum | string | Minimum percentage of total stake needed to vote for a result to be considered valid. | No |
threshold | string | Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. | No |
veto_threshold | string | Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. | No |
cosmos.gov.v1.TallyResult
TallyResult defines a standard tally for a governance proposal.
Name | Type | Description | Required |
---|---|---|---|
yes_count | string | No | |
abstain_count | string | No | |
no_count | string | No | |
no_with_veto_count | string | No |
cosmos.gov.v1.Vote
Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.
Name | Type | Description | Required |
---|---|---|---|
proposal_id | string (uint64) | No | |
voter | string | No | |
options | [ object ] | No | |
metadata | string | metadata is any arbitrary metadata to attached to the vote. | No |
cosmos.gov.v1.VoteOption
VoteOption enumerates the valid vote options for a given governance proposal.
- VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
- VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
- VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
- VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
- VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
Name | Type | Description | Required |
---|---|---|---|
cosmos.gov.v1.VoteOption | string | VoteOption enumerates the valid vote options for a given governance proposal. - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. |
cosmos.gov.v1.VotingParams
VotingParams defines the params for voting on governance proposals.
Name | Type | Description | Required |
---|---|---|---|
voting_period | string | Length of the voting period. | No |
cosmos.gov.v1.WeightedVoteOption
WeightedVoteOption defines a unit of vote for vote split.
Name | Type | Description | Required |
---|---|---|---|
option | string | VoteOption enumerates the valid vote options for a given governance proposal. - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. | No |
weight | string | No |
aioz.mint.v1.Allocation
Name | Type | Description | Required |
---|---|---|---|
address | string | address is the bech32-encoded address of the allocation. | No |
rate | string | rate is the rate of the allocation. | No |
aioz.mint.v1.Params
Params holds parameters for the mint module.
Name | Type | Description | Required |
---|---|---|---|
mint_denom | string | type of coin to mint. | No |
blocks_per_year | string (uint64) | expected blocks per year. | No |
start_height | string (int64) | expected start minting block height. | No |
inflation | string | current block inflation rate. | No |
additional_allocations | [ object ] | list of additional allocations for minting. | No |
aioz.mint.v1.QueryAnnualInflationResponse
QueryAnnualInflationResponse is the response type for the Query/AnnualInflation RPC method.
Name | Type | Description | Required |
---|---|---|---|
annual_inflation | byte | annual_inflation is the current minting annual inflation value. | No |
aioz.mint.v1.QueryInflationResponse
QueryInflationResponse is the response type for the Query/Inflation RPC method.
Name | Type | Description | Required |
---|---|---|---|
inflation | byte | inflation is the current minting inflation value. | No |
aioz.mint.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
cosmos.params.v1beta1.ParamChange
ParamChange defines an individual parameter change, for use in ParameterChangeProposal.
Name | Type | Description | Required |
---|---|---|---|
subspace | string | No | |
key | string | No | |
value | string | No |
cosmos.params.v1beta1.QueryParamsResponse
QueryParamsResponse is response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
param | object | param defines the queried parameter. | No |
cosmos.params.v1beta1.QuerySubspacesResponse
QuerySubspacesResponse defines the response types for querying for all registered subspaces and all keys for a subspace.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
subspaces | [ object ] | No |
cosmos.params.v1beta1.Subspace
Subspace defines a parameter subspace name and all the keys that exist for the subspace.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
subspace | string | No | |
keys | [ string ] | No |
cosmos.slashing.v1beta1.Params
Params represents the parameters used for by the slashing module.
Name | Type | Description | Required |
---|---|---|---|
signed_blocks_window | string (int64) | No | |
min_signed_per_window | byte | No | |
downtime_jail_duration | string | No | |
slash_fraction_double_sign | byte | No | |
slash_fraction_downtime | byte | No |
cosmos.slashing.v1beta1.QueryParamsResponse
Name | Type | Description | Required |
---|---|---|---|
params | object | Params represents the parameters used for by the slashing module. | No |
cosmos.slashing.v1beta1.QuerySigningInfoResponse
Name | Type | Description | Required |
---|---|---|---|
val_signing_info | object | ValidatorSigningInfo defines a validator's signing info for monitoring their liveness activity. | No |
cosmos.slashing.v1beta1.QuerySigningInfosResponse
Name | Type | Description | Required |
---|---|---|---|
info | [ object ] | No | |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
cosmos.slashing.v1beta1.ValidatorSigningInfo
ValidatorSigningInfo defines a validator's signing info for monitoring their liveness activity.
Name | Type | Description | Required |
---|---|---|---|
address | string | No | |
start_height | string (int64) | No | |
index_offset | string (int64) | Index which is incremented each time the validator was a bonded in a block and may have signed a precommit or not. This in conjunction with the SignedBlocksWindow param determines the index in the MissedBlocksBitArray . | No |
jailed_until | dateTime | Timestamp until which the validator is jailed due to liveness downtime. | No |
tombstoned | boolean | Whether or not a validator has been tombstoned (killed out of validator set). It is set once the validator commits an equivocation or for any other configured misbehiavor. | No |
missed_blocks_counter | string (int64) | A counter kept to avoid unnecessary array reads. Note that Sum(MissedBlocksBitArray) always equals MissedBlocksCounter . | No |
cosmos.staking.v1beta1.BondStatus
BondStatus is the status of a validator.
- BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status.
- BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded.
- BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding.
- BOND_STATUS_BONDED: BONDED defines a validator that is bonded.
Name | Type | Description | Required |
---|---|---|---|
cosmos.staking.v1beta1.BondStatus | string | BondStatus is the status of a validator. - BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status. - BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded. - BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding. - BOND_STATUS_BONDED: BONDED defines a validator that is bonded. |
cosmos.staking.v1beta1.Commission
Commission defines commission parameters for a given validator.
Name | Type | Description | Required |
---|---|---|---|
commission_rates | object | commission_rates defines the initial commission rates to be used for creating a validator. | No |
update_time | dateTime | update_time is the last time the commission rate was changed. | No |
cosmos.staking.v1beta1.CommissionRates
CommissionRates defines the initial commission rates to be used for creating a validator.
Name | Type | Description | Required |
---|---|---|---|
rate | string | rate is the commission rate charged to delegators, as a fraction. | No |
max_rate | string | max_rate defines the maximum commission rate which validator can ever charge, as a fraction. | No |
max_change_rate | string | max_change_rate defines the maximum daily increase of the validator commission, as a fraction. | No |
cosmos.staking.v1beta1.Delegation
Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.
Name | Type | Description | Required |
---|---|---|---|
delegator_address | string | delegator_address is the bech32-encoded address of the delegator. | No |
validator_address | string | validator_address is the bech32-encoded address of the validator. | No |
shares | string | shares define the delegation shares received. | No |
cosmos.staking.v1beta1.DelegationResponse
DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.
Name | Type | Description | Required |
---|---|---|---|
delegation | object | Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator. | No |
balance | object | Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. | No |
cosmos.staking.v1beta1.Description
Description defines a validator description.
Name | Type | Description | Required |
---|---|---|---|
moniker | string | moniker defines a human-readable name for the validator. | No |
identity | string | identity defines an optional identity signature (ex. UPort or Keybase). | No |
website | string | website defines an optional website link. | No |
security_contact | string | security_contact defines an optional email for security contact. | No |
details | string | details define other optional details. | No |
cosmos.staking.v1beta1.HistoricalInfo
HistoricalInfo contains header and validator information for a given block.
It is stored as part of staking module's state, which persists the n
most
recent HistoricalInfo
(n
is set by the staking module's historical_entries
parameter).
Name | Type | Description | Required |
---|---|---|---|
header | object | Header defines the structure of a block header. | No |
valset | [ object ] | No |
cosmos.staking.v1beta1.Params
Params defines the parameters for the staking module.
Name | Type | Description | Required |
---|---|---|---|
unbonding_time | string | unbonding_time is the time duration of unbonding. | No |
max_validators | long | max_validators is the maximum number of validators. | No |
max_entries | long | max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). | No |
historical_entries | long | historical_entries is the number of historical entries to persist. | No |
bond_denom | string | bond_denom defines the bondable coin denomination. | No |
min_commission_rate | string | No |
cosmos.staking.v1beta1.Pool
Pool is used for tracking bonded and not-bonded token supply of the bond denomination.
Name | Type | Description | Required |
---|---|---|---|
not_bonded_tokens | string | No | |
bonded_tokens | string | No |
cosmos.staking.v1beta1.QueryDelegationResponse
QueryDelegationResponse is response type for the Query/Delegation RPC method.
Name | Type | Description | Required |
---|---|---|---|
delegation_response | object | DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses. | No |
cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse
QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method.
Name | Type | Description | Required |
---|---|---|---|
delegation_responses | [ object ] | delegation_responses defines all the delegations' info of a delegator. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse
QueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method.
Name | Type | Description | Required |
---|---|---|---|
unbonding_responses | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.QueryDelegatorValidatorResponse
QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method.
Name | Type | Description | Required |
---|---|---|---|
validator | object | Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate. | No |
cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse
QueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method.
Name | Type | Description | Required |
---|---|---|---|
validators | [ object ] | validators defines the validators' info of a delegator. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.QueryHistoricalInfoResponse
QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC method.
Name | Type | Description | Required |
---|---|---|---|
hist | object | hist defines the historical info at the given height. | No |
cosmos.staking.v1beta1.QueryParamsResponse
QueryParamsResponse is response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params holds all the parameters of this module. | No |
cosmos.staking.v1beta1.QueryPoolResponse
QueryPoolResponse is response type for the Query/Pool RPC method.
Name | Type | Description | Required |
---|---|---|---|
pool | object | pool defines the pool info. | No |
cosmos.staking.v1beta1.QueryRedelegationsResponse
QueryRedelegationsResponse is response type for the Query/Redelegations RPC method.
Name | Type | Description | Required |
---|---|---|---|
redelegation_responses | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.QueryUnbondingDelegationResponse
QueryDelegationResponse is response type for the Query/UnbondingDelegation RPC method.
Name | Type | Description | Required |
---|---|---|---|
unbond | object | UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list. | No |
cosmos.staking.v1beta1.QueryValidatorDelegationsResponse
Name | Type | Description | Required |
---|---|---|---|
delegation_responses | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.QueryValidatorResponse
Name | Type | Description | Required |
---|---|---|---|
validator | object | Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate. | No |
cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse
QueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method.
Name | Type | Description | Required |
---|---|---|---|
unbonding_responses | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.QueryValidatorsResponse
Name | Type | Description | Required |
---|---|---|---|
validators | [ object ] | validators contains all the queried validators. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.staking.v1beta1.Redelegation
Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator.
Name | Type | Description | Required |
---|---|---|---|
delegator_address | string | delegator_address is the bech32-encoded address of the delegator. | No |
validator_src_address | string | validator_src_address is the validator redelegation source operator address. | No |
validator_dst_address | string | validator_dst_address is the validator redelegation destination operator address. | No |
entries | [ object ] | entries are the redelegation entries. | No |
cosmos.staking.v1beta1.RedelegationEntry
RedelegationEntry defines a redelegation object with relevant metadata.
Name | Type | Description | Required |
---|---|---|---|
creation_height | string (int64) | creation_height defines the height which the redelegation took place. | No |
completion_time | dateTime | completion_time defines the unix time for redelegation completion. | No |
initial_balance | string | initial_balance defines the initial balance when redelegation started. | No |
shares_dst | string | shares_dst is the amount of destination-validator shares created by redelegation. | No |
cosmos.staking.v1beta1.RedelegationEntryResponse
RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.
Name | Type | Description | Required |
---|---|---|---|
redelegation_entry | object | RedelegationEntry defines a redelegation object with relevant metadata. | No |
balance | string | No |
cosmos.staking.v1beta1.RedelegationResponse
RedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.
Name | Type | Description | Required |
---|---|---|---|
redelegation | object | Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator. | No |
entries | [ object ] | No |
cosmos.staking.v1beta1.UnbondingDelegation
UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list.
Name | Type | Description | Required |
---|---|---|---|
delegator_address | string | delegator_address is the bech32-encoded address of the delegator. | No |
validator_address | string | validator_address is the bech32-encoded address of the validator. | No |
entries | [ object ] | entries are the unbonding delegation entries. | No |
cosmos.staking.v1beta1.UnbondingDelegationEntry
UnbondingDelegationEntry defines an unbonding object with relevant metadata.
Name | Type | Description | Required |
---|---|---|---|
creation_height | string (int64) | creation_height is the height which the unbonding took place. | No |
completion_time | dateTime | completion_time is the unix time for unbonding completion. | No |
initial_balance | string | initial_balance defines the tokens initially scheduled to receive at completion. | No |
balance | string | balance defines the tokens to receive at completion. | No |
cosmos.staking.v1beta1.Validator
Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.
Name | Type | Description | Required |
---|---|---|---|
operator_address | string | operator_address defines the address of the validator's operator; bech encoded in JSON. | No |
consensus_pubkey | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
jailed | boolean | jailed defined whether the validator has been jailed from bonded status or not. | No |
status | string | status is the validator status (bonded/unbonding/unbonded). | No |
tokens | string | tokens define the delegated tokens (incl. self-delegation). | No |
delegator_shares | string | delegator_shares defines total shares issued to a validator's delegators. | No |
description | object | description defines the description terms for the validator. | No |
unbonding_height | string (int64) | unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. | No |
unbonding_time | dateTime | unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. | No |
commission | object | commission defines the commission parameters. | No |
min_self_delegation | string | min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 | No |
cosmos.base.abci.v1beta1.ABCIMessageLog
ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
Name | Type | Description | Required |
---|---|---|---|
msg_index | long | No | |
log | string | No | |
events | [ object ] | Events contains a slice of Event objects that were emitted during some execution. | No |
cosmos.base.abci.v1beta1.Attribute
Attribute defines an attribute wrapper where the key and value are strings instead of raw bytes.
Name | Type | Description | Required |
---|---|---|---|
key | string | No | |
value | string | No |
cosmos.base.abci.v1beta1.GasInfo
GasInfo defines tx execution gas context.
Name | Type | Description | Required |
---|---|---|---|
gas_wanted | string (uint64) | GasWanted is the maximum units of work we allow this tx to perform. | No |
gas_used | string (uint64) | GasUsed is the amount of gas actually consumed. | No |
cosmos.base.abci.v1beta1.Result
Result is the union of ResponseFormat and ResponseCheckTx.
Name | Type | Description | Required |
---|---|---|---|
data | byte | Data is any data returned from message or handler execution. It MUST be length prefixed in order to separate data from multiple message executions. Deprecated. This field is still populated, but prefer msg_response instead because it also contains the Msg response typeURL. | No |
log | string | Log contains the log information from message or handler execution. | No |
events | [ object ] | Events contains a slice of Event objects that were emitted during message or handler execution. | No |
msg_responses | [ object ] | msg_responses contains the Msg handler responses type packed in Anys. Since: cosmos-sdk 0.46 | No |
cosmos.base.abci.v1beta1.StringEvent
StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes.
Name | Type | Description | Required |
---|---|---|---|
type | string | No | |
attributes | [ object ] | No |
cosmos.base.abci.v1beta1.TxResponse
TxResponse defines a structure containing relevant tx data and metadata. The tags are stringified and the log is JSON decoded.
Name | Type | Description | Required |
---|---|---|---|
height | string (int64) | No | |
txhash | string | The transaction hash. | No |
codespace | string | No | |
code | long | Response code. | No |
data | string | Result bytes, if any. | No |
raw_log | string | The output of the application's logger (raw string). May be non-deterministic. | No |
logs | [ object ] | The output of the application's logger (typed). May be non-deterministic. | No |
info | string | Additional information. May be non-deterministic. | No |
gas_wanted | string (int64) | Amount of gas requested for transaction. | No |
gas_used | string (int64) | Amount of gas consumed by transaction. | No |
tx | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. | No |
events | [ object ] | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 | No |
cosmos.crypto.multisig.v1beta1.CompactBitArray
CompactBitArray is an implementation of a space efficient bit array. This is used to ensure that the encoded data takes up a minimal amount of space after proto encoding. This is not thread safe, and is not intended for concurrent usage.
Name | Type | Description | Required |
---|---|---|---|
extra_bits_stored | long | No | |
elems | byte | No |
cosmos.tx.signing.v1beta1.SignMode
SignMode represents a signing mode with its own security guarantees.
This enum should be considered a registry of all known sign modes in the Cosmos ecosystem. Apps are not expected to support all known sign modes. Apps that would like to support custom sign modes are encouraged to open a small PR against this file to add a new case to this SignMode enum describing their sign mode so that different apps have a consistent version of this enum.
- SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected.
- SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx.
- SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable textual representation on top of the binary representation from SIGN_MODE_DIRECT. It is currently not supported.
- SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses
SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not
require signers signing over other signers'
signer_info
. It also allows for adding Tips in transactions.
Since: cosmos-sdk 0.46
- SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future.
- SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 (opens in a new tab)
Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,
but is not implemented on the SDK by default. To enable EIP-191, you need
to pass a custom TxConfig
that has an implementation of
SignModeHandler
for EIP-191. The SDK may decide to fully support
EIP-191 in the future.
Since: cosmos-sdk 0.45.2
Name | Type | Description | Required |
---|---|---|---|
cosmos.tx.signing.v1beta1.SignMode | string | SignMode represents a signing mode with its own security guarantees. This enum should be considered a registry of all known sign modes in the Cosmos ecosystem. Apps are not expected to support all known sign modes. Apps that would like to support custom sign modes are encouraged to open a small PR against this file to add a new case to this SignMode enum describing their sign mode so that different apps have a consistent version of this enum. - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected. - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx. - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable textual representation on top of the binary representation from SIGN_MODE_DIRECT. It is currently not supported. - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not require signers signing over other signers' signer_info . It also allows for adding Tips in transactions. Since: cosmos-sdk 0.46 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future. - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 (opens in a new tab) Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, but is not implemented on the SDK by default. To enable EIP-191, you need to pass a custom TxConfig that has an implementation of SignModeHandler for EIP-191. The SDK may decide to fully support EIP-191 in the future. Since: cosmos-sdk 0.45.2 |
cosmos.tx.v1beta1.AuthInfo
AuthInfo describes the fee and signer modes that are used to sign a transaction.
Name | Type | Description | Required |
---|---|---|---|
signer_infos | [ cosmos.tx.v1beta1.SignerInfo ] | signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee. | No |
fee | object | Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation. | No |
tip | object | Tip is the optional tip used for transactions fees paid in another denom. This field is ignored if the chain didn't enable tips, i.e. didn't add the TipDecorator in its posthandler. Since: cosmos-sdk 0.46 | No |
cosmos.tx.v1beta1.BroadcastMode
BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
- BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
- BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for the tx to be committed in a block.
- BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only.
- BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately.
Name | Type | Description | Required |
---|---|---|---|
cosmos.tx.v1beta1.BroadcastMode | string | BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for the tx to be committed in a block. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately. |
cosmos.tx.v1beta1.BroadcastTxRequest
BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.
Name | Type | Description | Required |
---|---|---|---|
tx_bytes | byte | tx_bytes is the raw transaction. | No |
mode | string | BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for the tx to be committed in a block. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately. | No |
cosmos.tx.v1beta1.BroadcastTxResponse
BroadcastTxResponse is the response type for the Service.BroadcastTx method.
Name | Type | Description | Required |
---|---|---|---|
tx_response | object | TxResponse defines a structure containing relevant tx data and metadata. The tags are stringified and the log is JSON decoded. | No |
cosmos.tx.v1beta1.Fee
Fee includes the amount of coins paid in fees and the maximum gas to be used by the transaction. The ratio yields an effective "gasprice", which must be above some miminum to be accepted into the mempool.
Name | Type | Description | Required |
---|---|---|---|
amount | [ object ] | No | |
gas_limit | string (uint64) | No | |
payer | string | if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction. | No |
granter | string | No |
cosmos.tx.v1beta1.GetBlockWithTxsResponse
GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.
Since: cosmos-sdk 0.45.2
Name | Type | Description | Required |
---|---|---|---|
txs | [ cosmos.tx.v1beta1.Tx ] | txs are the transactions in the block. | No |
block_id | object | No | |
block | object | No | |
pagination | object | pagination defines a pagination for the response. | No |
cosmos.tx.v1beta1.GetTxResponse
GetTxResponse is the response type for the Service.GetTx method.
Name | Type | Description | Required |
---|---|---|---|
tx | cosmos.tx.v1beta1.Tx | tx is the queried transaction. | No |
tx_response | object | TxResponse defines a structure containing relevant tx data and metadata. The tags are stringified and the log is JSON decoded. | No |
cosmos.tx.v1beta1.GetTxsEventResponse
GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.
Name | Type | Description | Required |
---|---|---|---|
txs | [ cosmos.tx.v1beta1.Tx ] | txs is the list of queried transactions. | No |
tx_responses | [ object ] | tx_responses is the list of queried TxResponses. | No |
pagination | object | pagination defines a pagination for the response. Deprecated post v0.46.x: use total instead. | No |
total | string (uint64) | No |
cosmos.tx.v1beta1.ModeInfo
ModeInfo describes the signing mode of a single or nested multisig signer.
Name | Type | Description | Required |
---|---|---|---|
single | object | No | |
multi | cosmos.tx.v1beta1.ModeInfo.Multi | No |
cosmos.tx.v1beta1.ModeInfo.Multi
Name | Type | Description | Required |
---|---|---|---|
bitarray | object | CompactBitArray is an implementation of a space efficient bit array. This is used to ensure that the encoded data takes up a minimal amount of space after proto encoding. This is not thread safe, and is not intended for concurrent usage. | No |
mode_infos | [ cosmos.tx.v1beta1.ModeInfo ] | No |
cosmos.tx.v1beta1.ModeInfo.Single
Name | Type | Description | Required |
---|---|---|---|
mode | string | SignMode represents a signing mode with its own security guarantees. This enum should be considered a registry of all known sign modes in the Cosmos ecosystem. Apps are not expected to support all known sign modes. Apps that would like to support custom sign modes are encouraged to open a small PR against this file to add a new case to this SignMode enum describing their sign mode so that different apps have a consistent version of this enum. - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected. - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx. - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable textual representation on top of the binary representation from SIGN_MODE_DIRECT. It is currently not supported. - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not require signers signing over other signers' signer_info . It also allows for adding Tips in transactions. Since: cosmos-sdk 0.46 - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future. - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 (opens in a new tab) Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, but is not implemented on the SDK by default. To enable EIP-191, you need to pass a custom TxConfig that has an implementation of SignModeHandler for EIP-191. The SDK may decide to fully support EIP-191 in the future. Since: cosmos-sdk 0.45.2 | No |
cosmos.tx.v1beta1.OrderBy
- 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
Name | Type | Description | Required |
---|---|---|---|
cosmos.tx.v1beta1.OrderBy | string | - 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 |
cosmos.tx.v1beta1.SignerInfo
SignerInfo describes the public key and signing mode of a single top-level signer.
Name | Type | Description | Required |
---|---|---|---|
public_key | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
mode_info | cosmos.tx.v1beta1.ModeInfo | No | |
sequence | string (uint64) | sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks. | No |
cosmos.tx.v1beta1.SimulateRequest
SimulateRequest is the request type for the Service.Simulate RPC method.
Name | Type | Description | Required |
---|---|---|---|
tx | cosmos.tx.v1beta1.Tx | tx is the transaction to simulate. Deprecated. Send raw tx bytes instead. | No |
tx_bytes | byte | tx_bytes is the raw transaction. Since: cosmos-sdk 0.43 | No |
cosmos.tx.v1beta1.SimulateResponse
SimulateResponse is the response type for the Service.SimulateRPC method.
Name | Type | Description | Required |
---|---|---|---|
gas_info | object | gas_info is the information about gas used in the simulation. | No |
result | object | result is the result of the simulation. | No |
cosmos.tx.v1beta1.Tip
Tip is the tip used for meta-transactions.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
amount | [ object ] | No | |
tipper | string | No |
cosmos.tx.v1beta1.Tx
Tx is the standard type used for broadcasting transactions.
Name | Type | Description | Required |
---|---|---|---|
body | object | TxBody is the body of a transaction that all signers sign over. | No |
auth_info | cosmos.tx.v1beta1.AuthInfo | No | |
signatures | [ byte ] | signatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position. | No |
cosmos.tx.v1beta1.TxBody
TxBody is the body of a transaction that all signers sign over.
Name | Type | Description | Required |
---|---|---|---|
messages | [ object ] | messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction. | No |
memo | string | memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122 (opens in a new tab)). | No |
timeout_height | string (uint64) | No | |
extension_options | [ object ] | No | |
non_critical_extension_options | [ object ] | No |
tendermint.abci.Event
Event allows application developers to attach additional information to ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. Later, transactions may be queried using these events.
Name | Type | Description | Required |
---|---|---|---|
type | string | No | |
attributes | [ object ] | No |
tendermint.abci.EventAttribute
EventAttribute is a single key-value pair, associated with an event.
Name | Type | Description | Required |
---|---|---|---|
key | byte | No | |
value | byte | No | |
index | boolean | No |
cosmos.upgrade.v1beta1.ModuleVersion
ModuleVersion specifies a module and its consensus version.
Since: cosmos-sdk 0.43
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
version | string (uint64) | No |
cosmos.upgrade.v1beta1.Plan
Plan specifies information about a planned upgrade and when it should occur.
Name | Type | Description | Required |
---|---|---|---|
name | string | Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. | No |
time | dateTime | Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. | No |
height | string (int64) | The height at which the upgrade must be performed. Only used if Time is not set. | No |
info | string | No | |
upgraded_client_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
cosmos.upgrade.v1beta1.QueryAppliedPlanResponse
QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC method.
Name | Type | Description | Required |
---|---|---|---|
height | string (int64) | height is the block height at which the plan was applied. | No |
cosmos.upgrade.v1beta1.QueryAuthorityResponse
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
address | string | No |
cosmos.upgrade.v1beta1.QueryCurrentPlanResponse
QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC method.
Name | Type | Description | Required |
---|---|---|---|
plan | object | plan is the current upgrade plan. | No |
cosmos.upgrade.v1beta1.QueryModuleVersionsResponse
QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method.
Since: cosmos-sdk 0.43
Name | Type | Description | Required |
---|---|---|---|
module_versions | [ object ] | module_versions is a list of module names with their consensus versions. | No |
cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse
QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.
Name | Type | Description | Required |
---|---|---|---|
upgraded_consensus_state | byte | No |
cosmos.authz.v1beta1.Grant
Grant gives permissions to execute the provide method with expiration time.
Name | Type | Description | Required |
---|---|---|---|
authorization | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
expiration | dateTime | No |
cosmos.authz.v1beta1.GrantAuthorization
Name | Type | Description | Required |
---|---|---|---|
granter | string | No | |
grantee | string | No | |
authorization | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
expiration | dateTime | No |
cosmos.authz.v1beta1.QueryGranteeGrantsResponse
QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.
Name | Type | Description | Required |
---|---|---|---|
grants | [ object ] | grants is a list of grants granted to the grantee. | No |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.authz.v1beta1.QueryGranterGrantsResponse
QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.
Name | Type | Description | Required |
---|---|---|---|
grants | [ object ] | grants is a list of grants granted by the granter. | No |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.authz.v1beta1.QueryGrantsResponse
QueryGrantsResponse is the response type for the Query/Authorizations RPC method.
Name | Type | Description | Required |
---|---|---|---|
grants | [ object ] | authorizations is a list of grants granted for grantee by granter. | No |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.feegrant.v1beta1.Grant
Name | Type | Description | Required |
---|---|---|---|
granter | string | granter is the address of the user granting an allowance of their funds. | No |
grantee | string | grantee is the address of the user being granted an allowance of another user's funds. | No |
allowance | object | allowance can be any of basic, periodic, allowed fee allowance. | No |
cosmos.feegrant.v1beta1.QueryAllowanceResponse
QueryAllowanceResponse is the response type for the Query/Allowance RPC method.
Name | Type | Description | Required |
---|---|---|---|
allowance | object | allowance is a allowance granted for grantee by granter. | No |
cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse
QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method.
Since: cosmos-sdk 0.46
Name | Type | Description | Required |
---|---|---|---|
allowances | [ object ] | allowances that have been issued by the granter. | No |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.feegrant.v1beta1.QueryAllowancesResponse
QueryAllowancesResponse is the response type for the Query/Allowances RPC method.
Name | Type | Description | Required |
---|---|---|---|
allowances | [ object ] | allowances are allowance's granted for grantee by granter. | No |
pagination | object | pagination defines an pagination for the response. | No |
cosmos.group.v1.GroupInfo
GroupInfo represents the high-level on-chain information for a group.
Name | Type | Description | Required |
---|---|---|---|
id | string (uint64) | id is the unique ID of the group. | No |
admin | string | admin is the account address of the group's admin. | No |
metadata | string | metadata is any arbitrary metadata to attached to the group. | No |
version | string (uint64) | No | |
total_weight | string | total_weight is the sum of the group members' weights. | No |
created_at | dateTime | created_at is a timestamp specifying when a group was created. | No |
cosmos.group.v1.GroupMember
GroupMember represents the relationship between a group and a member.
Name | Type | Description | Required |
---|---|---|---|
group_id | string (uint64) | group_id is the unique ID of the group. | No |
member | object | member is the member data. | No |
cosmos.group.v1.GroupPolicyInfo
GroupPolicyInfo represents the high-level on-chain information for a group policy.
Name | Type | Description | Required |
---|---|---|---|
address | string | address is the account address of group policy. | No |
group_id | string (uint64) | group_id is the unique ID of the group. | No |
admin | string | admin is the account address of the group admin. | No |
metadata | string | metadata is any arbitrary metadata to attached to the group policy. | No |
version | string (uint64) | version is used to track changes to a group's GroupPolicyInfo structure that would create a different result on a running proposal. | No |
decision_policy | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
created_at | dateTime | created_at is a timestamp specifying when a group policy was created. | No |
cosmos.group.v1.Member
Member represents a group member with an account address, non-zero weight, metadata and added_at timestamp.
Name | Type | Description | Required |
---|---|---|---|
address | string | address is the member's account address. | No |
weight | string | weight is the member's voting weight that should be greater than 0. | No |
metadata | string | metadata is any arbitrary metadata attached to the member. | No |
added_at | dateTime | added_at is a timestamp specifying when a member was added. | No |
cosmos.group.v1.Proposal
Proposal defines a group proposal. Any member of a group can submit a proposal
for a group policy to decide upon.
A proposal consists of a set of sdk.Msg
s that will be executed if the proposal
passes as well as some optional metadata associated with the proposal.
Name | Type | Description | Required |
---|---|---|---|
id | string (uint64) | id is the unique id of the proposal. | No |
group_policy_address | string | group_policy_address is the account address of group policy. | No |
metadata | string | metadata is any arbitrary metadata to attached to the proposal. | No |
proposers | [ string ] | proposers are the account addresses of the proposers. | No |
submit_time | dateTime | submit_time is a timestamp specifying when a proposal was submitted. | No |
group_version | string (uint64) | group_version tracks the version of the group at proposal submission. This field is here for informational purposes only. | No |
group_policy_version | string (uint64) | group_policy_version tracks the version of the group policy at proposal submission. When a decision policy is changed, existing proposals from previous policy versions will become invalid with the ABORTED status. This field is here for informational purposes only. | No |
status | string | status represents the high level position in the life cycle of the proposal. Initial value is Submitted. | No |
final_tally_result | object | final_tally_result contains the sums of all weighted votes for this proposal for each vote option. It is empty at submission, and only populated after tallying, at voting period end or at proposal execution, whichever happens first. | No |
voting_period_end | dateTime | voting_period_end is the timestamp before which voting must be done. Unless a successfull MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done at this point, and the final_tally_result and status fields will be accordingly updated. | No |
executor_result | string | executor_result is the final result of the proposal execution. Initial value is NotRun. | No |
messages | [ object ] | messages is a list of sdk.Msg s that will be executed if the proposal passes. | No |
cosmos.group.v1.ProposalExecutorResult
ProposalExecutorResult defines types of proposal executor results.
- PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed.
- PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor.
- PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state.
- PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state.
Name | Type | Description | Required |
---|---|---|---|
cosmos.group.v1.ProposalExecutorResult | string | ProposalExecutorResult defines types of proposal executor results. - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed. - PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor. - PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state. - PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state. |
cosmos.group.v1.ProposalStatus
ProposalStatus defines proposal statuses.
- PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed.
- PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted.
- PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome passes the group policy's decision policy.
- PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome is rejected by the group policy's decision policy.
- PROPOSAL_STATUS_ABORTED: Final status of a proposal when the group policy is modified before the final tally.
- PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner. When this happens the final status is Withdrawn.
Name | Type | Description | Required |
---|---|---|---|
cosmos.group.v1.ProposalStatus | string | ProposalStatus defines proposal statuses. - PROPOSAL_STATUS_UNSPECIFIED: An empty value is invalid and not allowed. - PROPOSAL_STATUS_SUBMITTED: Initial status of a proposal when submitted. - PROPOSAL_STATUS_ACCEPTED: Final status of a proposal when the final tally is done and the outcome passes the group policy's decision policy. - PROPOSAL_STATUS_REJECTED: Final status of a proposal when the final tally is done and the outcome is rejected by the group policy's decision policy. - PROPOSAL_STATUS_ABORTED: Final status of a proposal when the group policy is modified before the final tally. - PROPOSAL_STATUS_WITHDRAWN: A proposal can be withdrawn before the voting start time by the owner. When this happens the final status is Withdrawn. |
cosmos.group.v1.QueryGroupInfoResponse
QueryGroupInfoResponse is the Query/GroupInfo response type.
Name | Type | Description | Required |
---|---|---|---|
info | object | info is the GroupInfo for the group. | No |
cosmos.group.v1.QueryGroupMembersResponse
QueryGroupMembersResponse is the Query/GroupMembersResponse response type.
Name | Type | Description | Required |
---|---|---|---|
members | [ object ] | members are the members of the group with given group_id. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryGroupPoliciesByAdminResponse
QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.
Name | Type | Description | Required |
---|---|---|---|
group_policies | [ object ] | group_policies are the group policies info with provided admin. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryGroupPoliciesByGroupResponse
QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.
Name | Type | Description | Required |
---|---|---|---|
group_policies | [ object ] | group_policies are the group policies info associated with the provided group. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryGroupPolicyInfoResponse
QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.
Name | Type | Description | Required |
---|---|---|---|
info | object | GroupPolicyInfo represents the high-level on-chain information for a group policy. | No |
cosmos.group.v1.QueryGroupsByAdminResponse
QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.
Name | Type | Description | Required |
---|---|---|---|
groups | [ object ] | groups are the groups info with the provided admin. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryGroupsByMemberResponse
QueryGroupsByMemberResponse is the Query/GroupsByMember response type.
Name | Type | Description | Required |
---|---|---|---|
groups | [ object ] | groups are the groups info with the provided group member. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryProposalResponse
QueryProposalResponse is the Query/Proposal response type.
Name | Type | Description | Required |
---|---|---|---|
proposal | object | proposal is the proposal info. | No |
cosmos.group.v1.QueryProposalsByGroupPolicyResponse
QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.
Name | Type | Description | Required |
---|---|---|---|
proposals | [ object ] | proposals are the proposals with given group policy. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryTallyResultResponse
QueryTallyResultResponse is the Query/TallyResult response type.
Name | Type | Description | Required |
---|---|---|---|
tally | object | tally defines the requested tally. | No |
cosmos.group.v1.QueryVoteByProposalVoterResponse
QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.
Name | Type | Description | Required |
---|---|---|---|
vote | object | vote is the vote with given proposal_id and voter. | No |
cosmos.group.v1.QueryVotesByProposalResponse
QueryVotesByProposalResponse is the Query/VotesByProposal response type.
Name | Type | Description | Required |
---|---|---|---|
votes | [ object ] | votes are the list of votes for given proposal_id. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.QueryVotesByVoterResponse
QueryVotesByVoterResponse is the Query/VotesByVoter response type.
Name | Type | Description | Required |
---|---|---|---|
votes | [ object ] | votes are the list of votes by given voter. | No |
pagination | object | pagination defines the pagination in the response. | No |
cosmos.group.v1.TallyResult
TallyResult represents the sum of weighted votes for each vote option.
Name | Type | Description | Required |
---|---|---|---|
yes_count | string | yes_count is the weighted sum of yes votes. | No |
abstain_count | string | abstain_count is the weighted sum of abstainers. | No |
no_count | string | no_count is the weighted sum of no votes. | No |
no_with_veto_count | string | no_with_veto_count is the weighted sum of veto. | No |
cosmos.group.v1.Vote
Vote represents a vote for a proposal.
Name | Type | Description | Required |
---|---|---|---|
proposal_id | string (uint64) | proposal is the unique ID of the proposal. | No |
voter | string | voter is the account address of the voter. | No |
option | string | option is the voter's choice on the proposal. | No |
metadata | string | metadata is any arbitrary metadata to attached to the vote. | No |
submit_time | dateTime | submit_time is the timestamp when the vote was submitted. | No |
cosmos.group.v1.VoteOption
VoteOption enumerates the valid vote options for a given proposal.
- VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will return an error.
- VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.
- VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.
- VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.
- VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
Name | Type | Description | Required |
---|---|---|---|
cosmos.group.v1.VoteOption | string | VoteOption enumerates the valid vote options for a given proposal. - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will return an error. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. |
aioz.staking.v1beta1.Params
Params defines the parameters for the staking module.
Name | Type | Description | Required |
---|---|---|---|
unbonding_time | string | unbonding_time is the time duration of unbonding. | No |
max_validators | long | max_validators is the maximum number of validators. | No |
max_entries | long | max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). | No |
historical_entries | long | historical_entries is the number of historical entries to persist. | No |
bond_denom | string | bond_denom defines the bondable coin denomination. | No |
min_commission_rate | string | No | |
accept_all_validators | boolean | No |
aioz.staking.v1beta1.QueryParamsResponse
QueryParamsResponse is response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params holds all the parameters of this module. | No |
aioz.bonus.v1.Params
Params holds parameters for the bonus module.
Name | Type | Description | Required |
---|---|---|---|
bonus_denom | string | No | |
bonus_amount | string | No |
aioz.bonus.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
aioz.aiozrc20.v1.Owner
Owner enumerates the ownership of an AIOZRC20 contract.
- OWNER_UNSPECIFIED: OWNER_UNSPECIFIED defines an invalid/undefined owner.
- OWNER_MODULE: OWNER_MODULE aiozrc20 is owned by the aiozrc20 module account.
- OWNER_EXTERNAL: EXTERNAL aiozrc20 is owned by an external account.
Name | Type | Description | Required |
---|---|---|---|
aioz.aiozrc20.v1.Owner | string | Owner enumerates the ownership of an AIOZRC20 contract. - OWNER_UNSPECIFIED: OWNER_UNSPECIFIED defines an invalid/undefined owner. - OWNER_MODULE: OWNER_MODULE aiozrc20 is owned by the aiozrc20 module account. - OWNER_EXTERNAL: EXTERNAL aiozrc20 is owned by an external account. |
aioz.aiozrc20.v1.Params
Params defines the aiozrc20 module params.
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | parameter to enable the conversion of Cosmos coins <--> AIOZRC20 tokens. | No |
evm_hook_enabled | boolean | parameter to enable the EVM hook that converts an AIOZRC20 token to a Cosmos Coin by transferring the Tokens through a MsgEthereumTx to the ModuleAddress Ethereum address. | No |
aioz.aiozrc20.v1.QueryConverterAddressResponse
QueryConverterAddressResponse is the response type for the Query/ConverterAddress RPC method.
Name | Type | Description | Required |
---|---|---|---|
converter_address | string | No |
aioz.aiozrc20.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | Params defines the aiozrc20 module params. | No |
aioz.aiozrc20.v1.QueryTokenPairResponse
QueryTokenPairResponse is the response type for the Query/TokenPair RPC method.
Name | Type | Description | Required |
---|---|---|---|
token_pair | object | TokenPair defines an instance that records pairing consisting of a Cosmos native Coin and an AIOZRC20 token address. | No |
aioz.aiozrc20.v1.QueryTokenPairsResponse
QueryTokenPairsResponse is the response type for the Query/TokenPairs RPC method.
Name | Type | Description | Required |
---|---|---|---|
token_pairs | [ object ] | No | |
pagination | object | pagination defines the pagination in the response. | No |
aioz.aiozrc20.v1.TokenPair
TokenPair defines an instance that records pairing consisting of a Cosmos native Coin and an AIOZRC20 token address.
Name | Type | Description | Required |
---|---|---|---|
aiozrc20_address | string | No | |
denom | string | No | |
enabled | boolean | No | |
contract_owner | string | Owner enumerates the ownership of an AIOZRC20 contract. - OWNER_UNSPECIFIED: OWNER_UNSPECIFIED defines an invalid/undefined owner. - OWNER_MODULE: OWNER_MODULE aiozrc20 is owned by the aiozrc20 module account. - OWNER_EXTERNAL: EXTERNAL aiozrc20 is owned by an external account. | No |
ethermint.evm.v1.ChainConfig
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.
Name | Type | Description | Required |
---|---|---|---|
homestead_block | string | No | |
dao_fork_block | string | No | |
dao_fork_support | boolean | No | |
eip150_block | string | No | |
eip150_hash | string | No | |
eip155_block | string | No | |
eip158_block | string | No | |
byzantium_block | string | No | |
constantinople_block | string | No | |
petersburg_block | string | No | |
istanbul_block | string | No | |
muir_glacier_block | string | No | |
berlin_block | string | No | |
london_block | string | No | |
arrow_glacier_block | string | No | |
gray_glacier_block | string | No | |
merge_netsplit_block | string | No | |
shanghai_block | string | No | |
cancun_block | string | No |
ethermint.evm.v1.EstimateGasResponse
Name | Type | Description | Required |
---|---|---|---|
gas | string (uint64) | No |
ethermint.evm.v1.Log
Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node.
NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.
Name | Type | Description | Required |
---|---|---|---|
address | string | No | |
topics | [ string ] | topics is a list of topics provided by the contract. | No |
data | byte | No | |
block_number | string (uint64) | No | |
tx_hash | string | No | |
tx_index | string (uint64) | No | |
block_hash | string | No | |
index | string (uint64) | No | |
removed | boolean | removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs through a filter query. | No |
ethermint.evm.v1.MsgEthereumTx
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
Name | Type | Description | Required |
---|---|---|---|
data | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
size | double | No | |
hash | string | No | |
from | string | No |
ethermint.evm.v1.MsgEthereumTxResponse
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
Name | Type | Description | Required |
---|---|---|---|
hash | string | No | |
logs | [ object ] | logs contains the transaction hash and the proto-compatible ethereum logs. | No |
ret | byte | No | |
vm_error | string | No | |
gas_used | string (uint64) | No |
ethermint.evm.v1.Params
Name | Type | Description | Required |
---|---|---|---|
evm_denom | string | evm_denom represents the token denomination used to run the EVM state transitions. | No |
enable_create | boolean | No | |
enable_call | boolean | No | |
extra_eips | [ string (int64) ] | No | |
chain_config | object | ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. | No |
allow_unprotected_txs | boolean | allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. | No |
ethermint.evm.v1.QueryAccountResponse
QueryAccountResponse is the response type for the Query/Account RPC method.
Name | Type | Description | Required |
---|---|---|---|
balance | string | balance is the balance of the EVM denomination. | No |
code_hash | string | code_hash is the hex-formatted code bytes from the EOA. | No |
nonce | string (uint64) | nonce is the account's sequence number. | No |
ethermint.evm.v1.QueryBalanceResponse
QueryBalanceResponse is the response type for the Query/Balance RPC method.
Name | Type | Description | Required |
---|---|---|---|
balance | string | balance is the balance of the EVM denomination. | No |
ethermint.evm.v1.QueryBaseFeeResponse
QueryBaseFeeResponse returns the EIP1559 base fee.
Name | Type | Description | Required |
---|---|---|---|
base_fee | string | No |
ethermint.evm.v1.QueryCodeResponse
QueryCodeResponse is the response type for the Query/Code RPC method.
Name | Type | Description | Required |
---|---|---|---|
code | byte | code represents the code bytes from an ethereum address. | No |
ethermint.evm.v1.QueryCosmosAccountResponse
QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
Name | Type | Description | Required |
---|---|---|---|
cosmos_address | string | cosmos_address is the cosmos address of the account. | No |
sequence | string (uint64) | sequence is the account's sequence number. | No |
account_number | string (uint64) | No |
ethermint.evm.v1.QueryParamsResponse
QueryParamsResponse defines the response type for querying x/evm parameters.
Name | Type | Description | Required |
---|---|---|---|
params | object | params define the evm module parameters. | No |
ethermint.evm.v1.QueryStorageResponse
QueryStorageResponse is the response type for the Query/Storage RPC method.
Name | Type | Description | Required |
---|---|---|---|
value | string | value defines the storage state value hash associated with the given key. | No |
ethermint.evm.v1.QueryTraceBlockResponse
Name | Type | Description | Required |
---|---|---|---|
data | byte | No |
ethermint.evm.v1.QueryTraceTxResponse
Name | Type | Description | Required |
---|---|---|---|
data | byte | No |
ethermint.evm.v1.QueryValidatorAccountResponse
QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
Name | Type | Description | Required |
---|---|---|---|
account_address | string | account_address is the cosmos address of the account in bech32 format. | No |
sequence | string (uint64) | sequence is the account's sequence number. | No |
account_number | string (uint64) | No |
ethermint.evm.v1.TraceConfig
TraceConfig holds extra parameters to trace functions.
Name | Type | Description | Required |
---|---|---|---|
tracer | string | No | |
timeout | string | No | |
reexec | string (uint64) | No | |
disable_stack | boolean | No | |
disable_storage | boolean | No | |
debug | boolean | No | |
limit | integer | No | |
overrides | object | ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. | No |
enable_memory | boolean | No | |
enable_return_data | boolean | No | |
tracer_json_config | string | No |
ethermint.feemarket.v1.Params
Name | Type | Description | Required |
---|---|---|---|
no_base_fee | boolean | No | |
base_fee_change_denominator | long | base_fee_change_denominator bounds the amount the base fee can change between blocks. | No |
elasticity_multiplier | long | elasticity_multiplier bounds the maximum gas limit an EIP-1559 block may have. | No |
enable_height | string (int64) | enable_height defines at which block height the base fee calculation is enabled. | No |
base_fee | string | base_fee for EIP-1559 blocks. | No |
min_gas_price | string | No | |
min_gas_multiplier | string | No |
ethermint.feemarket.v1.QueryBaseFeeResponse
QueryBaseFeeResponse returns the EIP1559 base fee.
Name | Type | Description | Required |
---|---|---|---|
base_fee | string | No |
ethermint.feemarket.v1.QueryBlockGasResponse
QueryBlockGasResponse returns block gas used for a given height.
Name | Type | Description | Required |
---|---|---|---|
gas | string (int64) | No |
ethermint.feemarket.v1.QueryParamsResponse
QueryParamsResponse defines the response type for querying x/evm parameters.
Name | Type | Description | Required |
---|---|---|---|
params | object | params define the evm module parameters. | No |
ibc.core.client.v1.ConsensusStateWithHeight
ConsensusStateWithHeight defines a consensus state with an additional height field.
Name | Type | Description | Required |
---|---|---|---|
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
consensus_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
ibc.core.client.v1.Height
Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset
Name | Type | Description | Required |
---|---|---|---|
revision_number | string (uint64) | No | |
revision_height | string (uint64) | No |
ibc.core.client.v1.IdentifiedClientState
IdentifiedClientState defines a client state with an additional client identifier field.
Name | Type | Description | Required |
---|---|---|---|
client_id | string | No | |
client_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
ibc.core.client.v1.Params
Params defines the set of IBC light client parameters.
Name | Type | Description | Required |
---|---|---|---|
allowed_clients | [ string ] | allowed_clients defines the list of allowed client state types. | No |
ibc.core.client.v1.QueryClientParamsResponse
QueryClientParamsResponse is the response type for the Query/ClientParams RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
ibc.core.client.v1.QueryClientStateResponse
QueryClientStateResponse is the response type for the Query/ClientState RPC method. Besides the client state, it includes a proof and the height from which the proof was retrieved.
Name | Type | Description | Required |
---|---|---|---|
client_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.client.v1.QueryClientStatesResponse
QueryClientStatesResponse is the response type for the Query/ClientStates RPC method.
Name | Type | Description | Required |
---|---|---|---|
client_states | [ object ] | list of stored ClientStates of the chain. | No |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
ibc.core.client.v1.QueryClientStatusResponse
QueryClientStatusResponse is the response type for the Query/ClientStatus RPC method. It returns the current status of the IBC client.
Name | Type | Description | Required |
---|---|---|---|
status | string | No |
ibc.core.client.v1.QueryConsensusStateHeightsResponse
Name | Type | Description | Required |
---|---|---|---|
consensus_state_heights | [ object ] | No | |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
ibc.core.client.v1.QueryConsensusStateResponse
Name | Type | Description | Required |
---|---|---|---|
consensus_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.client.v1.QueryConsensusStatesResponse
Name | Type | Description | Required |
---|---|---|---|
consensus_states | [ object ] | No | |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
ibc.core.client.v1.QueryUpgradedClientStateResponse
QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method.
Name | Type | Description | Required |
---|---|---|---|
upgraded_client_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
ibc.core.client.v1.QueryUpgradedConsensusStateResponse
QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.
Name | Type | Description | Required |
---|---|---|---|
upgraded_consensus_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
ibc.core.commitment.v1.MerklePrefix
Name | Type | Description | Required |
---|---|---|---|
key_prefix | byte | No |
ibc.core.connection.v1.ConnectionEnd
ConnectionEnd defines a stateful object on a chain connected to another separate one. NOTE: there must only be 2 defined ConnectionEnds to establish a connection between two chains.
Name | Type | Description | Required |
---|---|---|---|
client_id | string | client associated with this connection. | No |
versions | [ object ] | IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection. | No |
state | string | current state of the connection end. | No |
counterparty | object | counterparty chain associated with this connection. | No |
delay_period | string (uint64) | delay period that must pass before a consensus state can be used for packet-verification NOTE: delay period logic is only implemented by some clients. | No |
ibc.core.connection.v1.Counterparty
Counterparty defines the counterparty chain associated with a connection end.
Name | Type | Description | Required |
---|---|---|---|
client_id | string | identifies the client on the counterparty chain associated with a given connection. | No |
connection_id | string | identifies the connection end on the counterparty chain associated with a given connection. | No |
prefix | object | commitment merkle prefix of the counterparty chain. | No |
ibc.core.connection.v1.IdentifiedConnection
IdentifiedConnection defines a connection with additional connection identifier field.
Name | Type | Description | Required |
---|---|---|---|
id | string | connection identifier. | No |
client_id | string | client associated with this connection. | No |
versions | [ object ] | No | |
state | string | current state of the connection end. | No |
counterparty | object | counterparty chain associated with this connection. | No |
delay_period | string (uint64) | delay period associated with this connection. | No |
ibc.core.connection.v1.Params
Params defines the set of Connection parameters.
Name | Type | Description | Required |
---|---|---|---|
max_expected_time_per_block | string (uint64) | maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the largest amount of time that the chain might reasonably take to produce the next block under normal operating conditions. A safe choice is 3-5x the expected time per block. | No |
ibc.core.connection.v1.QueryClientConnectionsResponse
Name | Type | Description | Required |
---|---|---|---|
connection_paths | [ string ] | slice of all the connection paths associated with a client. | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.connection.v1.QueryConnectionClientStateResponse
Name | Type | Description | Required |
---|---|---|---|
identified_client_state | object | IdentifiedClientState defines a client state with an additional client identifier field. | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.connection.v1.QueryConnectionConsensusStateResponse
Name | Type | Description | Required |
---|---|---|---|
consensus_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
client_id | string | No | |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.connection.v1.QueryConnectionParamsResponse
QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
ibc.core.connection.v1.QueryConnectionResponse
QueryConnectionResponse is the response type for the Query/Connection RPC method. Besides the connection end, it includes a proof and the height from which the proof was retrieved.
Name | Type | Description | Required |
---|---|---|---|
connection | object | ConnectionEnd defines a stateful object on a chain connected to another separate one. NOTE: there must only be 2 defined ConnectionEnds to establish a connection between two chains. | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.connection.v1.QueryConnectionsResponse
QueryConnectionsResponse is the response type for the Query/Connections RPC method.
Name | Type | Description | Required |
---|---|---|---|
connections | [ object ] | list of stored connections of the chain. | No |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.connection.v1.State
State defines if a connection is in one of the following states: INIT, TRYOPEN, OPEN or UNINITIALIZED.
- STATE_UNINITIALIZED_UNSPECIFIED: Default State
- STATE_INIT: A connection end has just started the opening handshake.
- STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty chain.
- STATE_OPEN: A connection end has completed the handshake.
Name | Type | Description | Required |
---|---|---|---|
ibc.core.connection.v1.State | string | State defines if a connection is in one of the following states: INIT, TRYOPEN, OPEN or UNINITIALIZED. - STATE_UNINITIALIZED_UNSPECIFIED: Default State - STATE_INIT: A connection end has just started the opening handshake. - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty chain. - STATE_OPEN: A connection end has completed the handshake. |
ibc.core.connection.v1.Version
Version defines the versioning scheme used to negotiate the IBC verison in the connection handshake.
Name | Type | Description | Required |
---|---|---|---|
identifier | string | No | |
features | [ string ] | No |
ibc.core.channel.v1.Channel
Channel defines pipeline for exactly-once packet delivery between specific modules on separate blockchains, which has at least one end capable of sending packets and one end capable of receiving packets.
Name | Type | Description | Required |
---|---|---|---|
state | string | State defines if a channel is in one of the following states: CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - STATE_UNINITIALIZED_UNSPECIFIED: Default State - STATE_INIT: A channel has just started the opening handshake. - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - STATE_OPEN: A channel has completed the handshake. Open channels are ready to send and receive packets. - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. | No |
ordering | string | - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent | No |
counterparty | object | No | |
connection_hops | [ string ] | No | |
version | string | No |
ibc.core.channel.v1.Counterparty
Name | Type | Description | Required |
---|---|---|---|
port_id | string | port on the counterparty chain which owns the other end of the channel. | No |
channel_id | string | No |
ibc.core.channel.v1.IdentifiedChannel
IdentifiedChannel defines a channel with additional port and channel identifier fields.
Name | Type | Description | Required |
---|---|---|---|
state | string | State defines if a channel is in one of the following states: CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - STATE_UNINITIALIZED_UNSPECIFIED: Default State - STATE_INIT: A channel has just started the opening handshake. - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - STATE_OPEN: A channel has completed the handshake. Open channels are ready to send and receive packets. - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. | No |
ordering | string | - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent | No |
counterparty | object | No | |
connection_hops | [ string ] | No | |
version | string | No | |
port_id | string | No | |
channel_id | string | No |
ibc.core.channel.v1.Order
- ORDER_NONE_UNSPECIFIED: zero-value for channel ordering
- ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent.
- ORDER_ORDERED: packets are delivered exactly in the order which they were sent
Name | Type | Description | Required |
---|---|---|---|
ibc.core.channel.v1.Order | string | - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent |
ibc.core.channel.v1.PacketState
PacketState defines the generic type necessary to retrieve and store packet commitments, acknowledgements, and receipts. Caller is responsible for knowing the context necessary to interpret this state as a commitment, acknowledgement, or a receipt.
Name | Type | Description | Required |
---|---|---|---|
port_id | string | channel port identifier. | No |
channel_id | string | channel unique identifier. | No |
sequence | string (uint64) | packet sequence. | No |
data | byte | embedded data that represents packet state. | No |
ibc.core.channel.v1.QueryChannelClientStateResponse
Name | Type | Description | Required |
---|---|---|---|
identified_client_state | object | IdentifiedClientState defines a client state with an additional client identifier field. | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryChannelConsensusStateResponse
Name | Type | Description | Required |
---|---|---|---|
consensus_state | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
client_id | string | No | |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryChannelResponse
QueryChannelResponse is the response type for the Query/Channel RPC method. Besides the Channel end, it includes a proof and the height from which the proof was retrieved.
Name | Type | Description | Required |
---|---|---|---|
channel | object | Channel defines pipeline for exactly-once packet delivery between specific modules on separate blockchains, which has at least one end capable of sending packets and one end capable of receiving packets. | No |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryChannelsResponse
QueryChannelsResponse is the response type for the Query/Channels RPC method.
Name | Type | Description | Required |
---|---|---|---|
channels | [ object ] | list of stored channels of the chain. | No |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryConnectionChannelsResponse
Name | Type | Description | Required |
---|---|---|---|
channels | [ object ] | list of channels associated with a connection. | No |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryNextSequenceReceiveResponse
Name | Type | Description | Required |
---|---|---|---|
next_sequence_receive | string (uint64) | No | |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryPacketAcknowledgementResponse
Name | Type | Description | Required |
---|---|---|---|
acknowledgement | byte | No | |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryPacketAcknowledgementsResponse
Name | Type | Description | Required |
---|---|---|---|
acknowledgements | [ object ] | No | |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryPacketCommitmentResponse
Name | Type | Description | Required |
---|---|---|---|
commitment | byte | No | |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryPacketCommitmentsResponse
Name | Type | Description | Required |
---|---|---|---|
commitments | [ object ] | No | |
pagination | object | PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } | No |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryPacketReceiptResponse
Name | Type | Description | Required |
---|---|---|---|
received | boolean | No | |
proof | byte | No | |
proof_height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryUnreceivedAcksResponse
Name | Type | Description | Required |
---|---|---|---|
sequences | [ string (uint64) ] | No | |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.QueryUnreceivedPacketsResponse
Name | Type | Description | Required |
---|---|---|---|
sequences | [ string (uint64) ] | No | |
height | object | Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset | No |
ibc.core.channel.v1.State
State defines if a channel is in one of the following states: CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED.
- STATE_UNINITIALIZED_UNSPECIFIED: Default State
- STATE_INIT: A channel has just started the opening handshake.
- STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain.
- STATE_OPEN: A channel has completed the handshake. Open channels are ready to send and receive packets.
- STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets.
Name | Type | Description | Required |
---|---|---|---|
ibc.core.channel.v1.State | string | State defines if a channel is in one of the following states: CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - STATE_UNINITIALIZED_UNSPECIFIED: Default State - STATE_INIT: A channel has just started the opening handshake. - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - STATE_OPEN: A channel has completed the handshake. Open channels are ready to send and receive packets. - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. |
ibc.applications.interchain_accounts.host.v1.Params
Params defines the set of on-chain interchain accounts parameters. The following parameters may be used to disable the host submodule.
Name | Type | Description | Required |
---|---|---|---|
host_enabled | boolean | host_enabled enables or disables the host submodule. | No |
allow_messages | [ string ] | allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. | No |
ibc.applications.interchain_accounts.host.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
ibc.applications.interchain_accounts.controller.v1.Params
Params defines the set of on-chain interchain accounts parameters. The following parameters may be used to disable the controller submodule.
Name | Type | Description | Required |
---|---|---|---|
controller_enabled | boolean | controller_enabled enables or disables the controller submodule. | No |
ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse
QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.
Name | Type | Description | Required |
---|---|---|---|
address | string | No |
ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
ibc.applications.transfer.v1.DenomTrace
DenomTrace contains the base denomination for ICS20 fungible tokens and the source tracing information path.
Name | Type | Description | Required |
---|---|---|---|
path | string | path defines the chain of port/channel identifiers used for tracing the source of the fungible token. | No |
base_denom | string | base denomination of the relayed fungible token. | No |
ibc.applications.transfer.v1.Params
Params defines the set of IBC transfer parameters. NOTE: To prevent a single token from being transferred, set the TransfersEnabled parameter to true and then set the bank module's SendEnabled parameter for the denomination to false.
Name | Type | Description | Required |
---|---|---|---|
send_enabled | boolean | send_enabled enables or disables all cross-chain token transfers from this chain. | No |
receive_enabled | boolean | receive_enabled enables or disables all cross-chain token transfers to this chain. | No |
ibc.applications.transfer.v1.QueryDenomHashResponse
QueryDenomHashResponse is the response type for the Query/DenomHash RPC method.
Name | Type | Description | Required |
---|---|---|---|
hash | string | hash (in hex format) of the denomination trace information. | No |
ibc.applications.transfer.v1.QueryDenomTraceResponse
QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC method.
Name | Type | Description | Required |
---|---|---|---|
denom_trace | object | DenomTrace contains the base denomination for ICS20 fungible tokens and the source tracing information path. | No |
ibc.applications.transfer.v1.QueryDenomTracesResponse
QueryConnectionsResponse is the response type for the Query/DenomTraces RPC method.
Name | Type | Description | Required |
---|---|---|---|
denom_traces | [ object ] | denom_traces returns all denominations trace information. | No |
pagination | object | pagination defines the pagination in the response. | No |
ibc.applications.transfer.v1.QueryEscrowAddressResponse
QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method.
Name | Type | Description | Required |
---|---|---|---|
escrow_address | string | No |
ibc.applications.transfer.v1.QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Name | Type | Description | Required |
---|---|---|---|
params | object | params defines the parameters of the module. | No |
ibc.applications.fee.v1.Fee
Name | Type | Description | Required |
---|---|---|---|
recv_fee | [ object ] | No | |
ack_fee | [ object ] | No | |
timeout_fee | [ object ] | No |
ibc.applications.fee.v1.FeeEnabledChannel
Name | Type | Description | Required |
---|---|---|---|
port_id | string | No | |
channel_id | string | No |
ibc.applications.fee.v1.IdentifiedPacketFees
Name | Type | Description | Required |
---|---|---|---|
packet_id | object | No | |
packet_fees | [ object ] | No |
ibc.applications.fee.v1.PacketFee
Name | Type | Description | Required |
---|---|---|---|
fee | object | No | |
refund_address | string | No | |
relayers | [ string ] | No |
ibc.applications.fee.v1.QueryCounterpartyPayeeResponse
Name | Type | Description | Required |
---|---|---|---|
counterparty_payee | string | No |
ibc.applications.fee.v1.QueryFeeEnabledChannelResponse
Name | Type | Description | Required |
---|---|---|---|
fee_enabled | boolean | No |
ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse
Name | Type | Description | Required |
---|---|---|---|
fee_enabled_channels | [ object ] | No |
ibc.applications.fee.v1.QueryIncentivizedPacketResponse
Name | Type | Description | Required |
---|---|---|---|
incentivized_packet | object | No |
ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse
Name | Type | Description | Required |
---|---|---|---|
incentivized_packets | [ object ] | No |
ibc.applications.fee.v1.QueryIncentivizedPacketsResponse
Name | Type | Description | Required |
---|---|---|---|
incentivized_packets | [ object ] | No |
ibc.applications.fee.v1.QueryPayeeResponse
Name | Type | Description | Required |
---|---|---|---|
payee_address | string | No |
ibc.applications.fee.v1.QueryTotalAckFeesResponse
Name | Type | Description | Required |
---|---|---|---|
ack_fees | [ object ] | No |
ibc.applications.fee.v1.QueryTotalRecvFeesResponse
Name | Type | Description | Required |
---|---|---|---|
recv_fees | [ object ] | No |
ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse
Name | Type | Description | Required |
---|---|---|---|
timeout_fees | [ object ] | No |
ibc.core.channel.v1.PacketId
Name | Type | Description | Required |
---|---|---|---|
port_id | string | No | |
channel_id | string | No | |
sequence | string (uint64) | No |
aioz.icamauth.v1beta1.QueryInterchainAccountResponse
QueryInterchainAccountResponse the response type for the Query/InterchainAccountAddress RPC.
Name | Type | Description | Required |
---|---|---|---|
interchain_account_address | string | No |
bech32ibc.bech32ibc.v1beta1.HrpIbcRecord
Name | Type | Description | Required |
---|---|---|---|
hrp | string | No | |
source_channel | string | No | |
ics_to_height_offset | string (uint64) | No | |
ics_to_time_offset | string | No |
bech32ibc.bech32ibc.v1beta1.QueryHrpIbcRecordResponse
Name | Type | Description | Required |
---|---|---|---|
hrp_ibc_record | object | No |
bech32ibc.bech32ibc.v1beta1.QueryHrpIbcRecordsResponse
Name | Type | Description | Required |
---|---|---|---|
hrp_ibc_records | [ object ] | No |
bech32ibc.bech32ibc.v1beta1.QueryNativeHrpResponse
Name | Type | Description | Required |
---|---|---|---|
native_hrp | string | No |
gravity.v1.Attestation
The actual content of the claims is passed in with the transaction making the claim and then passed through the call stack alongside the attestation while it is processed the key in which the attestation is stored is keyed on the exact details of the claim but there is no reason to store those exact details becuause the next message sender will kindly provide you with them.
Name | Type | Description | Required |
---|---|---|---|
observed | boolean | No | |
votes | [ string ] | No | |
height | string (uint64) | No | |
claim | object | Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } | No |
gravity.v1.BatchFees
Name | Type | Description | Required |
---|---|---|---|
token | string | No | |
total_fees | string | No | |
tx_count | string (uint64) | No |
gravity.v1.BridgeValidator
Name | Type | Description | Required |
---|---|---|---|
power | string (uint64) | No | |
evm_address | string | No |
gravity.v1.DelegateKeys
Name | Type | Description | Required |
---|---|---|---|
validator | string | No | |
orchestrator | string | No | |
evm_addresses | [ object ] | No |
gravity.v1.ERC20Token
Name | Type | Description | Required |
---|---|---|---|
contract | string | No | |
amount | string | No |
gravity.v1.EvmChainAddress
Name | Type | Description | Required |
---|---|---|---|
chain_name | string | No | |
evm_address | string | No |
gravity.v1.EvmChainParams
Name | Type | Description | Required |
---|---|---|---|
chain_name | string | No | |
contract_source_hash | string | No | |
bridge_address | string | No | |
bridge_chain_id | string (uint64) | No | |
average_block_time | string (uint64) | No | |
bridge_active | boolean | No |
gravity.v1.MsgConfirmBatch
Name | Type | Description | Required |
---|---|---|---|
chain_name | string | No | |
nonce | string (uint64) | No | |
token_contract | string | No | |
evm_signer | string | No | |
orchestrator | string | No | |
signature | string | No |
gravity.v1.MsgConfirmLogicCall
Name | Type | Description | Required |
---|---|---|---|
chain_name | string | No | |
invalidation_id | string | No | |
invalidation_nonce | string (uint64) | No | |
evm_signer | string | No | |
orchestrator | string | No | |
signature | string | No |
gravity.v1.MsgValsetConfirm
MsgValsetConfirm this is the message sent by the validators when they wish to submit their signatures over the validator set at a given block height. A validator must first call MsgSetEvmAddress to set their EVM chain address to be used for signing. Then someone (anyone) must make a ValsetRequest, the request is essentially a messaging mechanism to determine which block all validators should submit signatures over. Finally validators sign the validator set, powers, and EVM chain addresses of the entire validator set at the height of a ValsetRequest and submit that signature with this message.
If a sufficient number of validators (66% of voting power) (A) have set EVM chain addresses and (B) submit ValsetConfirm messages with their signatures it is then possible for anyone to view these signatures in the chain store and submit them to EVM chain to update the validator set
Name | Type | Description | Required |
---|---|---|---|
chain_name | string | No | |
nonce | string (uint64) | No | |
orchestrator | string | No | |
evm_address | string | No | |
signature | string | No |
gravity.v1.OutgoingLogicCall
Name | Type | Description | Required |
---|---|---|---|
transfers | [ object ] | No | |
fees | [ object ] | No | |
logic_contract_address | string | No | |
payload | byte | No | |
timeout | string (uint64) | No | |
invalidation_id | byte | No | |
invalidation_nonce | string (uint64) | No | |
cosmos_block_created | string (uint64) | No |
gravity.v1.OutgoingTransferTx
Name | Type | Description | Required |
---|---|---|---|
id | string (uint64) | No | |
sender | string | No | |
dest_address | string | No | |
erc20_token | object | No | |
erc20_fee | object | No |
gravity.v1.OutgoingTxBatch
Name | Type | Description | Required |
---|---|---|---|
batch_nonce | string (uint64) | No | |
batch_timeout | string (uint64) | No | |
transactions | [ object ] | No | |
token_contract | string | No | |
cosmos_block_created | string (uint64) | No |
gravity.v1.Params
unbond_slashing_valsets_window
The unbond slashing valsets window is used to determine how many blocks after starting to unbond a validator needs to continue signing blocks. The goal of this paramater is that when a validator leaves the set, if their leaving creates enough change in the validator set to justify an update they will sign a validator set update for the EVM chain bridge that does not include themselves. Allowing us to remove them from the EVM chain bridge and replace them with the new set gracefully.
valset_reward
These parameters allow for the bridge oracle to resolve a fork on the EVM chain without halting the chain. Once set reset bridge state will roll back events to the nonce provided in reset_bridge_nonce if and only if those events have not yet been observed (executed on the Cosmos chain). This allows for easy handling of cases where for example an EVM chain hardfork has occured and more than 1/3 of the vlaidtor set disagrees with the rest. Normally this would require a chain halt, manual genesis editing and restar to resolve with this feature a governance proposal can be used instead
bridge_active
This boolean flag can be used by governance to temporarily halt the bridge due to a vulnerability or other issue In this context halting the bridge means prevent the execution of any oracle events from EVM chain and preventing the creation of new batches that may be relayed to EVM chain. This does not prevent the creation of validator sets or slashing for not submitting validator set signatures as either of these might allow key signers to leave the validator set and steal funds on EVM chain without consequence. The practical outcome of this flag being set to 'false' is that deposits from EVM chain will not show up and withdraws from Cosmos will not execute on EVM chain.
min_chain_fee_basis_points
The minimum SendToEvmChain chain_fee
amount, in terms of basis points. e.g. 10% fee = 1000, and 0.02% fee = 2
Name | Type | Description | Required |
---|---|---|---|
gravity_id | string | No | |
signed_valsets_window | string (uint64) | No | |
signed_batches_window | string (uint64) | No | |
signed_logic_calls_window | string (uint64) | No | |
target_batch_timeout | string (uint64) | No | |
average_block_time | string (uint64) | No | |
slash_fraction_valset | byte | No | |
slash_fraction_batch | byte | No | |
slash_fraction_logic_call | byte | No | |
unbond_slashing_valsets_window | string (uint64) | No | |
slash_fraction_bad_evm_signature | byte | No | |
valset_reward | object | Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. | No |
evm_chain_blacklist | [ string ] | No | |
min_chain_fee_basis_points | string (uint64) | No | |
evm_chains | [ object ] | No |
gravity.v1.PendingIbcAutoForward
Name | Type | Description | Required |
---|---|---|---|
sender | string | No | |
foreign_receiver | string | No | |
token | object | Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. | No |
ibc_channel | string | No | |
event_nonce | string (uint64) | No |
gravity.v1.QueryAttestationsResponse
Name | Type | Description | Required |
---|---|---|---|
attestations | [ object ] | No |
gravity.v1.QueryBatchConfirmsResponse
Name | Type | Description | Required |
---|---|---|---|
confirms | [ object ] | No |
gravity.v1.QueryBatchFeeResponse
Name | Type | Description | Required |
---|---|---|---|
batch_fees | [ object ] | No |
gravity.v1.QueryBatchRequestByNonceResponse
Name | Type | Description | Required |
---|---|---|---|
batch | object | No |
gravity.v1.QueryCurrentValsetResponse
Name | Type | Description | Required |
---|---|---|---|
valset | object | No |
gravity.v1.QueryDelegateKeysByEvmAddressResponse
Name | Type | Description | Required |
---|---|---|---|
validator_address | string | No | |
orchestrator_address | string | No |
gravity.v1.QueryDelegateKeysByOrchestratorAddressResponse
Name | Type | Description | Required |
---|---|---|---|
validator_address | string | No | |
evm_addresses | [ object ] | No |
gravity.v1.QueryDelegateKeysByValidatorAddressResponse
Name | Type | Description | Required |
---|---|---|---|
orchestrator_address | string | No | |
evm_addresses | [ object ] | No |
gravity.v1.QueryDelegateKeysResponse
Name | Type | Description | Required |
---|---|---|---|
delegate_keys | [ object ] | No |
gravity.v1.QueryDenomToERC20Response
Name | Type | Description | Required |
---|---|---|---|
erc20 | string | No | |
cosmos_originated | boolean | No |
gravity.v1.QueryERC20ToDenomResponse
Name | Type | Description | Required |
---|---|---|---|
denom | string | No | |
cosmos_originated | boolean | No |
gravity.v1.QueryLastEventNonceByAddrResponse
Name | Type | Description | Required |
---|---|---|---|
event_nonce | string (uint64) | No |
gravity.v1.QueryLastObservedEvmBlockResponse
Name | Type | Description | Required |
---|---|---|---|
block | string (uint64) | No |
gravity.v1.QueryLastObservedEvmNonceResponse
Name | Type | Description | Required |
---|---|---|---|
nonce | string (uint64) | No |
gravity.v1.QueryLastPendingBatchRequestByAddrResponse
Name | Type | Description | Required |
---|---|---|---|
batch | [ object ] | No |
gravity.v1.QueryLastPendingLogicCallByAddrResponse
Name | Type | Description | Required |
---|---|---|---|
call | [ object ] | No |
gravity.v1.QueryLastPendingValsetRequestByAddrResponse
Name | Type | Description | Required |
---|---|---|---|
valsets | [ object ] | No |
gravity.v1.QueryLastValsetRequestsResponse
Name | Type | Description | Required |
---|---|---|---|
valsets | [ object ] | No |
gravity.v1.QueryLogicConfirmsResponse
Name | Type | Description | Required |
---|---|---|---|
confirms | [ object ] | No |
gravity.v1.QueryOutgoingLogicCallsResponse
Name | Type | Description | Required |
---|---|---|---|
calls | [ object ] | No |
gravity.v1.QueryOutgoingTxBatchesResponse
Name | Type | Description | Required |
---|---|---|---|
batches | [ object ] | No |
gravity.v1.QueryParamsResponse
Name | Type | Description | Required |
---|---|---|---|
params | object | unbond_slashing_valsets_window The unbond slashing valsets window is used to determine how many blocks after starting to unbond a validator needs to continue signing blocks. The goal of this paramater is that when a validator leaves the set, if their leaving creates enough change in the validator set to justify an update they will sign a validator set update for the EVM chain bridge that does not include themselves. Allowing us to remove them from the EVM chain bridge and replace them with the new set gracefully. valset_reward These parameters allow for the bridge oracle to resolve a fork on the EVM chain without halting the chain. Once set reset bridge state will roll back events to the nonce provided in reset_bridge_nonce if and only if those events have not yet been observed (executed on the Cosmos chain). This allows for easy handling of cases where for example an EVM chain hardfork has occured and more than 1/3 of the vlaidtor set disagrees with the rest. Normally this would require a chain halt, manual genesis editing and restar to resolve with this feature a governance proposal can be used instead bridge_active This boolean flag can be used by governance to temporarily halt the bridge due to a vulnerability or other issue In this context halting the bridge means prevent the execution of any oracle events from EVM chain and preventing the creation of new batches that may be relayed to EVM chain. This does not prevent the creation of validator sets or slashing for not submitting validator set signatures as either of these might allow key signers to leave the validator set and steal funds on EVM chain without consequence. The practical outcome of this flag being set to 'false' is that deposits from EVM chain will not show up and withdraws from Cosmos will not execute on EVM chain. min_chain_fee_basis_points The minimum SendToEvmChain chain_fee amount, in terms of basis points. e.g. 10% fee = 1000, and 0.02% fee = 2 | No |
gravity.v1.QueryPendingIbcAutoForwardsResponse
Name | Type | Description | Required |
---|---|---|---|
pending_ibc_auto_forwards | [ object ] | No |
gravity.v1.QueryPendingSendToEvmChainResponse
Name | Type | Description | Required |
---|---|---|---|
transfers_in_batches | [ object ] | No | |
unbatched_transfers | [ object ] | No |
gravity.v1.QueryValsetConfirmResponse
Name | Type | Description | Required |
---|---|---|---|
confirm | object | MsgValsetConfirm this is the message sent by the validators when they wish to submit their signatures over the validator set at a given block height. A validator must first call MsgSetEvmAddress to set their EVM chain address to be used for signing. Then someone (anyone) must make a ValsetRequest, the request is essentially a messaging mechanism to determine which block all validators should submit signatures over. Finally validators sign the validator set, powers, and EVM chain addresses of the entire validator set at the height of a ValsetRequest and submit that signature with this message. If a sufficient number of validators (66% of voting power) (A) have set EVM chain addresses and (B) submit ValsetConfirm messages with their signatures it is then possible for anyone to view these signatures in the chain store and submit them to EVM chain to update the validator set | No |
gravity.v1.QueryValsetConfirmsByNonceResponse
Name | Type | Description | Required |
---|---|---|---|
confirms | [ object ] | No |
gravity.v1.QueryValsetRequestResponse
Name | Type | Description | Required |
---|---|---|---|
valset | object | No |
gravity.v1.Valset
Name | Type | Description | Required |
---|---|---|---|
nonce | string (uint64) | No | |
members | [ object ] | No | |
height | string (uint64) | No | |
reward_amount | string | No | |
reward_token | string | No |