From 1b0e53607b6b3263881423ec50d80919b5671c92 Mon Sep 17 00:00:00 2001 From: fadeev Date: Wed, 6 Sep 2023 00:06:00 +0000 Subject: [PATCH] "docs: update module and OpenAPI specs from zeta-chain/node" --- .../modules/crosschain/messages.md | 11 + .../architecture/modules/fungible/messages.md | 4 +- .../architecture/modules/observer/messages.md | 9 +- static/data/openapi.swagger.yaml | 2413 +++++++++-------- 4 files changed, 1268 insertions(+), 1169 deletions(-) diff --git a/docs/architecture/modules/crosschain/messages.md b/docs/architecture/modules/crosschain/messages.md index 1e192c48..a051202e 100644 --- a/docs/architecture/modules/crosschain/messages.md +++ b/docs/architecture/modules/crosschain/messages.md @@ -132,6 +132,8 @@ message MsgVoteOnObservedOutboundTx { string cctx_hash = 2; string observed_outTx_hash = 3; uint64 observed_outTx_blockHeight = 4; + uint64 observed_outTx_gas_used = 10; + string observed_outTx_effective_gas_price = 11; string zeta_minted = 5; common.ReceiveStatus status = 6; int64 outTx_chain = 7; @@ -216,3 +218,12 @@ message MsgWhitelistERC20 { } ``` +## MsgUpdateTssAddress + +```proto +message MsgUpdateTssAddress { + string creator = 1; + string tss_pubkey = 2; +} +``` + diff --git a/docs/architecture/modules/fungible/messages.md b/docs/architecture/modules/fungible/messages.md index 7fb6c166..66b20811 100644 --- a/docs/architecture/modules/fungible/messages.md +++ b/docs/architecture/modules/fungible/messages.md @@ -2,7 +2,7 @@ ## MsgDeployFungibleCoinZRC20 -Deploys a fungible coin from a connected chains as a ZRC20 on ZetaChain. +DeployFungibleCoinZRC20 deploys a fungible coin from a connected chains as a ZRC20 on ZetaChain. If this is a gas coin, the following happens: @@ -36,7 +36,7 @@ message MsgDeployFungibleCoinZRC20 { ## MsgRemoveForeignCoin -Removes a coin from the list of foreign coins in the module's state. +RemoveForeignCoin removes a coin from the list of foreign coins in the module's state. Only the admin policy account is authorized to broadcast this message. diff --git a/docs/architecture/modules/observer/messages.md b/docs/architecture/modules/observer/messages.md index cfac959d..6ae205a8 100644 --- a/docs/architecture/modules/observer/messages.md +++ b/docs/architecture/modules/observer/messages.md @@ -2,13 +2,15 @@ ## MsgAddObserver -Not implemented. +AddObserver adds in a new observer to the store.It can be executed using an admin policy account +Once added, the function also resets keygen and pauses inbound so that a new TSS can be generated. ```proto message MsgAddObserver { string creator = 1; - int64 chain_id = 2; - ObservationType observationType = 3; + string observer_address = 2; + string zetaclient_grantee_pubkey = 3; + bool add_node_account_only = 4; } ``` @@ -50,6 +52,7 @@ Only the admin policy account is authorized to broadcast this message. message MsgUpdatePermissionFlags { string creator = 1; bool isInboundEnabled = 3; + bool isOutboundEnabled = 4; } ``` diff --git a/static/data/openapi.swagger.yaml b/static/data/openapi.swagger.yaml index 57f80145..4a1c760b 100644 --- a/static/data/openapi.swagger.yaml +++ b/static/data/openapi.swagger.yaml @@ -26462,1222 +26462,1272 @@ paths: type: boolean tags: - Query - /zeta-chain/crosschain/TSS: | + /zeta-chain/crosschain/TSS: get: - summary: Queries a tSS by index. - operationId: Query_TSS - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetTSSResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/cctx: | + summary: Queries a tSS by index. + operationId: Query_TSS + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetTSSResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/cctx: get: - summary: Queries a list of send items. - operationId: Query_CctxAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllCctxResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of send items. + operationId: Query_CctxAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/cctx/{chainID}/{nonce}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/cctx/{chainID}/{nonce}: get: - summary: Queries a send by nonce. - operationId: Query_CctxByNonce - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetCctxResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chainID - in: path - required: true - type: string - format: int64 - - name: nonce - in: path - required: true - type: string - format: uint64 - tags: - - Query - /zeta-chain/crosschain/cctx/{index}: | + summary: Queries a send by nonce. + operationId: Query_CctxByNonce + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainID + in: path + required: true + type: string + format: int64 + - name: nonce + in: path + required: true + type: string + format: uint64 + tags: + - Query + /zeta-chain/crosschain/cctx/{index}: get: - summary: Queries a send by index. - operationId: Query_Cctx - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetCctxResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query - /zeta-chain/crosschain/cctxPending: | + summary: Queries a send by index. + operationId: Query_Cctx + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/cctxPending: get: - summary: Queries a list of send items. - operationId: Query_CctxAllPending - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllCctxPendingResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chainId - in: query - required: false - type: string - format: uint64 - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of send items. + operationId: Query_CctxAllPending + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllCctxPendingResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainId + in: query + required: false + type: string + format: uint64 + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/chainNonces: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/chainNonces: get: - summary: Queries a list of chainNonces items. - operationId: Query_ChainNoncesAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllChainNoncesResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of chainNonces items. + operationId: Query_ChainNoncesAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllChainNoncesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/chainNonces/{index}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/chainNonces/{index}: get: - summary: Queries a chainNonces by index. - operationId: Query_ChainNonces - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetChainNoncesResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query - /zeta-chain/crosschain/convertGasToZeta: | + summary: Queries a chainNonces by index. + operationId: Query_ChainNonces + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetChainNoncesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/convertGasToZeta: get: - operationId: Query_ConvertGasToZeta - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryConvertGasToZetaResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chainId - in: query - required: false - type: string - format: int64 - - name: gasLimit - in: query - required: false - type: string - tags: - - Query - /zeta-chain/crosschain/gasPrice: | + operationId: Query_ConvertGasToZeta + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryConvertGasToZetaResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainId + in: query + required: false + type: string + format: int64 + - name: gasLimit + in: query + required: false + type: string + tags: + - Query + /zeta-chain/crosschain/gasPrice: get: - summary: Queries a list of gasPrice items. - operationId: Query_GasPriceAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllGasPriceResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of gasPrice items. + operationId: Query_GasPriceAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllGasPriceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/gasPrice/{index}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/gasPrice/{index}: get: - summary: Queries a gasPrice by index. - operationId: Query_GasPrice - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetGasPriceResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query - /zeta-chain/crosschain/get_tss_address: | + summary: Queries a gasPrice by index. + operationId: Query_GasPrice + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetGasPriceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/get_tss_address: get: - summary: Queries a list of GetTssAddress items. - operationId: Query_GetTssAddress - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetTssAddressResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/inTxHashToCctx: | + summary: Queries a list of GetTssAddress items. + operationId: Query_GetTssAddress + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetTssAddressResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/in_tx_hash_to_cctx_data/{inTxHash}: get: - summary: Queries a list of InTxHashToCctx items. - operationId: Query_InTxHashToCctxAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllInTxHashToCctxResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. - - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/inTxHashToCctx/{inTxHash}: | + summary: Queries a InTxHashToCctx data by index. + operationId: Query_InTxHashToCctxData + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryInTxHashToCctxDataResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: inTxHash + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/inTxHashToCctx: get: - summary: Queries a InTxHashToCctx by index. - operationId: Query_InTxHashToCctx - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetInTxHashToCctxResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: inTxHash - in: path - required: true - type: string - tags: - - Query - /zeta-chain/crosschain/in_tx_hash_to_cctx_data/{inTxHash}: | + summary: Queries a list of InTxHashToCctx items. + operationId: Query_InTxHashToCctxAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllInTxHashToCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/inTxHashToCctx/{inTxHash}: get: - summary: Queries a InTxHashToCctx data by index. - operationId: Query_InTxHashToCctxData - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryInTxHashToCctxDataResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: inTxHash - in: path - required: true - type: string - tags: - - Query - /zeta-chain/crosschain/lastBlockHeight: | + summary: Queries a InTxHashToCctx by index. + operationId: Query_InTxHashToCctx + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetInTxHashToCctxResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: inTxHash + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/lastBlockHeight: get: - summary: Queries a list of lastBlockHeight items. - operationId: Query_LastBlockHeightAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllLastBlockHeightResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of lastBlockHeight items. + operationId: Query_LastBlockHeightAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllLastBlockHeightResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/lastBlockHeight/{index}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/lastBlockHeight/{index}: get: - summary: Queries a lastBlockHeight by index. - operationId: Query_LastBlockHeight - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetLastBlockHeightResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query - /zeta-chain/crosschain/lastZetaHeight: | + summary: Queries a lastBlockHeight by index. + operationId: Query_LastBlockHeight + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetLastBlockHeightResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/crosschain/lastZetaHeight: get: - summary: Queries a list of lastMetaHeight items. - operationId: Query_LastZetaHeight - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryLastZetaHeightResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/outTxTracker: | + summary: Queries a list of lastMetaHeight items. + operationId: Query_LastZetaHeight + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryLastZetaHeightResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/outTxTracker: get: - summary: Queries a list of OutTxTracker items. - operationId: Query_OutTxTrackerAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllOutTxTrackerResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of OutTxTracker items. + operationId: Query_OutTxTrackerAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllOutTxTrackerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}: get: - summary: Queries a OutTxTracker by index. - operationId: Query_OutTxTracker - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryGetOutTxTrackerResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chainID - in: path - required: true - type: string - format: int64 - - name: nonce - in: path - required: true - type: string - format: uint64 - tags: - - Query - /zeta-chain/crosschain/outTxTrackerByChain: | + summary: Queries a OutTxTracker by index. + operationId: Query_OutTxTracker + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryGetOutTxTrackerResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chainID + in: path + required: true + type: string + format: int64 + - name: nonce + in: path + required: true + type: string + format: uint64 + tags: + - Query + /zeta-chain/crosschain/outTxTrackerByChain/{chain}: get: - operationId: Query_OutTxTrackerAllByChain - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllOutTxTrackerByChainResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chain - in: query - required: false - type: string - format: int64 - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + operationId: Query_OutTxTrackerAllByChain + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllOutTxTrackerByChainResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chain + in: path + required: true + type: string + format: int64 + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/crosschain/params: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/crosschain/params: + get: + summary: Parameters queries the parameters of the module. + operationId: Query_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/zetacorecrosschainQueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/pendingNonces: get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacorecrosschainQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/pendingNonces: | + operationId: Query_PendingNoncesAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryAllPendingNoncesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/protocolFee: get: - operationId: Query_PendingNoncesAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryAllPendingNoncesResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/crosschain/protocolFee: | + operationId: Query_ProtocolFee + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryMessagePassingProtocolFeeResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/crosschain/tssHistory: get: - operationId: Query_ProtocolFee - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/crosschainQueryMessagePassingProtocolFeeResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/all_observer_mappers: | + operationId: Query_TssHistory + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/crosschainQueryTssHistoryResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/all_observer_mappers: get: - operationId: Query_AllObserverMappers - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryAllObserverMappersResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/ballot_by_identifier/{ballot_identifier}: | + operationId: Query_AllObserverMappers + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryAllObserverMappersResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/ballot_by_identifier/{ballot_identifier}: get: - summary: Queries a list of VoterByIdentifier items. - operationId: Query_BallotByIdentifier - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryBallotByIdentifierResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: ballot_identifier - in: path - required: true - type: string - tags: - - Query - /zeta-chain/observer/blame_by_identifier/{blame_identifier}: | + summary: Queries a list of VoterByIdentifier items. + operationId: Query_BallotByIdentifier + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryBallotByIdentifierResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: ballot_identifier + in: path + required: true + type: string + tags: + - Query + /zeta-chain/observer/blame_by_identifier/{blame_identifier}: get: - summary: Queries a list of VoterByIdentifier items. - operationId: Query_BlameByIdentifier - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryBlameByIdentifierResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: blame_identifier - in: path - required: true - type: string - tags: - - Query - /zeta-chain/observer/get_all_blame_records: | + summary: Queries a list of VoterByIdentifier items. + operationId: Query_BlameByIdentifier + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryBlameByIdentifierResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: blame_identifier + in: path + required: true + type: string + tags: + - Query + /zeta-chain/observer/get_all_blame_records: get: - summary: Queries a list of VoterByIdentifier items. - operationId: Query_GetAllBlameRecords - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryAllBlameRecordsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/get_client_params_for_chain/{chain_id}: | + summary: Queries a list of VoterByIdentifier items. + operationId: Query_GetAllBlameRecords + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryAllBlameRecordsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/get_client_params_for_chain/{chain_id}: get: - summary: Queries a list of GetClientParamsForChain items. - operationId: Query_GetCoreParamsForChain - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryGetCoreParamsForChainResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: chain_id - in: path - required: true - type: string - format: int64 - tags: - - Query - /zeta-chain/observer/get_core_params: | + summary: Queries a list of GetClientParamsForChain items. + operationId: Query_GetCoreParamsForChain + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryGetCoreParamsForChainResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chain_id + in: path + required: true + type: string + format: int64 + tags: + - Query + /zeta-chain/observer/get_core_params: get: - summary: Queries a list of GetCoreParams items. - operationId: Query_GetCoreParams - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryGetCoreParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/keygen: | + summary: Queries a list of GetCoreParams items. + operationId: Query_GetCoreParams + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryGetCoreParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/keygen: get: - summary: Queries a keygen by index. - operationId: Query_Keygen - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryGetKeygenResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/nodeAccount: | + summary: Queries a keygen by index. + operationId: Query_Keygen + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryGetKeygenResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/nodeAccount: get: - summary: Queries a list of nodeAccount items. - operationId: Query_NodeAccountAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryAllNodeAccountResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of nodeAccount items. + operationId: Query_NodeAccountAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryAllNodeAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/observer/nodeAccount/{index}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/observer/nodeAccount/{index}: get: - summary: Queries a nodeAccount by index. - operationId: Query_NodeAccount - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryGetNodeAccountResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query - /zeta-chain/observer/observers_by_chain/{observation_chain}: | + summary: Queries a nodeAccount by index. + operationId: Query_NodeAccount + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryGetNodeAccountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/observer/observers_by_chain/{observation_chain}: get: - summary: Queries a list of ObserversByChainAndType items. - operationId: Query_ObserversByChain - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryObserversByChainResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: observation_chain - in: path - required: true - type: string - tags: - - Query - /zeta-chain/observer/params: | + summary: Queries a list of ObserversByChainAndType items. + operationId: Query_ObserversByChain + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryObserversByChainResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: observation_chain + in: path + required: true + type: string + tags: + - Query + /zeta-chain/observer/params: get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacoreobserverQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/permission_flags: | + summary: Parameters queries the parameters of the module. + operationId: Query_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/zetacoreobserverQueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/permission_flags: get: - operationId: Query_PermissionFlags - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryGetPermissionFlagsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/observer/supportedChains: | + operationId: Query_PermissionFlags + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryGetPermissionFlagsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/observer/supportedChains: get: - operationId: Query_SupportedChains - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQuerySupportedChainsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/zetacore/emissions/get_emmisons_factors: | + operationId: Query_SupportedChains + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQuerySupportedChainsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/emissions/get_emmisons_factors: get: - summary: Queries a list of GetEmmisonsFactors items. - operationId: Query_GetEmmisonsFactors - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/emissionsQueryGetEmmisonsFactorsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/zetacore/emissions/list_addresses: | + summary: Queries a list of GetEmmisonsFactors items. + operationId: Query_GetEmmisonsFactors + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryGetEmmisonsFactorsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/emissions/list_addresses: get: - summary: Queries a list of ListBalances items. - operationId: Query_ListPoolAddresses - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/emissionsQueryListPoolAddressesResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/zetacore/emissions/params: | + summary: Queries a list of ListBalances items. + operationId: Query_ListPoolAddresses + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryListPoolAddressesResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/emissions/params: get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacoreemissionsQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/zetacore/emissions/show_available_emissions/{address}: | + summary: Parameters queries the parameters of the module. + operationId: Query_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/zetacoreemissionsQueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/emissions/show_available_emissions/{address}: get: - summary: Queries a list of ShowAvailableEmissions items. - operationId: Query_ShowAvailableEmissions - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/emissionsQueryShowAvailableEmissionsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: address - in: path - required: true - type: string - tags: - - Query - /zeta-chain/zetacore/fungible/foreign_coins: | + summary: Queries a list of ShowAvailableEmissions items. + operationId: Query_ShowAvailableEmissions + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryShowAvailableEmissionsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: address + in: path + required: true + type: string + tags: + - Query + /zeta-chain/zetacore/fungible/foreign_coins: get: - summary: Queries a list of ForeignCoins items. - operationId: Query_ForeignCoinsAll - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/fungibleQueryAllForeignCoinsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: pagination.key - description: |- - 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. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: |- - 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. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: |- - 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. - in: query - required: false - type: boolean - - name: pagination.reverse - description: |- - reverse is set to true if results are to be returned in the descending order. + summary: Queries a list of ForeignCoins items. + operationId: Query_ForeignCoinsAll + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/fungibleQueryAllForeignCoinsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: pagination.key + description: |- + 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. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: |- + 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. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: |- + 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. + in: query + required: false + type: boolean + - name: pagination.reverse + description: |- + reverse is set to true if results are to be returned in the descending order. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /zeta-chain/zetacore/fungible/foreign_coins/{index}: | + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /zeta-chain/zetacore/fungible/foreign_coins/{index}: get: - summary: Queries a ForeignCoins by index. - operationId: Query_ForeignCoins - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/fungibleQueryGetForeignCoinsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - parameters: - - name: index - in: path - required: true - type: string - tags: - - Query - /zeta-chain/zetacore/fungible/params: | + summary: Queries a ForeignCoins by index. + operationId: Query_ForeignCoins + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/fungibleQueryGetForeignCoinsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: index + in: path + required: true + type: string + tags: + - Query + /zeta-chain/zetacore/fungible/gas_stability_pool_address: + get: + summary: Queries the address of a gas stability pool on a given chain. + operationId: Query_GasStabilityPoolAddress + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/fungibleQueryGetGasStabilityPoolAddressResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/fungible/gas_stability_pool_balance/{chain_id}: + get: + summary: Queries the balance of a gas stability pool on a given chain. + operationId: Query_GasStabilityPoolBalance + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/fungibleQueryGetGasStabilityPoolBalanceResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + parameters: + - name: chain_id + in: path + required: true + type: string + format: int64 + tags: + - Query + /zeta-chain/zetacore/fungible/params: get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacorefungibleQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/zetacore/fungible/system_contract: | + summary: Parameters queries the parameters of the module. + operationId: Query_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/zetacorefungibleQueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/fungible/system_contract: get: - summary: Queries a ZetaDepositAndCallContract by index. - operationId: Query_SystemContract - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/fungibleQueryGetSystemContractResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query - /zeta-chain/zetacore/observer/show_observer_count: | + summary: Queries a ZetaDepositAndCallContract by index. + operationId: Query_SystemContract + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/fungibleQueryGetSystemContractResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query + /zeta-chain/zetacore/observer/show_observer_count: get: - summary: Queries a list of ShowObserverCount items. - operationId: Query_ShowObserverCount - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/observerQueryShowObserverCountResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query + summary: Queries a list of ShowObserverCount items. + operationId: Query_ShowObserverCount + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/observerQueryShowObserverCountResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query definitions: cosmos.auth.v1beta1.AddressBytesToStringResponse: type: object @@ -50213,6 +50263,8 @@ definitions: type: object crosschainMsgRemoveFromOutTxTrackerResponse: type: object + crosschainMsgUpdateTssAddressResponse: + type: object crosschainMsgVoteOnObservedInboundTxResponse: type: object crosschainMsgVoteOnObservedOutboundTxResponse: @@ -50260,12 +50312,19 @@ definitions: type: string title: |- the above are commands for zetaclients - the following fields are used for the outbound tx are mined + the following fields are used when the outbound tx is mined outbound_tx_ballot_index: type: string outbound_tx_observed_external_height: type: string format: uint64 + outbound_tx_gas_used: + type: string + format: uint64 + outbound_tx_effective_gas_price: + type: string + tss_pubkey: + type: string crosschainPendingNonces: type: object properties: @@ -50440,6 +50499,14 @@ definitions: properties: feeInZeta: type: string + crosschainQueryTssHistoryResponse: + type: object + properties: + tss_list: + type: array + items: + type: object + $ref: '#/definitions/crosschainTSS' crosschainTSS: type: object properties: @@ -50536,6 +50603,20 @@ definitions: properties: foreignCoins: $ref: '#/definitions/fungibleForeignCoins' + fungibleQueryGetGasStabilityPoolAddressResponse: + type: object + properties: + cosmos_address: + type: string + evm_address: + type: string + fungibleQueryGetGasStabilityPoolBalanceResponse: + type: object + properties: + contract_address: + type: string + balance: + type: string fungibleQueryGetSystemContractResponse: type: object properties: @@ -50736,6 +50817,8 @@ definitions: properties: isInboundEnabled: type: boolean + isOutboundEnabled: + type: boolean observerPolicy_Type: type: string enum: @@ -50744,6 +50827,7 @@ definitions: - update_client_params - update_keygen_block - out_tx_tracker + - add_observer default: stop_inbound_cctx title: '- stop_inbound_cctx: some observer sees inbound tx' observerQueryAllBlameRecordsResponse: @@ -51011,4 +51095,5 @@ definitions: $ref: '#/definitions/zetacoreobserverParams' description: params holds all the parameters of this module. description: QueryParamsResponse is response type for the Query/Params RPC method. -\nhost: zetachain-athens.blockpi.network/lcd/v1/public + +host: zetachain-athens.blockpi.network/lcd/v1/public