Home

ZetaChain - gRPC Gateway docs

v1.0.0
Base URL
https://zetachain.nownodes.io

Documentation for the API of ZetaChain.

Authentication

api-keyAuthapiKey

API Key: api-key in header

MAINNET / API Referense

Authority

Queries Policies

GET
https://zetachain.nownodes.io/zeta-chain/authority/policies

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Crosschain

Queries a list of send items.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/cctx

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a send by nonce.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/cctx/{chainID}/{nonce}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chainIDstring<int64>requiredpath
noncestring<uint64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a send by index.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/cctx/{index}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

indexstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/convertGasToZeta

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chainIdstring<int64>query
gasLimitstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of gasPrice items.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/gasPrice

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a gasPrice by index.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/gasPrice/{index}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

indexstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a InTxHashToCctx data by index.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/in_tx_hash_to_cctx_data/{inTxHash}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

inTxHashstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of InTxHashToCctx items.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/inTxHashToCctx

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a InTxHashToCctx by index.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/inTxHashToCctx/{inTxHash}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

inTxHashstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/inTxTrackerByChain/{chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>requiredpath
pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/inTxTrackers

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of lastBlockHeight items.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/lastBlockHeight

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a lastBlockHeight by index.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/lastBlockHeight/{index}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

indexstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of lastMetaHeight items.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/lastZetaHeight

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of OutTxTracker items.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/outTxTracker

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a OutTxTracker by index.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chainIDstring<int64>requiredpath
noncestring<uint64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/outTxTrackerByChain/{chain}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chainstring<int64>requiredpath
pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of pending cctxs.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/pendingCctx

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>query
limitinteger<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of pending cctxs within rate limit.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/pendingCctxWithinRateLimit

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

limitinteger<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/protocolFee

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries the rate limiter flags

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/rateLimiterFlags

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries the input data of rate limiter.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/rateLimiterInput

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

limitinteger<int64>query
windowstring<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/crosschain/zetaAccounting

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Emissions

Queries a list of GetEmmisonsFactors items.

GET
https://zetachain.nownodes.io/zeta-chain/emissions/get_emissions_factors

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of ListBalances items.

GET
https://zetachain.nownodes.io/zeta-chain/emissions/list_addresses

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Parameters queries the parameters of the module.

GET
https://zetachain.nownodes.io/zeta-chain/emissions/params

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of ShowAvailableEmissions items.

GET
https://zetachain.nownodes.io/zeta-chain/emissions/show_available_emissions/{address}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

addressstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Fungible

Code hash query the code hash of a contract.

GET
https://zetachain.nownodes.io/zeta-chain/fungible/code_hash/{address}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

addressstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of ForeignCoins items.

GET
https://zetachain.nownodes.io/zeta-chain/fungible/foreign_coins

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a ForeignCoins by index.

GET
https://zetachain.nownodes.io/zeta-chain/fungible/foreign_coins/{index}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

indexstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries the address of a gas stability pool on a given chain.

GET
https://zetachain.nownodes.io/zeta-chain/fungible/gas_stability_pool_address

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries the balance of a gas stability pool on a given chain.

GET
https://zetachain.nownodes.io/zeta-chain/fungible/gas_stability_pool_balance/{chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries SystemContract

GET
https://zetachain.nownodes.io/zeta-chain/fungible/system_contract

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Lightclient

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/block_headers

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/block_headers/{block_hash}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

block_hashstring<byte>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/chain_state

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/chain_state/{chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/header_enabled_chains

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/header_supported_chains

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/lightclient/prove

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>query
tx_hashstringquery
proof.ethereum_proof.keysArray<string>query
proof.ethereum_proof.valuesArray<string>query
proof.bitcoin_proof.tx_bytesstring<byte>query
proof.bitcoin_proof.pathstring<byte>query
proof.bitcoin_proof.indexinteger<int64>query
block_hashstringquery
tx_indexstring<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

Observer

Queries a tSS by index.

GET
https://zetachain.nownodes.io/zeta-chain/observer/TSS

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of VoterByIdentifier items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/ballot_by_identifier/{ballot_identifier}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

ballot_identifierstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of VoterByIdentifier items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/blame_by_chain_and_nonce/{chain_id}/{nonce}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>requiredpath
noncestring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of VoterByIdentifier items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/blame_by_identifier/{blame_identifier}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

blame_identifierstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of chainNonces items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/chainNonces

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a chainNonces by index.

GET
https://zetachain.nownodes.io/zeta-chain/observer/chainNonces/{index}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

indexstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/observer/crosschain_flags

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of VoterByIdentifier items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/get_all_blame_records

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of GetChainParams items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/get_chain_params

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of GetChainParamsForChain items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/get_chain_params_for_chain/{chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of GetTssAddress items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/get_tss_address/{bitcoin_chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

bitcoin_chain_idstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/observer/get_tss_address_historical/{finalized_zeta_height}/{bitcoin_chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

finalized_zeta_heightstring<int64>requiredpath
bitcoin_chain_idstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Query if a voter has voted for a ballot

GET
https://zetachain.nownodes.io/zeta-chain/observer/has_voted/{ballot_identifier}/{voter_address}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

ballot_identifierstringrequiredpath
voter_addressstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a keygen by index.

GET
https://zetachain.nownodes.io/zeta-chain/observer/keygen

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of nodeAccount items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/nodeAccount

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Queries a nodeAccount by index.

GET
https://zetachain.nownodes.io/zeta-chain/observer/nodeAccount/{index}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

indexstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of ObserversByChainAndType items.

GET
https://zetachain.nownodes.io/zeta-chain/observer/observer_set

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/observer/pendingNonces

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/observer/pendingNonces/{chain_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

chain_idstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/observer/supportedChains

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

GET
https://zetachain.nownodes.io/zeta-chain/observer/tssHistory

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Parameters

pagination.keystring<byte>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.

pagination.offsetstring<uint64>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.

pagination.limitstring<uint64>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.

pagination.count_totalbooleanquery

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.

pagination.reversebooleanquery

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Response

200OK

A successful response.

default

An unexpected error response.

Zetacore

Queries all gas stability pool balances.

GET
https://zetachain.nownodes.io/zeta-chain/zetacore/fungible/gas_stability_pool_balance

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.

Queries a list of ShowObserverCount items.

GET
https://zetachain.nownodes.io/zeta-chain/zetacore/observer/show_observer_count

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Response

200OK

A successful response.

default

An unexpected error response.