Home

Injective Chain - Legacy REST and gRPC Gateway docs

v1.0.0
Base URLs
https://inj.nownodes.io
https://inj-jsonrpc.nownodes.io
https://inj-indexer.nownodes.ioNowNodes indexer
https://inj-tendermint.nownodes.io

A REST interface for state queries, legacy transactions

Authentication

api-keyAuthapiKey

API Key: api-key in header

API Reference

Feed_config

Feed_config_info

Latest_round

Latest_transmission_details

Module_state

Retrieves the entire peggy module's state

GET
https://inj.nownodes.io/peggy/v1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Owed_amount

Params

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

GET
https://inj.nownodes.io/cosmos/params/v1beta1/params

Parameters

subspacestringquery

subspace defines the module to query the parameter for.

keystringquery

key defines the key of the parameter in the subspace.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

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

GET
https://inj.nownodes.io/cosmos/params/v1beta1/subspaces

Since: cosmos-sdk 0.46

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Deployments queries deployments

GET
https://inj.nownodes.io/peggy/v1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Auth

AccountInfo queries account info which is common to all account types.

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/account_info/{address}

Since: cosmos-sdk 0.47

Parameters

addressstringrequiredpath

address is the account address string.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Accounts returns all the existing accounts.

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/accounts

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Since: cosmos-sdk 0.43

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.

Authorization

api-keyAuthapiKey in header

Account returns account details based on address.

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/accounts/{address}

Parameters

addressstringrequiredpath

address defines the address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

AccountAddressByID returns account address based on account number.

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/address_by_id/{id}

Since: cosmos-sdk 0.46.2

Parameters

idstring<int64>requiredpath

Deprecated, use account_id instead

id is the account number of the address to be queried. This field should have been an uint64 (like all account numbers), and will be updated to uint64 in a future version of the auth query.

account_idstring<uint64>query

account_id is the account number of the address to be queried.

Since: cosmos-sdk 0.47

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Bech32Prefix queries bech32Prefix

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/bech32

Since: cosmos-sdk 0.46

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

AddressBytesToString converts Account Address bytes to string

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/bech32/{address_bytes}

Since: cosmos-sdk 0.46

Parameters

address_bytesstring<byte>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

AddressStringToBytes converts Address string to bytes

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/bech32/{address_string}

Since: cosmos-sdk 0.46

Parameters

address_stringstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ModuleAccounts returns all the existing module accounts.

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/module_accounts

Since: cosmos-sdk 0.46

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ModuleAccountByName returns the module account info by module name

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/module_accounts/{name}

Parameters

namestringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params queries all parameters.

GET
https://inj.nownodes.io/cosmos/auth/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Bank

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

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/balances/{address}

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

addressstringrequiredpath

address is the address to query balances for.

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

resolve_denombooleanquery

resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.

Since: cosmos-sdk 0.50

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

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

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/balances/{address}/by_denom

Parameters

addressstringrequiredpath

address is the address to query balances for.

denomstringquery

denom is the coin denom to query balances for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

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

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/denom_owners/{denom}

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Since: cosmos-sdk 0.46

Parameters

denomstringrequiredpath

denom defines the coin denomination to query all account holders for.

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.

Authorization

api-keyAuthapiKey in header

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

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/denom_owners_by_query

Since: cosmos-sdk 0.50.3

Parameters

denomstringquery

denom defines the coin denomination to query all account holders for.

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.

Authorization

api-keyAuthapiKey in header

DenomsMetadata queries the client metadata for all registered coin denominations.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/denoms_metadata

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.

Authorization

api-keyAuthapiKey in header

DenomMetadata queries the client metadata of a given coin denomination.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/denoms_metadata/{denom}

Parameters

denomstringrequiredpath

denom is the coin denom to query the metadata for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DenomMetadataByQueryString queries the client metadata of a given coin denomination.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/denoms_metadata_by_query_string

Parameters

denomstringquery

denom is the coin denom to query the metadata for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params queries the parameters of x/bank module.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

SendEnabled queries for SendEnabled entries.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/send_enabled

This query only returns denominations that have specific SendEnabled settings. Any denomination that does not have a specific setting will use the default params.default_send_enabled, and will not be returned by this query.

Since: cosmos-sdk 0.47

Parameters

denomsArray<string>query

denoms is the specific denoms you want look up. Leave empty to get all entries.

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.

Authorization

api-keyAuthapiKey in header

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

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/spendable_balances/{address}

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Since: cosmos-sdk 0.46

Parameters

addressstringrequiredpath

address is the address to query spendable balances for.

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.

Authorization

api-keyAuthapiKey in header

SpendableBalanceByDenom queries the spendable balance of a single denom for a single account.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/spendable_balances/{address}/by_denom

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Since: cosmos-sdk 0.47

Parameters

addressstringrequiredpath

address is the address to query balances for.

denomstringquery

denom is the coin denom to query balances for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TotalSupply queries the total supply of all coins.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/supply

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

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.

Authorization

api-keyAuthapiKey in header

SupplyOf queries the supply of a single coin.

GET
https://inj.nownodes.io/cosmos/bank/v1beta1/supply/by_denom

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

denomstringquery

denom is the coin denom to query balances for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Base

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

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/abci_query

Since: cosmos-sdk 0.46

Parameters

datastring<byte>query
pathstringquery
heightstring<int64>query
provebooleanquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetLatestBlock returns the latest block.

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/blocks/latest

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetBlockByHeight queries block for given height.

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/blocks/{height}

Parameters

heightstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetNodeInfo queries the current node info.

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/node_info

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetSyncing queries node syncing.

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/syncing

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetLatestValidatorSet queries latest validator-set.

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/validatorsets/latest

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.

Authorization

api-keyAuthapiKey in header

GetValidatorSetByHeight queries validator-set at a given height.

GET
https://inj.nownodes.io/cosmos/base/tendermint/v1beta1/validatorsets/{height}

Parameters

heightstring<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.

Authorization

api-keyAuthapiKey in header

Config queries for the operator configuration.

GET
https://inj.nownodes.io/cosmos/base/node/v1beta1/config

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Status queries for the node status.

GET
https://inj.nownodes.io/cosmos/base/node/v1beta1/status

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Distribution

CommunityPool queries the community pool coins.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/community_pool

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DelegationTotalRewards queries the total rewards accrued by each validator.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards

Parameters

delegator_addressstringrequiredpath

delegator_address defines the delegator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DelegationRewards queries the total rewards accrued by a delegation.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}

Parameters

delegator_addressstringrequiredpath

delegator_address defines the delegator address to query for.

validator_addressstringrequiredpath

validator_address defines the validator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DelegatorValidators queries the validators of a delegator.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators

Parameters

delegator_addressstringrequiredpath

delegator_address defines the delegator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DelegatorWithdrawAddress queries withdraw address of a delegator.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address

Parameters

delegator_addressstringrequiredpath

delegator_address defines the delegator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params queries params of the distribution module.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}

Parameters

validator_addressstringrequiredpath

validator_address defines the validator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ValidatorCommission queries accumulated commission for a validator.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}/commission

Parameters

validator_addressstringrequiredpath

validator_address defines the validator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ValidatorOutstandingRewards queries rewards of a validator address.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards

Parameters

validator_addressstringrequiredpath

validator_address defines the validator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ValidatorSlashes queries slash events of a validator.

GET
https://inj.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}/slashes

Parameters

validator_addressstringrequiredpath

validator_address defines the validator address to query for.

starting_heightstring<uint64>query

starting_height defines the optional starting height to query the slashes.

ending_heightstring<uint64>query

starting_height defines the optional ending height to query the slashes.

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.

Authorization

api-keyAuthapiKey in header

Evidence

AllEvidence queries all evidence.

GET
https://inj.nownodes.io/cosmos/evidence/v1beta1/evidence

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.

Authorization

api-keyAuthapiKey in header

Evidence queries evidence based on evidence hash.

GET
https://inj.nownodes.io/cosmos/evidence/v1beta1/evidence/{hash}

Parameters

hashstringrequiredpath

hash defines the evidence hash of the requested evidence.

Since: cosmos-sdk 0.47

evidence_hashstring<byte>query

evidence_hash defines the hash of the requested evidence. Deprecated: Use hash, a HEX encoded string, instead.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Cosmos

Params queries all parameters of the gov module.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/params/{params_type}

Parameters

params_typestringrequiredpath

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetTxsEvent fetches txs by event.

GET
https://inj.nownodes.io/cosmos/tx/v1beta1/txs

Parameters

eventsArray<string>query

events is the list of transaction event type. Deprecated post v0.47.x: use query instead, which should contain a valid events query.

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

order_bystringORDER_BY_UNSPECIFIEDORDER_BY_ASCORDER_BY_DESCORDER_BY_UNSPECIFIEDquery
  • ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
  • ORDER_BY_ASC: ORDER_BY_ASC defines ascending order
  • ORDER_BY_DESC: ORDER_BY_DESC defines descending order
pagestring<uint64>query

page is the page number to query, starts at 1. If not provided, will default to first page.

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.

querystringquery

query defines the transaction event query that is proxied to Tendermint's TxSearch RPC method. The query must be valid.

Since cosmos-sdk 0.50

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Gov

Proposals queries all proposals based on given status.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals

Parameters

proposal_statusstringPROPOSAL_STATUS_UNSPECIFIEDPROPOSAL_STATUS_DEPOSIT_PERIODPROPOSAL_STATUS_VOTING_PERIODPROPOSAL_STATUS_PASSEDPROPOSAL_STATUS_REJECTEDPROPOSAL_STATUS_FAILEDPROPOSAL_STATUS_UNSPECIFIEDquery

proposal_status defines the status of the proposals.

  • PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
  • PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
  • PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
  • PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
  • PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
  • PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
voterstringquery

voter defines the voter address for the proposals.

depositorstringquery

depositor defines the deposit addresses from the proposals.

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.

Authorization

api-keyAuthapiKey in header

Proposal queries proposal details based on ProposalID.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Deposits queries all deposits of a single proposal.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

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.

Authorization

api-keyAuthapiKey in header

Deposit queries single deposit information based on proposalID, depositor address.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

depositorstringrequiredpath

depositor defines the deposit addresses from the proposals.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TallyResult queries the tally of a proposal vote.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/tally

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Votes queries votes of a given proposal.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/votes

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

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.

Authorization

api-keyAuthapiKey in header

Vote queries voted information based on proposalID, voterAddr.

GET
https://inj.nownodes.io/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

voterstringrequiredpath

voter defines the voter address for the proposals.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Constitution queries the chain's constitution.

GET
https://inj.nownodes.io/cosmos/gov/v1/constitution

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params queries all parameters of the gov module.

GET
https://inj.nownodes.io/cosmos/gov/v1/params/{params_type}

Parameters

params_typestringrequiredpath

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Proposals queries all proposals based on given status.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals

Parameters

proposal_statusstringPROPOSAL_STATUS_UNSPECIFIEDPROPOSAL_STATUS_DEPOSIT_PERIODPROPOSAL_STATUS_VOTING_PERIODPROPOSAL_STATUS_PASSEDPROPOSAL_STATUS_REJECTEDPROPOSAL_STATUS_FAILEDPROPOSAL_STATUS_UNSPECIFIEDquery

proposal_status defines the status of the proposals.

  • PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
  • PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
  • PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
  • PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
  • PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
  • PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
voterstringquery

voter defines the voter address for the proposals.

depositorstringquery

depositor defines the deposit addresses from the proposals.

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.

Authorization

api-keyAuthapiKey in header

Proposal queries proposal details based on ProposalID.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals/{proposal_id}

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Deposits queries all deposits of a single proposal.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals/{proposal_id}/deposits

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

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.

Authorization

api-keyAuthapiKey in header

Deposit queries single deposit information based on proposalID, depositAddr.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

depositorstringrequiredpath

depositor defines the deposit addresses from the proposals.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TallyResult queries the tally of a proposal vote.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals/{proposal_id}/tally

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Votes queries votes of a given proposal.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals/{proposal_id}/votes

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

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.

Authorization

api-keyAuthapiKey in header

Vote queries voted information based on proposalID, voterAddr.

GET
https://inj.nownodes.io/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}

Parameters

proposal_idstring<uint64>requiredpath

proposal_id defines the unique id of the proposal.

voterstringrequiredpath

voter defines the voter address for the proposals.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Mint

AnnualProvisions current minting annual provisions value.

GET
https://inj.nownodes.io/cosmos/mint/v1beta1/annual_provisions

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Inflation returns the current minting inflation value.

GET
https://inj.nownodes.io/cosmos/mint/v1beta1/inflation

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params returns the total set of minting parameters.

GET
https://inj.nownodes.io/cosmos/mint/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Slashing

Params queries the parameters of slashing module

GET
https://inj.nownodes.io/cosmos/slashing/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

SigningInfos queries signing info of all validators

GET
https://inj.nownodes.io/cosmos/slashing/v1beta1/signing_infos

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.

Authorization

api-keyAuthapiKey in header

SigningInfo queries the signing info of given cons address

GET
https://inj.nownodes.io/cosmos/slashing/v1beta1/signing_infos/{cons_address}

Parameters

cons_addressstringrequiredpath

cons_address is the address to query signing info of

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Staking

DelegatorDelegations queries all delegations of a given delegator address.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/delegations/{delegator_addr}

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

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.

Authorization

api-keyAuthapiKey in header

Redelegations queries redelegations of given address.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

src_validator_addrstringquery

src_validator_addr defines the validator address to redelegate from.

dst_validator_addrstringquery

dst_validator_addr defines the validator address to redelegate to.

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.

Authorization

api-keyAuthapiKey in header

DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

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.

Authorization

api-keyAuthapiKey in header

DelegatorValidators queries all validators info for given delegator address.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

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.

Authorization

api-keyAuthapiKey in header

DelegatorValidator queries validator info for given delegator validator pair.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}

Parameters

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

validator_addrstringrequiredpath

validator_addr defines the validator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

HistoricalInfo queries the historical info for given height.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/historical_info/{height}

Parameters

heightstring<int64>requiredpath

height defines at which height to query the historical info.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Parameters queries the staking parameters.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Pool queries the pool info.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/pool

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Validators queries all validators that match the given status.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/validators

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

statusstringquery

status enables to query for validators matching a given status.

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.

Authorization

api-keyAuthapiKey in header

Validator queries validator info for given validator address.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/validators/{validator_addr}

Parameters

validator_addrstringrequiredpath

validator_addr defines the validator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ValidatorDelegations queries delegate info for given validator.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/validators/{validator_addr}/delegations

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

validator_addrstringrequiredpath

validator_addr defines the validator address to query for.

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.

Authorization

api-keyAuthapiKey in header

Delegation queries delegate info for given validator delegator pair.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}

Parameters

validator_addrstringrequiredpath

validator_addr defines the validator address to query for.

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

UnbondingDelegation queries unbonding info for given validator delegator pair.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation

Parameters

validator_addrstringrequiredpath

validator_addr defines the validator address to query for.

delegator_addrstringrequiredpath

delegator_addr defines the delegator address to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ValidatorUnbondingDelegations queries unbonding delegations of a validator.

GET
https://inj.nownodes.io/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Parameters

validator_addrstringrequiredpath

validator_addr defines the validator address to query for.

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.

Authorization

api-keyAuthapiKey in header

Tx

TxDecode decodes the transaction.

POST
https://inj.nownodes.io/cosmos/tx/v1beta1/decode

Since: cosmos-sdk 0.47

Body

application/json

TxDecodeRequest is the request type for the Cosmos.TxDecode RPC method.

Since: cosmos-sdk 0.47

tx_bytesstring<byte>

tx_bytes is the raw transaction.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.

POST
https://inj.nownodes.io/cosmos/tx/v1beta1/decode/amino

Since: cosmos-sdk 0.47

Body

application/json

TxDecodeAminoRequest is the request type for the Cosmos.TxDecodeAmino RPC method.

Since: cosmos-sdk 0.47

amino_binarystring<byte>

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TxEncode encodes the transaction.

POST
https://inj.nownodes.io/cosmos/tx/v1beta1/encode

Since: cosmos-sdk 0.47

Body

application/json
any

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.

POST
https://inj.nownodes.io/cosmos/tx/v1beta1/encode/amino

Since: cosmos-sdk 0.47

Body

application/json

TxEncodeAminoRequest is the request type for the Cosmos.TxEncodeAmino RPC method.

Since: cosmos-sdk 0.47

amino_jsonstring

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Simulate simulates executing a transaction for estimating gas usage.

POST
https://inj.nownodes.io/cosmos/tx/v1beta1/simulate

Body

application/json
any

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

BroadcastTx broadcast transaction.

POST
https://inj.nownodes.io/cosmos/tx/v1beta1/txs

Body

application/json

BroadcastTxRequest is the request type for the Cosmos.BroadcastTxRequest RPC method.

tx_bytesstring<byte>

tx_bytes is the raw transaction.

modestringBROADCAST_MODE_UNSPECIFIEDBROADCAST_MODE_BLOCKBROADCAST_MODE_SYNCBROADCAST_MODE_ASYNCBROADCAST_MODE_UNSPECIFIED

BroadcastMode specifies the broadcast mode for the TxCosmos.Broadcast RPC method.

  • BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
  • BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
  • BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only.
  • BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

GetBlockWithTxs fetches a block with decoded txs.

GET
https://inj.nownodes.io/cosmos/tx/v1beta1/txs/block/{height}

Since: cosmos-sdk 0.45.2

Parameters

heightstring<int64>requiredpath

height is the height of the block to query.

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.

Authorization

api-keyAuthapiKey in header

GetTx fetches a tx by hash.

GET
https://inj.nownodes.io/cosmos/tx/v1beta1/txs/{hash}

Parameters

hashstringrequiredpath

hash is the tx hash to query, encoded as a hex string.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Upgrade

AppliedPlan queries a previously applied upgrade plan by its name.

GET
https://inj.nownodes.io/cosmos/upgrade/v1beta1/applied_plan/{name}

Parameters

namestringrequiredpath

name is the name of the applied plan to query for.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Returns the account with authority to conduct upgrades

GET
https://inj.nownodes.io/cosmos/upgrade/v1beta1/authority

Since: cosmos-sdk 0.46

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

CurrentPlan queries the current upgrade plan.

GET
https://inj.nownodes.io/cosmos/upgrade/v1beta1/current_plan

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ModuleVersions queries the list of module versions from state.

GET
https://inj.nownodes.io/cosmos/upgrade/v1beta1/module_versions

Since: cosmos-sdk 0.43

Parameters

module_namestringquery

module_name is a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

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

GET
https://inj.nownodes.io/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}

Parameters

last_heightstring<int64>requiredpath

last height of the current chain must be sent in request as this is the height under which next consensus state is stored

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Authz

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

GET
https://inj.nownodes.io/cosmos/authz/v1beta1/grants

Parameters

granterstringquery
granteestringquery
msg_type_urlstringquery

Optional, msg_type_url, when set, will query only grants matching given msg type.

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.

Authorization

api-keyAuthapiKey in header

GranteeGrants returns a list of GrantAuthorization by grantee.

GET
https://inj.nownodes.io/cosmos/authz/v1beta1/grants/grantee/{grantee}

Since: cosmos-sdk 0.46

Parameters

granteestringrequiredpath
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.

Authorization

api-keyAuthapiKey in header

GranterGrants returns list of GrantAuthorization, granted by granter.

GET
https://inj.nownodes.io/cosmos/authz/v1beta1/grants/granter/{granter}

Since: cosmos-sdk 0.46

Parameters

granterstringrequiredpath
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.

Authorization

api-keyAuthapiKey in header

Feegrant

Allowance returns granted allwance to the grantee by the granter.

GET
https://inj.nownodes.io/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}

Parameters

granterstringrequiredpath

granter is the address of the user granting an allowance of their funds.

granteestringrequiredpath

grantee is the address of the user being granted an allowance of another user's funds.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Allowances returns all the grants for the given grantee address.

GET
https://inj.nownodes.io/cosmos/feegrant/v1beta1/allowances/{grantee}

Parameters

granteestringrequiredpath
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.

Authorization

api-keyAuthapiKey in header

AllowancesByGranter returns all the grants given by an address

GET
https://inj.nownodes.io/cosmos/feegrant/v1beta1/issued/{granter}

Since: cosmos-sdk 0.46

Parameters

granterstringrequiredpath
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.

Authorization

api-keyAuthapiKey in header

Code

Codes gets the metadata for all stored wasm codes

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/code

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.

Authorization

api-keyAuthapiKey in header

Code gets the binary code and metadata for a singe wasm code

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/code/{code_id}

Parameters

code_idstring<uint64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ContractsByCode lists all smart contracts for a code id

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/code/{code_id}/contracts

Parameters

code_idstring<uint64>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.

Authorization

api-keyAuthapiKey in header

Codes

Params gets the module params

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/codes/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

PinnedCodes gets the pinned code ids

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/codes/pinned

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.

Authorization

api-keyAuthapiKey in header

Contract

ContractInfo gets the contract meta data

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/contract/{address}

Parameters

addressstringrequiredpath

address is the address of the contract to query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ContractHistory gets the contract code history

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/contract/{address}/history

Parameters

addressstringrequiredpath

address is the address of the contract to query

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.

Authorization

api-keyAuthapiKey in header

RawContractState gets single key from the raw store data of a contract

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}

Parameters

addressstringrequiredpath

address is the address of the contract

query_datastring<byte>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

SmartContractState get smart query result from the contract

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}

Parameters

addressstringrequiredpath

address is the address of the contract

query_datastring<byte>requiredpath

QueryData contains the query data passed to the contract

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

AllContractState gets all raw store data for a single contract

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/contract/{address}/state

Parameters

addressstringrequiredpath

address is the address of the contract

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.

Authorization

api-keyAuthapiKey in header

ContractsByCreator gets the contracts by creator

GET
https://inj.nownodes.io/cosmwasm/wasm/v1/contracts/creator/{creator_address}

Parameters

creator_addressstringrequiredpath

CreatorAddress is the address of contract creator

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.

Authorization

api-keyAuthapiKey in header

Apps

EscrowAddress returns the escrow address for a particular port and channel id.

GET
https://inj.nownodes.io/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address

Parameters

channel_idstringrequiredpath

unique channel identifier

port_idstringrequiredpath

unique port identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DenomHash queries a denomination hash information.

GET
https://inj.nownodes.io/ibc/apps/transfer/v1/denom_hashes/{trace}

Parameters

tracestringrequiredpath

The denomination trace ([port_id]/[channel_id])+/[denom]

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DenomTraces queries all denomination traces.

GET
https://inj.nownodes.io/ibc/apps/transfer/v1/denom_traces

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.

Authorization

api-keyAuthapiKey in header

DenomTrace queries a denomination trace information.

GET
https://inj.nownodes.io/ibc/apps/transfer/v1/denom_traces/{hash}

Parameters

hashstringrequiredpath

hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.

GET
https://inj.nownodes.io/ibc/apps/transfer/v1/denoms/{denom}/total_escrow

Parameters

denomstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params queries all parameters of the ibc-transfer module.

GET
https://inj.nownodes.io/ibc/apps/transfer/v1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Core

Channels queries all the IBC channels of a chain.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels

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.

Authorization

api-keyAuthapiKey in header

Channel queries an IBC Channel.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ChannelClientState queries for the client state for the channel associated with the provided channel identifiers.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/client_state

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

revision_numberstring<uint64>requiredpath

revision number of the consensus state

revision_heightstring<uint64>requiredpath

revision height of the consensus state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

NextSequenceReceive returns the next receive sequence for a given channel.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

NextSequenceSend returns the next send sequence for a given channel.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/next_sequence_send

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

PacketAcknowledgements returns all the packet acknowledgements associated with a channel.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

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

packet_commitment_sequencesArray<string>query

list of packet sequences.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

PacketAcknowledgement queries a stored packet acknowledgement hash.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

sequencestring<uint64>requiredpath

packet sequence

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

PacketCommitments returns all the packet commitments hashes associated with a channel.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

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.

Authorization

api-keyAuthapiKey in header

UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

packet_ack_sequencesArray<string>requiredpath

list of acknowledgement sequences

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

packet_commitment_sequencesArray<string>requiredpath

list of packet sequences

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

PacketCommitment queries a stored packet commitment hash.

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

sequencestring<uint64>requiredpath

packet sequence

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

PacketReceipt queries if a given packet sequence has been received on the queried chain

GET
https://inj.nownodes.io/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}

Parameters

channel_idstringrequiredpath

channel unique identifier

port_idstringrequiredpath

port unique identifier

sequencestring<uint64>requiredpath

packet sequence

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ConnectionChannels queries all the channels associated with a connection end.

GET
https://inj.nownodes.io/ibc/core/channel/v1/connections/{connection}/channels

Parameters

connectionstringrequiredpath

connection unique identifier

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.

Authorization

api-keyAuthapiKey in header

ClientStates queries all the IBC light clients of a chain.

GET
https://inj.nownodes.io/ibc/core/client/v1/client_states

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.

Authorization

api-keyAuthapiKey in header

ClientState queries an IBC light client.

GET
https://inj.nownodes.io/ibc/core/client/v1/client_states/{client_id}

Parameters

client_idstringrequiredpath

client state unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Status queries the status of an IBC client.

GET
https://inj.nownodes.io/ibc/core/client/v1/client_status/{client_id}

Parameters

client_idstringrequiredpath

client unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ConsensusStates queries all the consensus state associated with a given client.

GET
https://inj.nownodes.io/ibc/core/client/v1/consensus_states/{client_id}

Parameters

client_idstringrequiredpath

client identifier

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.

Authorization

api-keyAuthapiKey in header

ConsensusStateHeights queries the height of every consensus states associated with a given client.

GET
https://inj.nownodes.io/ibc/core/client/v1/consensus_states/{client_id}/heights

Parameters

client_idstringrequiredpath

client identifier

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.

Authorization

api-keyAuthapiKey in header

ConsensusState queries a consensus state associated with a client state at a given height.

GET
https://inj.nownodes.io/ibc/core/client/v1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}

Parameters

client_idstringrequiredpath

client identifier

revision_numberstring<uint64>requiredpath

consensus state revision number

revision_heightstring<uint64>requiredpath

consensus state revision height

latest_heightbooleanquery

latest_height overrrides the height field and queries the latest stored ConsensusState.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ClientParams queries all parameters of the ibc client submodule.

GET
https://inj.nownodes.io/ibc/core/client/v1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

UpgradedClientState queries an Upgraded IBC light client.

GET
https://inj.nownodes.io/ibc/core/client/v1/upgraded_client_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

UpgradedConsensusState queries an Upgraded IBC consensus state.

GET
https://inj.nownodes.io/ibc/core/client/v1/upgraded_consensus_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ClientConnections queries the connection paths associated with a client state.

GET
https://inj.nownodes.io/ibc/core/connection/v1/client_connections/{client_id}

Parameters

client_idstringrequiredpath

client identifier associated with a connection

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Connections queries all the IBC connections of a chain.

GET
https://inj.nownodes.io/ibc/core/connection/v1/connections

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.

Authorization

api-keyAuthapiKey in header

Connection queries an IBC connection end.

GET
https://inj.nownodes.io/ibc/core/connection/v1/connections/{connection_id}

Parameters

connection_idstringrequiredpath

connection unique identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ConnectionClientState queries the client state associated with the connection.

GET
https://inj.nownodes.io/ibc/core/connection/v1/connections/{connection_id}/client_state

Parameters

connection_idstringrequiredpath

connection identifier

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ConnectionConsensusState queries the consensus state associated with the connection.

GET
https://inj.nownodes.io/ibc/core/connection/v1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}

Parameters

connection_idstringrequiredpath

connection identifier

revision_numberstring<uint64>requiredpath
revision_heightstring<uint64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

ConnectionParams queries all parameters of the ibc connection submodule.

GET
https://inj.nownodes.io/ibc/core/connection/v1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Exchange

GET
https://inj.nownodes.io/injective/exchange/v1beta1/atomic_order_fee_multiplier

Parameters

market_idstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves mismatches between available vs. total balance

GET
https://inj.nownodes.io/injective/exchange/v1beta1/balance_mismatches/{dust_factor}

Parameters

dust_factorstring<int64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves available and total balances with balance holds

GET
https://inj.nownodes.io/injective/exchange/v1beta1/balances_with_balance_holds

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a spot market's orderbook by marketID

GET
https://inj.nownodes.io/injective/exchange/v1beta1/binary_options/markets

Parameters

statusstringquery

Status of the market, for convenience it is set to string - not enum.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a derivative market's corresponding address for fees that contribute to the market's insurance fund

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/market_address/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a list of derivative markets.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/markets

Parameters

statusstringquery

Status of the market, for convenience it is set to string - not enum.

market_idsArray<string>query

Filter by market IDs.

with_mid_price_and_tobbooleanquery

Flag to return the markets mid price and top of the book buy and sell orders.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a derivative market by ticker

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/markets/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a derivative market's mid-price

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/mid_price_and_tob/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a derivative market's orderbook by marketID

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/orderbook/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

limitstring<uint64>query
limit_cumulative_notionalstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a trader's derivative conditional orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/orders/conditional/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath
subaccount_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves all account address derivative orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/orders/{market_id}/account/{account_address}

Parameters

market_idstringrequiredpath

Market ID for the market

account_addressstringrequiredpath

Account address of the trader

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a trader's derivative orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/orders/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath

Market ID for the market

subaccount_idstringrequiredpath

SubaccountID of the trader

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a trader's derivative orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/orders_by_hashes/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath

Market ID for the market

subaccount_idstringrequiredpath

SubaccountID of the trader

order_hashesArray<string>query

the order hashes.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a trader's transient derivative orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/derivative/transient_orders/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath

Market ID for the market

subaccount_idstringrequiredpath

SubaccountID of the trader

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves subaccount's position in market

GET
https://inj.nownodes.io/injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id}

Parameters

subaccount_idstringrequiredpath
market_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the aggregate volume for the specified market

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/aggregateMarketVolume/{market_id}

Parameters

market_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the aggregate market volumes for specified markets

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/aggregateMarketVolumes

Parameters

market_idsArray<string>query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the aggregate volumes for the specified account or subaccount

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/aggregateVolume/{account}

Parameters

accountstringrequiredpath

can either be an address or a subaccount

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the aggregate volumes for specified accounts

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/aggregateVolumes

Parameters

accountsArray<string>query
market_idsArray<string>query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the denom decimals for a denom.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/denom_decimal/{denom}

Parameters

denomstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the denom decimals for multiple denoms. Returns all denom decimals if unspecified.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/denom_decimals

Parameters

denomsArray<string>query

denoms can be empty to query all denom decimals.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves all of the balances of all users on the exchange.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/exchangeBalances

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a Subaccount's Deposits

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/subaccountDeposit

Parameters

subaccount_idstringquery
denomstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a Subaccount's Deposits

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/subaccountDeposits

Parameters

subaccount_idstringquery
subaccount.traderstringquery
subaccount.subaccount_nonceinteger<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a subaccount's trade nonce

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchange/{subaccount_id}

Parameters

subaccount_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves exchange params

GET
https://inj.nownodes.io/injective/exchange/v1beta1/exchangeParams

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves expiry market info

GET
https://inj.nownodes.io/injective/exchange/v1beta1/expiry_market_info/{market_id}

Parameters

market_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the account's fee discount info

GET
https://inj.nownodes.io/injective/exchange/v1beta1/fee_discount_account_info/{account}

Parameters

accountstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the fee discount schedule

GET
https://inj.nownodes.io/injective/exchange/v1beta1/fee_discount_schedule

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves fee discount tier stats

GET
https://inj.nownodes.io/injective/exchange/v1beta1/fee_discount_tier_stats

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves historical trade records for a given market ID

GET
https://inj.nownodes.io/injective/exchange/v1beta1/historical_trade_records

Parameters

market_idstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves if the account is opted out of rewards

GET
https://inj.nownodes.io/injective/exchange/v1beta1/is_opted_out_of_rewards/{account}

Parameters

accountstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

MarketVolatility computes the volatility for spot and derivative markets trading history.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/market_volatility/{market_id}

Parameters

market_idstringrequiredpath
trade_history_options.trade_grouping_secstring<uint64>query

TradeGroupingSec of 0 means use the chain's default grouping.

trade_history_options.max_agestring<uint64>query

MaxAge restricts the trade records oldest age in seconds from the current block time to consider. A value of 0 means use all the records present on the chain.

trade_history_options.include_raw_historybooleanquery

If IncludeRawHistory is true, the raw underlying data used for the computation is included in the response.

trade_history_options.include_metadatabooleanquery

If IncludeMetadata is true, metadata on the computation is included in the response.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves market making pool info

GET
https://inj.nownodes.io/injective/exchange/v1beta1/mito_vault_infos

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the entire exchange module's state

GET
https://inj.nownodes.io/injective/exchange/v1beta1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves all accounts opted out of rewards

GET
https://inj.nownodes.io/injective/exchange/v1beta1/opted_out_of_rewards_accounts

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves subaccount's order metadata

GET
https://inj.nownodes.io/injective/exchange/v1beta1/order_metadata/{subaccount_id}

Parameters

subaccount_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves subaccount's orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/orders/{subaccount_id}

Parameters

subaccount_idstringrequiredpath
market_idstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the pending account and total trade rewards points

GET
https://inj.nownodes.io/injective/exchange/v1beta1/pending_trade_reward_points

Parameters

accountsArray<string>query
pending_pool_timestampstring<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves perpetual market funding

GET
https://inj.nownodes.io/injective/exchange/v1beta1/perpetual_market_funding/{market_id}

Parameters

market_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves perpetual market info

GET
https://inj.nownodes.io/injective/exchange/v1beta1/perpetual_market_info/{market_id}

Parameters

market_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the entire exchange module's positions

GET
https://inj.nownodes.io/injective/exchange/v1beta1/positions

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves subaccount's positions

GET
https://inj.nownodes.io/injective/exchange/v1beta1/positions/{subaccount_id}

Parameters

subaccount_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves subaccount's position in market

GET
https://inj.nownodes.io/injective/exchange/v1beta1/positions/{subaccount_id}/{market_id}

Parameters

subaccount_idstringrequiredpath
market_idstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a spot market with extra information.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/full_market/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

with_mid_price_and_tobbooleanquery

Flag to return the markets mid price and top of the book buy and sell orders.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a list of spot markets with extra information.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/full_markets

Parameters

statusstringquery

Status of the market, for convenience it is set to string - not enum.

market_idsArray<string>query

Filter by market IDs.

with_mid_price_and_tobbooleanquery

Flag to return the markets mid price and top of the book buy and sell orders.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a list of spot markets.

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/markets

Parameters

statusstringquery

Status of the market, for convenience it is set to string - not enum.

market_idsArray<string>query

Filter by market IDs.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a spot market by ticker

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/markets/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a spot market's mid-price

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a spot market's orderbook by marketID

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/orderbook/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

limitstring<uint64>query
order_sidestringSide_UnspecifiedBuySellSide_Unspecifiedquery
  • Side_Unspecified: will return both
limit_cumulative_notionalstringquery
limit_cumulative_quantitystringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves all account address spot orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/orders/{market_id}/account/{account_address}

Parameters

market_idstringrequiredpath

Market ID for the market

account_addressstringrequiredpath

Account address of the trader

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a trader's spot orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/orders/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath

Market ID for the market

subaccount_idstringrequiredpath

SubaccountID of the trader

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves spot orders corresponding to specified order hashes for a given subaccountID and marketID

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/orders_by_hashes/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath

Market ID for the market

subaccount_idstringrequiredpath

SubaccountID of the trader

order_hashesArray<string>query

the order hashes.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves a trader's transient spot orders

GET
https://inj.nownodes.io/injective/exchange/v1beta1/spot/transient_orders/{market_id}/{subaccount_id}

Parameters

market_idstringrequiredpath

Market ID for the market

subaccount_idstringrequiredpath

SubaccountID of the trader

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the trade reward campaign

GET
https://inj.nownodes.io/injective/exchange/v1beta1/trade_reward_campaign

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the account and total trade rewards points

GET
https://inj.nownodes.io/injective/exchange/v1beta1/trade_reward_points

Parameters

accountsArray<string>query
pending_pool_timestampstring<int64>query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

QueryMarketIDFromVault returns the market ID for a given vault subaccount ID

GET
https://inj.nownodes.io/injective/exchange/v1beta1/vault_market_id/{vault_address}

Parameters

vault_addressstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Wasmx

Retrieves the entire wasmx module's state

GET
https://inj.nownodes.io/injective/wasmx/v1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves wasmx params

GET
https://inj.nownodes.io/injective/wasmx/v1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves contract registration info

GET
https://inj.nownodes.io/injective/wasmx/v1/registration_info/{contract_address}

Parameters

contract_addressstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Auction

Retrieves current auction basket with current highest bid and bidder

GET
https://inj.nownodes.io/injective/auction/v1beta1/basket

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the entire auction module's state

GET
https://inj.nownodes.io/injective/auction/v1beta1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves auction params

GET
https://inj.nownodes.io/injective/auction/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Oracle

Retrieves the state for all band ibc price feeds

GET
https://inj.nownodes.io/injective/oracle/v1beta1/band_ibc_price_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the state for all band price feeds

GET
https://inj.nownodes.io/injective/oracle/v1beta1/band_price_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the band relayers

GET
https://inj.nownodes.io/injective/oracle/v1beta1/band_relayers

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the state for all coinbase price feeds

GET
https://inj.nownodes.io/injective/oracle/v1beta1/coinbase_price_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves historical price records for a given OracleType and Symbol

GET
https://inj.nownodes.io/injective/oracle/v1beta1/historical_price_records

Parameters

oraclestringUnspecifiedBandPriceFeedCoinbaseChainlinkRazorDiaAPI3UmaPythBandIBCProviderUnspecifiedquery
symbol_idstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the entire oracle module's state

GET
https://inj.nownodes.io/injective/oracle/v1beta1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves oracle params

GET
https://inj.nownodes.io/injective/oracle/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/injective/oracle/v1beta1/price

Parameters

oracle_typestringUnspecifiedBandPriceFeedCoinbaseChainlinkRazorDiaAPI3UmaPythBandIBCProviderUnspecifiedquery
basestringquery
quotestringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the state for all price feeds

GET
https://inj.nownodes.io/injective/oracle/v1beta1/pricefeed_price_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the state for all provider price feeds

GET
https://inj.nownodes.io/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}

Parameters

providerstringrequiredpath
symbolstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/injective/oracle/v1beta1/provider_prices

Parameters

providerstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/injective/oracle/v1beta1/providers

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/injective/oracle/v1beta1/pyth_price

Parameters

price_idstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the state for all pyth price feeds

GET
https://inj.nownodes.io/injective/oracle/v1beta1/pyth_price_states

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves mixed volatility value for the specified pair of base/quote

GET
https://inj.nownodes.io/injective/oracle/v1beta1/volatility

Parameters

base_info.symbolstringquery
base_info.oracle_typestringUnspecifiedBandPriceFeedCoinbaseChainlinkRazorDiaAPI3UmaPythBandIBCProviderUnspecifiedquery
base_info.scale_factorinteger<int64>query
quote_info.symbolstringquery
quote_info.oracle_typestringUnspecifiedBandPriceFeedCoinbaseChainlinkRazorDiaAPI3UmaPythBandIBCProviderUnspecifiedquery
quote_info.scale_factorinteger<int64>query
oracle_history_options.max_agestring<uint64>query

MaxAge restricts the oracle price records oldest age in seconds from the current block time to consider. A value of 0 means use all the records present on the chain.

oracle_history_options.include_raw_historybooleanquery

If IncludeRawHistory is true, the raw underlying data used for the computation is included in the response.

oracle_history_options.include_metadatabooleanquery

If IncludeMetadata is true, metadata on the computation is included in the response.

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

claim

GET
https://inj.nownodes.io/peggy/v1/oracle/event/{address}

Parameters

addressstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Insurance

Retrives the value of insurance fund share token at current price (not pending redemption)

GET
https://inj.nownodes.io/injective/insurance/v1beta1/estimated_redemptions

Parameters

marketIdstringquery
addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves individual insurance fund information from market id

GET
https://inj.nownodes.io/injective/insurance/v1beta1/insurance_fund/{market_id}

Parameters

market_idstringrequiredpath

Market ID for the market

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves all insurance funds

GET
https://inj.nownodes.io/injective/insurance/v1beta1/insurance_funds

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the entire insurance module's state

GET
https://inj.nownodes.io/injective/insurance/v1beta1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves insurance params

GET
https://inj.nownodes.io/injective/insurance/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves pending redemptions' share token at current price

GET
https://inj.nownodes.io/injective/insurance/v1beta1/pending_redemptions

Parameters

marketIdstringquery
addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Tokenfactory

DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom.

GET
https://inj.nownodes.io/injective/tokenfactory/v1beta1/denoms/{creator}/{sub_denom}/authority_metadata

Parameters

creatorstringrequiredpath
sub_denomstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator.

GET
https://inj.nownodes.io/injective/tokenfactory/v1beta1/denoms_from_creator/{creator}

Parameters

creatorstringrequiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Retrieves the entire auction module's state

GET
https://inj.nownodes.io/injective/tokenfactory/v1beta1/module_state

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Params defines a gRPC query method that returns the tokenfactory module's parameters.

GET
https://inj.nownodes.io/injective/tokenfactory/v1beta1/params

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Batch

GET
https://inj.nownodes.io/peggy/v1/batch

Parameters

noncestring<uint64>query
contract_addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/batch/confirms

Parameters

noncestring<uint64>query
contract_addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/batch/last

Parameters

addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/batch/outgoingtx

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/batchfees

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Confirms

GET
https://inj.nownodes.io/peggy/v1/confirms/{nonce}

Parameters

noncestring<uint64>requiredpath

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Cosmos_originated

GET
https://inj.nownodes.io/peggy/v1/cosmos_originated/denom_to_erc20

Parameters

denomstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/cosmos_originated/erc20_to_denom

Parameters

erc20stringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Missing_nonces

GET
https://inj.nownodes.io/peggy/v1/missing_nonces

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Pending_send_to_eth

batch

GET
https://inj.nownodes.io/peggy/v1/pending_send_to_eth

Parameters

sender_addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Query_delegate_keys_by_eth

GET
https://inj.nownodes.io/peggy/v1/query_delegate_keys_by_eth

Parameters

eth_addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Query_delegate_keys_by_orchestrator

GET
https://inj.nownodes.io/peggy/v1/query_delegate_keys_by_orchestrator

Parameters

orchestrator_addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Query_delegate_keys_by_validator

GET
https://inj.nownodes.io/peggy/v1/query_delegate_keys_by_validator

Parameters

validator_addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

Valset

GET
https://inj.nownodes.io/peggy/v1/valset

Parameters

noncestring<uint64>query

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/valset/confirm

Parameters

noncestring<uint64>query
addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

valset

GET
https://inj.nownodes.io/peggy/v1/valset/current

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/valset/last

Parameters

addressstringquery

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header
GET
https://inj.nownodes.io/peggy/v1/valset/requests

Response

200OK

A successful response.

default

An unexpected error response.

Authorization

api-keyAuthapiKey in header

EVM

eth_accounts

Ethereum method - eth_accounts

POST
https://inj.nownodes.io/

Returns an array of addresses controlled by the client.

Body

application/json
jsonrpcstringrequired

JSON-RPC version identifier

methodstringrequired

Name of the JSON-RPC method

paramsarrayrequired

No parameters are required for this method. This must be an empty array.

idintegerrequired

Unique identifier for the JSON-RPC request

Response

200OK

A list of Ethereum addresses

Authorization

api-keyAuthapiKey in header

eth_blockNumber

Ethereum method - eth_blockNumber

POST
https://inj.nownodes.io/

Returns the number of the latest block on the chain in hexadecimal format.

Body

application/json
jsonrpcstringrequired

The JSON-RPC protocol version

methodstringrequired

Name of the method being called

paramsarrayrequired

This method does not take parameters; always send an empty array.

idintegerrequired

A unique ID for the request

Response

200OK

The latest block number

Authorization

api-keyAuthapiKey in header

eth_call

Ethereum method - eth_call

POST
https://inj.nownodes.io/

Executes a call to a contract or address and returns the result without broadcasting a transaction.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<object | string>required

The first object specifies the call transaction object. The second (optional) parameter specifies the block context.

Show child attributes
One of
fromstring

Address the call is sent from (optional)

tostringrequired

Target address for the call (required)

gasstring

Gas provided for the call, as hex

gasPricestring

Gas price in wei, as hex

valuestring

Amount of ETH sent, as hex (optional)

datastring

Compiled contract method call data

(Optional) Integer block number, or the string "latest", "earliest", or "pending".

string
idintegerrequired

Response

200OK

Result of the call

Authorization

api-keyAuthapiKey in header

eth_chainId

Ethereum method - eth_chainId

POST
https://inj.nownodes.io/

Returns the hexadecimal string of the current chain ID.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version

methodstringrequired

Name of the method to call

paramsarrayrequired

This method does not require parameters. Use an empty array.

idintegerrequired

Unique identifier for the request

Response

200OK

Chain ID response

Authorization

api-keyAuthapiKey in header

eth_coinbase

eth_coinbase

POST
https://inj.nownodes.io/

Returns the Ethereum coinbase address (i.e., the address that receives mining rewards).

Body

application/json
jsonrpcstringrequired
methodstringeth_coinbaserequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC Response with the coinbase address

Authorization

api-keyAuthapiKey in header

eth_estimateGas

Estimate Gas for Transaction

POST
https://inj.nownodes.io/

Simulates a transaction and returns an estimate of how much gas would be used.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version

methodstringrequired

The method name

paramsArray<object | string>required

The transaction call object and an optional block tag.

Show child attributes
One of
fromstring

Address the transaction is sent from (optional)

tostringrequired

Destination address of the call

gasstring

Gas limit provided for execution (optional)

gasPricestring

Gas price in wei (optional)

valuestring

Amount of ETH to send, in hexadecimal wei (optional)

datastring

The compiled input data for the transaction (optional)

Optional block tag (e.g., "latest", "earliest", or a block number)

string
idintegerrequired

Request identifier

Response

200OK

Estimated gas amount

Authorization

api-keyAuthapiKey in header

eth_feeHistory

eth_feeHistory

POST
https://inj.nownodes.io/

Returns fee market information for a range of blocks. This is typically used by wallets and other tools to estimate appropriate gas prices.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string | integer | Array<number>>required

Parameters:

  1. blockCount — number of blocks in the requested range.
  2. newestBlock — highest block number in the requested range (can be "latest").
  3. rewardPercentiles — list of percentile values to sample priority fees from each block (optional).
Show child attributes
Any of
string
integer
Array<number>
idintegerrequired

Response

200OK

JSON-RPC Response with fee history data

Authorization

api-keyAuthapiKey in header

eth_gasPrice

Get Suggested Gas Price

POST
https://inj.nownodes.io/

Returns the current gas price in wei as a hexadecimal string. This value is a node estimate based on recent blocks and mempool activity.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsarrayrequired

This method takes an empty array.

idintegerrequired

Request identifier

Response

200OK

Suggested gas price in wei

Authorization

api-keyAuthapiKey in header

eth_getBalance

Get ETH Balance of an Address

POST
https://inj.nownodes.io/

Retrieves the balance (in wei) of a given Ethereum address. You can specify the block parameter to get the balance at a specific block.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string | string>required

Array with 2 parameters:

  1. Address (20-byte hex string with '0x' prefix)
  2. Block tag (e.g., 'latest', 'earliest', 'pending', or block number in hex)
Show child attributes
One of

Ethereum address

string

Block tag

string
idintegerrequired

Request ID

Response

200OK

Balance (in wei) as hex string

Authorization

api-keyAuthapiKey in header

eth_getBlockByHash

Get Block by Hash

POST
https://inj.nownodes.io/

Returns the block information for the specified block hash. The second parameter indicates whether to return full transaction objects or just transaction hashes.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string | boolean>required

Array with 2 parameters:

  1. Block hash (32-byte hex string with '0x' prefix)
  2. Boolean to specify if full transaction objects are returned (true) or only transaction hashes (false)
Show child attributes
One of

Block hash (hex string)

string

Return full transaction objects if true; else return only transaction hashes

boolean
idintegerrequired

Request ID

Response

200OK

Block information

Authorization

api-keyAuthapiKey in header

eth_getBlockByNumber

Get Block by Number

POST
https://inj.nownodes.io/

Returns the block information for the specified block number. The second parameter indicates whether to return full transaction objects or just transaction hashes.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string | boolean>required

Array with 2 parameters:

  1. Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending")
  2. Boolean to specify if full transaction objects are returned (true) or only transaction hashes (false)
Show child attributes
One of

Block number as hex string or special tag

string

Return full transaction objects if true; else return only transaction hashes

boolean
idintegerrequired

Request ID

Response

200OK

Block information

Authorization

api-keyAuthapiKey in header

eth_getBlockReceipts

Get All Transaction Receipts for a Block

POST
https://inj.nownodes.io/

Returns an array of transaction receipts for every transaction in the block specified by block number or block hash.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

One parameter:

  • Block identifier, which can be either:
    • block number as hex string (e.g. "0x10d4f")
    • or block hash as hex string (0x-prefixed)
idintegerrequired

Request identifier

Response

200OK

Array of transaction receipts in the block

Authorization

api-keyAuthapiKey in header

eth_getBlockTransactionCountByHash

Get Transaction Count by Block Hash

POST
https://inj.nownodes.io/

Returns the number of transactions contained in the block with the given hash.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array containing a single parameter:

  • Block hash as a hex string (32 bytes with 0x prefix)
idintegerrequired

Request ID

Response

200OK

Number of transactions in the block

Authorization

api-keyAuthapiKey in header

eth_getBlockTransactionCountByNumber

Get Transaction Count by Block Number

POST
https://inj.nownodes.io/

Returns the number of transactions contained in the block with the given block number.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array containing a single parameter:

  • Block number as a hex string (e.g. "0x10d4f" for block 69007) or
  • predefined block tags such as "latest", "earliest", or "pending"
idintegerrequired

Request ID

Response

200OK

Number of transactions in the block

Authorization

api-keyAuthapiKey in header

eth_getCode

Get Contract Bytecode at Address

POST
https://inj.nownodes.io/

Returns the contract code stored at a given address. If the address is an externally owned account (EOA), it returns "0x".

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array with two elements:

  1. The address to get the code for (hex string, 0x-prefixed).
  2. The block number or block tag (e.g., "latest", "earliest", "pending").
idintegerrequired

Request identifier.

Response

200OK

Contract bytecode in hex format

Authorization

api-keyAuthapiKey in header

eth_getFilterChanges

Get Filter Changes

POST
https://inj.nownodes.io/

Returns an array of logs that occurred since the last poll for the specified filter ID. The filter must have been previously created with eth_newFilter or eth_newBlockFilter or eth_newPendingTransactionFilter.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array with a single element:

  1. The filter ID (hex string).
idintegerrequired

Request identifier.

Response

200OK

Array of log objects or transaction hashes depending on filter type

Authorization

api-keyAuthapiKey in header

eth_getFilterLogs

Get Filter Logs

POST
https://inj.nownodes.io/

Returns all logs matching a filter with the specified filter ID. The filter must have been previously created with eth_newFilter.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array with one element:

  1. The filter ID (hex string).
idintegerrequired

Request identifier.

Response

200OK

Array of log objects matching the filter

Authorization

api-keyAuthapiKey in header

eth_getLogs

Get Logs

POST
https://inj.nownodes.io/

Returns an array of logs that match the filter criteria specified in the params. The filter object supports filtering by block range, addresses, and topics.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<object>required

Parameters array with one element: the filter object.

Show child attributes
fromBlockstring

Starting block number (hex string) or "earliest", "latest", "pending".

toBlockstring

Ending block number (hex string) or "earliest", "latest", "pending".

addressstring | Array<string>

Contract address or list of addresses from which logs should originate.

topicsarray

Array of topic filters. Each topic can be a string, null, or an array of strings for OR filtering.

idintegerrequired

Request identifier.

Response

200OK

Array of log objects matching the filter

Authorization

api-keyAuthapiKey in header

eth_getStorageAt

Get Storage At

POST
https://inj.nownodes.io/

Returns the value stored at position in the storage of the contract at address at the given blockNumber.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array:

  1. address: string - Contract address to query storage from.
  2. position: string - Storage slot position (hex string).
  3. block number: string - Block number or keywords ("latest", "earliest", "pending").
idintegerrequired

Request identifier.

Response

200OK

Storage slot value at the specified position

Authorization

api-keyAuthapiKey in header

eth_getTransactionByBlockHashAndIndex

Get Transaction by Block Hash and Index

POST
https://inj.nownodes.io/

Retrieves the transaction from a block using the block's hash and the transaction's index position within the block.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Parameters:

  1. blockHash (string): The 32-byte hash of the block.
  2. transactionIndex (string): The transaction index (hex).
idintegerrequired

Response

200OK

A transaction object or null if no transaction was found.

Authorization

api-keyAuthapiKey in header

eth_getTransactionByBlockNumberAndIndex

Get Transaction by Block Number and Index

POST
https://inj.nownodes.io/

Returns the information about a transaction using the block number and the transaction index within the block.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Parameters:

  1. Block number in hex format (e.g., "0x5daf3b")
  2. Transaction index in the block (e.g., "0x0")
idintegerrequired

Response

200OK

A transaction object, or null if not found.

Authorization

api-keyAuthapiKey in header

eth_getTransactionByHash

Get transaction by hash

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Array containing a single transaction hash

idintegerrequired

Response

200OK

Transaction object or null

Authorization

api-keyAuthapiKey in header

eth_getTransactionCount

Get transaction count (nonce) for address

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
  • address: The address to check for transaction count.
  • block: The block parameter (e.g., "latest", "earliest", "pending").
idintegerrequired

Response

200OK

Hex encoded nonce (transaction count)

Authorization

api-keyAuthapiKey in header

eth_getTransactionReceipt

Get transaction receipt by hash

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
idintegerrequired

Response

200OK

Transaction receipt if mined, otherwise null

Authorization

api-keyAuthapiKey in header

eth_getUncleByBlockHashAndIndex

Get uncle block by block hash and index

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
  • blockHash: 32-byte block hash
  • index: the uncle index as hex (e.g., "0x0" for the first uncle)
idintegerrequired

Response

200OK

Uncle block object or null

Authorization

api-keyAuthapiKey in header

eth_getUncleByBlockNumberAndIndex

Get uncle block by block number and index

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
  • blockNumber: The block number as hex string (e.g., "0x10fb78"), or "latest", "earliest", "pending".
  • index: The uncle index as hex (e.g., "0x0" for the first uncle).
idintegerrequired

Response

200OK

Uncle block object or null

Authorization

api-keyAuthapiKey in header

eth_getUncleCountByBlockHash

Get the number of uncle blocks by block hash

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

An array containing the block hash.

idintegerrequired

Response

200OK

Number of uncles in the block

Authorization

api-keyAuthapiKey in header

eth_getUncleCountByBlockNumber

Get the number of uncle blocks by block number

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

An array containing the block number as a hex string.

idintegerrequired

Response

200OK

Number of uncle blocks in the block

Authorization

api-keyAuthapiKey in header

eth_hashrate

eth_hashrate

POST
https://inj.nownodes.io/

Returns the current mining hashrate reported by the client.

Body

application/json
jsonrpcstringrequired
methodstringeth_hashraterequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the current mining hashrate

Authorization

api-keyAuthapiKey in header

eth_maxPriorityFeePerGas

Get recommended maxPriorityFeePerGas value

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsarrayrequired

No parameters are required.

idintegerrequired

Response

200OK

Returns the suggested maxPriorityFeePerGas value

Authorization

api-keyAuthapiKey in header

eth_mining

eth_mining

POST
https://inj.nownodes.io/

Checks whether the Ethereum client is actively mining.

Body

application/json
jsonrpcstringrequired
methodstringeth_miningrequired
paramsarrayrequired

This method does not accept parameters.

idintegerrequired

Response

200OK

JSON-RPC Response indicating mining status

Authorization

api-keyAuthapiKey in header

eth_newBlockFilter

Create a new block filter

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<any>required

This method does not require any parameters.

idintegerrequired

Response

200OK

Filter ID created successfully

Authorization

api-keyAuthapiKey in header

eth_newFilter

Create a new log filter

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<object>required

Array with one object describing the filter options.

Show child attributes
fromBlockstring

Starting block number or tag ("latest", "earliest", "pending").

toBlockstring

Ending block number or tag.

addressstring | Array<string> | null
topicsArray<string | Array<string>> | null

Array of topic filters. Topics are 32-byte hashes identifying events.

Show child attributes
One of
string
Array<string>
idintegerrequired

Response

200OK

Filter ID created successfully

Authorization

api-keyAuthapiKey in header

eth_newPendingTransactionFilter

Create a filter for pending transactions

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<any>required

No parameters required for this method

idintegerrequired

Request identifier

Response

200OK

Filter ID created successfully

Authorization

api-keyAuthapiKey in header

eth_sendRawTransaction

Send a raw signed transaction

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

paramsArray<string>required

Array containing a single signed transaction data (hex string)

idintegerrequired

Request ID

Response

200OK

Transaction successfully sent

Authorization

api-keyAuthapiKey in header

eth_sendTransaction

Send a transaction using node-managed account

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<object>required

Transaction object

Show child attributes
fromstring

Address the transaction is sent from

tostring

Address the transaction is directed to

gasstring

Gas provided for the transaction (hex)

gasPricestring

Gas price in wei (hex)

valuestring

Value sent with the transaction in wei (hex)

datastring

(Optional) Data for contract interaction

idintegerrequired

Response

200OK

Transaction successfully sent

Authorization

api-keyAuthapiKey in header

eth_sign

Sign arbitrary data using eth_sign

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

[address, data]

  • address: The account that will sign the data
  • data: The data to be signed (must be a hex string)
idintegerrequired

Response

200OK

Returns the signature of the message

Authorization

api-keyAuthapiKey in header

eth_signTransaction

eth_signTransaction

POST
https://inj.nownodes.io/

Signs a transaction locally with the private key of the specified account.

Body

application/json
jsonrpcstringrequired
methodstringeth_signTransactionrequired
paramsArray<object>required

Array with a single object representing the transaction to sign.

Show child attributes
fromstringrequired

The address of the account that will sign the transaction.

tostring

The destination address of the transaction.

gasstring

Gas limit for the transaction, as a hex string.

gasPricestring

Gas price in wei, as a hex string.

valuestring

Amount of wei to send, as a hex string.

datastring

Data payload of the transaction, hex encoded.

noncestring

Nonce of the transaction, as a hex string.

chainIdinteger

The chain ID to protect against replay attacks.

idintegerrequired

Response

200OK

JSON-RPC response with the signed transaction data

Authorization

api-keyAuthapiKey in header

eth_syncing

Check if node is syncing

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsarrayrequired

Must be an empty array.

idintegerrequired

Response

200OK

Returns sync status object or false

Authorization

api-keyAuthapiKey in header

eth_uninstallFilter

Uninstall an existing filter

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
idintegerrequired

Response

200OK

Success or failure of the uninstall operation

Authorization

api-keyAuthapiKey in header

net_listening

net_listening

POST
https://inj.nownodes.io/

Checks if the client is listening for network connections.

Body

application/json
jsonrpcstringrequired
methodstringnet_listeningrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with listening status

Authorization

api-keyAuthapiKey in header

net_peerCount

net_peerCount

POST
https://inj.nownodes.io/

Returns the number of peers currently connected to the client.

Body

application/json
jsonrpcstringrequired
methodstringnet_peerCountrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the number of connected peers

Authorization

api-keyAuthapiKey in header

net_version

net_version

POST
https://inj.nownodes.io/

Returns the current network ID of the Ethereum client.

Body

application/json
jsonrpcstringrequired
methodstringnet_versionrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the current network ID

Authorization

api-keyAuthapiKey in header

web3_clientVersion

web3_clientVersion

POST
https://inj.nownodes.io/

Returns the current Ethereum client version.

Body

application/json
jsonrpcstringrequired
methodstringweb3_clientVersionrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the client version string

Authorization

api-keyAuthapiKey in header

web3_sha3

web3_sha3

POST
https://inj.nownodes.io/

Computes the Keccak-256 (SHA-3) hash of the given hex-encoded data.

Body

application/json
jsonrpcstringrequired
methodstringweb3_sha3required
paramsArray<string>required

Array containing a single hex-encoded data string to hash.

idintegerrequired

Response

200OK

JSON-RPC response with the Keccak-256 hash of the input data

Authorization

api-keyAuthapiKey in header

Indexer

Aggregator

Aggregator implements coingecko/cmc integration API spec

derivativeContracts Aggregator

GET
https://inj.nownodes.io/api/aggregator/v1/derivative/contracts

This endpoint provides a summary of all derivative contracts traded on the exchange

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

derivativeOrderbook Aggregator

GET
https://inj.nownodes.io/api/aggregator/v1/derivative/orderbook

This endpoint provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker

Parameters

ticker_idstringrequiredquery

Specify unique ticker to search.

depthinteger<int64>query

Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotHistoricalTrades Aggregator

GET
https://inj.nownodes.io/api/aggregator/v1/spot/historical_trades

This endpoint provide data on historical completed trades for a given market pair.

Parameters

ticker_idstringrequiredquery

Specify unique ticker to search.

typestringrequiredquery

To indicate nature of trade - buy/sell - for a given market pair.

limitinteger<int64>query

Number of historical trades to retrieve from time of query. [0, 200, 500...]. 0 returns full history.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotOrderbook Aggregator

GET
https://inj.nownodes.io/api/aggregator/v1/spot/orderbook

This endpoint provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker

Parameters

ticker_idstringrequiredquery

Specify unique ticker to search.

depthinteger<int64>query

Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotPairs Aggregator

GET
https://inj.nownodes.io/api/aggregator/v1/spot/pairs

Provides a summary of cryptoasset trading pairs available on injective exchange.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotTickers Aggregator

GET
https://inj.nownodes.io/api/aggregator/v1/spot/tickers

This endpoint provides 24-hour pricing and volume information on each market pair available on injective exchange.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

Swagger

The API Swagger specification

Download ./swagger/index.html

GET
https://inj.nownodes.io/swagger/index.html

Provide Swagger-UI html document

Response

200OK

File downloaded

Authorization

api-keyAuthapiKey in header

Download ./swagger/

GET
https://inj.nownodes.io/swagger/{path}

Serve static content.

Parameters

pathstringrequiredpath

Relative file path

Response

200OK

File not found

404Not Found

File not found

Authorization

api-keyAuthapiKey in header

ChronosAPI

ChronosAPI implements historical data API for e.g. TradingView.

derivativeMarketConfig ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/derivative/config

Data feed configuration data for TradingView.

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

derivativeMarketHistory ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/derivative/history

Request for history bars of derivativeMarket for TradingView.

Parameters

symbolstringquery

Specify unique ticker to search.

marketIdstringquery

As an alternative is possible to provide a marketId

resolutionstringrequiredquery

Symbol resolution. Possible resolutions are daily (D or 1D, 2D ... ), weekly (1W, 2W ...), monthly (1M, 2M...) and an intra-day resolution – minutes(1, 2 ...).

frominteger<int64>query

Unix timestamp (UTC) of the leftmost required bar, including from

tointeger<int64>requiredquery

Unix timestamp (UTC) of the rightmost required bar, including to. It can be in the future. In this case, the rightmost required bar is the latest available bar.

countbackinteger<int64>query

Number of bars (higher priority than from) starting with to. If countback is set, from should be ignored.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

derivativeMarketSummary ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/derivative/market_summary

Gets derivative market summary for the latest interval (hour, day, month)

Parameters

marketIdstringrequiredquery

Market ID of the derivative market

indexPricebooleanquery

Request the summary of index price feed

resolutionstringhour60mday24hweek7daysmonth30daysrequiredquery

Specify the resolution

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

allDerivativeMarketSummary ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/derivative/market_summary_all

Gets batch summary for all active markets, for the latest interval (hour, day, month)

Parameters

indexPricebooleanquery

Request the summary of index price feed

resolutionstringhour60mday24hweek7daysmonth30daysrequiredquery

Specify the resolution

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

derivativeMarketSymbolInfo ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/derivative/symbol_info

Get a list of all derivativeMarket instruments for TradingView.

Parameters

groupstringquery

ID of a symbol group. It is only required if you use groups of symbols to restrict access to instrument's data.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

derivativeMarketSymbolSearch ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/derivative/symbols

Get info about specific derivative market symbol by ticker.

Parameters

symbolstringrequiredquery

Specify unique ticker to search.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

exchangeInfo ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/exchangeInfo

returns exchange infos for all markets

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

Leaderboard ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/leaderboard

Request sorted account list by balance on current relayer

Parameters

resolutionstring1d7d28dcustom1dquery

Leaderboard time range. Default is 1d

limitinteger[1, 100]100query

Number of leaderboard entries to retrieve. Default is 100

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

LeaderboardRank ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/leaderboard/rank

Request account rank in leaderboard

Parameters

resolutionstring1d7d28dcustom1dquery

Leaderboard time range. Default is 1d

subaccountIDstringrequiredquery

Subaccount ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

MarketSnapshot ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/market/history

Request for cached markets history bars. Max age is 1h.

Parameters

marketIDsArray<string>requiredquery

Specify multiple marketIDs to search.

resolutionstring1515306012024072014401query

Symbols resolution(minutes). Default is 1

countbackinteger[1, 1440]1440query

Number of bars returned, starting from the recent ones.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotMarketConfig ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/spot/config

Data feed configuration data for TradingView.

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotMarketHistory ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/spot/history

Request for history bars of spotMarket for TradingView.

Parameters

symbolstringquery

Specify unique ticker to search

marketIdstringquery

As an alternative is possible to provide a marketId

resolutionstringrequiredquery

Symbol resolution. Possible resolutions are daily (D or 1D, 2D ... ), weekly (1W, 2W ...), monthly (1M, 2M...) and an intra-day resolution – minutes(1, 2 ...).

frominteger<int64>query

Unix timestamp (UTC) of the leftmost required bar, including from

tointeger<int64>requiredquery

Unix timestamp (UTC) of the rightmost required bar, including to. It can be in the future. In this case, the rightmost required bar is the latest available bar.

countbackinteger<int64>query

Number of bars (higher priority than from) starting with to. If countback is set, from should be ignored.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotMarketSummary ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/spot/market_summary

Gets spot market summary for the latest interval (hour, day, month)

Parameters

marketIdstringrequiredquery

Market ID of the spot market

resolutionstringhour60mday24hweek7daysmonth30daysrequiredquery

Specify the resolution

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

allSpotMarketSummary ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/spot/market_summary_all

Gets batch summary for all active markets, for the latest interval (hour, day, month)

Parameters

resolutionstringhour60mday24hweek7daysmonth30daysrequiredquery

Specify the resolution

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotMarketSymbolInfo ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/spot/symbol_info

Get a list of all spotMarket instruments for TradingView.

Parameters

groupstringquery

ID of a symbol group. It is only required if you use groups of symbols to restrict access to instrument's data.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

spotMarketSymbolSearch ChronosAPI

GET
https://inj.nownodes.io/api/chronos/v1/spot/symbols

Get info about specific spot market symbol by ticker.

Parameters

symbolstringrequiredquery

Specify unique ticker to search.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveAuctionRPC

InjectiveAuctionRPC defines gRPC API of the Auction API.

auctions InjectiveAuctionRPC

GET
https://inj.nownodes.io/api/exchange/auction/v1/auctions

Provide the historical auctions info

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

auctionEndpoint InjectiveAuctionRPC

GET
https://inj.nownodes.io/api/exchange/auction/v1/auctions/{round}

Provide historical auction info for a given auction

Parameters

roundinteger<int64>requiredpath

The auction round number. -1 for latest.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

EventProviderAPI

EventProviderAPI provides processed block events for different backends.

GetABCIBlockEvents EventProviderAPI

POST
https://inj.nownodes.io/api/event_provider/v1/abciblockevents

Get raw block events for selected height

Body

application/json
eventTypesArray<string>

Array of event types

heightinteger<int64>required

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetBlockEvents EventProviderAPI

GET
https://inj.nownodes.io/api/event_provider/v1/blockevents/{backend}/{height}

Get processed block events for selected backend

Parameters

backendstringexchangeexplorerchronoscampaignsexchangerequiredpath

Select backend processor

heightinteger<int64>requiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetCustomEvents EventProviderAPI

GET
https://inj.nownodes.io/api/event_provider/v1/customevents/{backend}/{height}

Get custom processed block events for selected backend

Parameters

eventsstringrequiredquery

Specify custom events to get

backendstringexchangeexplorerchronosexchangerequiredpath

Select backend processor

heightinteger<int64>requiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetLatestHeight EventProviderAPI

GET
https://inj.nownodes.io/api/event_provider/v1/latestheight

Get latest block from event provider

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveExchangeRPC

InjectiveExchangeRPC defines gRPC API of an Injective Exchange service.

broadcastCosmosTx InjectiveExchangeRPC

POST
https://inj.nownodes.io/api/exchange/gateway/v1/broadcastCosmosTx

BroadcastCosmosTx broadcasts a signed Web3 transaction

Body

application/json
pubKeyCosmosPubKey
Show child attributes
keystringrequired

Hex-encoded string of the public key

typestringrequired

Pubkey type URL

senderAddressstring

sender address

signaturestring

Hex-encoded ethsecp256k1 sender signature bytes

txstring<binary>

proto encoded tx

Response

200OK

OK response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

broadcastTx InjectiveExchangeRPC

POST
https://inj.nownodes.io/api/exchange/gateway/v1/broadcastTx

BroadcastTx broadcasts a signed Web3 transaction

Body

application/json
chainIDinteger

Specify Web3 chainID (from prepateTx) for the target Tx

feePayerstring

Fee payer address provided by service

feePayerSigstring

Hex-encoded ethsecp256k1 signature bytes from fee payer

modestringsyncasyncblocksync

Broadcast mode

msgsArray<string>

List of Cosmos proto3-encoded Msgs from tx

pubKeyCosmosPubKey
Show child attributes
keystringrequired

Hex-encoded string of the public key

typestringrequired

Pubkey type URL

signaturestring

Hex-encoded ethsecp256k1 signature bytes

txstring<binary>

Amino-encoded Tx JSON data (except Msgs)

Response

200OK

OK response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

getFeePayer InjectiveExchangeRPC

GET
https://inj.nownodes.io/api/exchange/gateway/v1/feePayer

Return fee payer information's

Response

200OK

OK response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

getTx InjectiveExchangeRPC

GET
https://inj.nownodes.io/api/exchange/gateway/v1/getTx/{hash}

GetTx gets transaction details by hash.

Parameters

hashstringrequiredpath

Transaction hash in hex without 0x prefix (Cosmos-like).

Response

200OK

OK response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

prepareCosmosTx InjectiveExchangeRPC

POST
https://inj.nownodes.io/api/exchange/gateway/v1/prepareCosmosTx

PrepareCosmosTx generates a Web3-signable body for a Cosmos transaction

Body

application/json
chainIDinteger

Specify chainID for the target tx

feeCosmosTxFee
Show child attributes
delegateFeebooleanrequired

Explicitly require fee delegation when set to true. Or don't care = false. Will be replaced by other flag in the next version.

gasintegerrequired

Transaction gas limit

priceArray<Coin>

Transaction gas price

Show child attributes
amountstringrequired
denomstringrequired

Denom of the coin

memostring

Textual memo information to attach with tx

msgsArray<string>

List of Cosmos proto3-encoded Msgs to include in a single tx

senderAddressstring

sender address provided

timeoutHeightinteger

Block height until which the transaction is valid.

Response

200OK

OK response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

prepareTx InjectiveExchangeRPC

POST
https://inj.nownodes.io/api/exchange/gateway/v1/prepareTx

PrepareTx generates a Web3-signable body for a Cosmos transaction

Body

application/json
chainIDinteger

Specify chainID for the target tx

feeCosmosTxFee
Show child attributes
delegateFeebooleanrequired

Explicitly require fee delegation when set to true. Or don't care = false. Will be replaced by other flag in the next version.

gasintegerrequired

Transaction gas limit

priceArray<Coin>

Transaction gas price

Show child attributes
amountstringrequired
denomstringrequired

Denom of the coin

memostring

Textual memo information to attach with tx

msgsArray<string>

List of Cosmos proto3-encoded Msgs to include in a single tx

sequenceinteger

Account sequence number (nonce) of signer

signerAddressstring

Specify Ethereum address of a signer

timeoutHeightinteger

Block height until which the transaction is valid.

Response

200OK

OK response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveAccountsRPC

InjectiveAccountsRPC defines API of Exchange Accounts provider.

orderStates InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/orderStates

List order states by order hashes

Parameters

spotOrderHashesArray<string>query
derivativeOrderHashesArray<string>query

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

portfolio InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/portfolio/{accountAddress}

Provide the account's portfolio value in USD.

Parameters

accountAddressstringrequiredpath

Account address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

rewards InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/rewards

Provide historical trading rewards

Parameters

epochinteger<int64>query

The distribution epoch sequence number. -1 for latest.

accountAddressstringquery

Account address for the rewards distribution

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

subaccountBalanceEndpoint InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/subaccountBalances/{subaccountId}/{denom}

Gets a balance for specific coin denom

Parameters

subaccountIdstringrequiredpath

SubaccountId of the trader we want to get the trades from

denomstringrequiredpath

Specify denom to get balance

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

subaccountBalancesList InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/subaccountBalancesList/{subaccountId}

List subaccount balances for the provided denoms.

Parameters

denomsArray<string>query

Filter balances by denoms. If not set, the balances of all the denoms for the subaccount are provided.

subaccountIdstringrequiredpath

SubaccountId of the trader we want to get the trades from

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

subaccountHistory InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/subaccountHistory/{subaccountId}

Get subaccount's deposits and withdrawals history

Parameters

denomstringquery

Filter history by denom

transferTypesArray<string>internalexternalwithdrawdepositquery

Filter history by transfer type

skipinteger0query

Skip will skip the first n item from the result

limitinteger<= 100100query

Limit is used to specify the maximum number of items to be returned

endTimeinteger<int64>query

Upper bound of account transfer history's executedAt

subaccountIdstringrequiredpath

SubaccountId of the trader we want to get the history from

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

subaccountOrderSummary InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/subaccountOrderSummary/{subaccountId}

Get subaccount's orders summary

Parameters

marketIdstringquery

MarketId is limiting order summary to specific market only

orderDirectionstringbuysellquery

Filter by direction of the orders

subaccountIdstringrequiredpath

SubaccountId of the trader we want to get the summary from

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

subaccountsList InjectiveAccountsRPC

GET
https://inj.nownodes.io/api/exchange/account/v1/subaccountsList/{accountAddress}

List all subaccounts IDs of an account address

Parameters

accountAddressstringrequiredpath

Account address, the subaccounts owner

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveCampaignRPC

InjectiveCampaignRPC defined a gRPC service for Injective Campaigns.

campaigns InjectiveCampaignRPC

GET
https://inj.nownodes.io/api/campaigns/v1/campaigns

List current round active campaigns

Parameters

accountAddressstringquery

Address of login account, if not specified it will return no user rewards

roundIdinteger<int64>query

Round ID, if not specified, it will return latest roundId

toRoundIdinteger<int32>query

This will return campaign x where x.roundId <= toRoundId. Useful for listing multiple rounds

contractAddressstringquery

Contract address that manages the round and reward

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

ranking InjectiveCampaignRPC

GET
https://inj.nownodes.io/api/campaigns/v1/campaigns/{campaignId}/ranking

Lists all participants in campaign

Parameters

marketIdstringquery

MarketId of the campaign

accountAddressstringquery

Account address

limitinteger<int64>query
skipintegerquery
contractAddressstringquery

Contract address that manages the round and reward

campaignIdstringrequiredpath

Campaign ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

listGuilds InjectiveCampaignRPC

GET
https://inj.nownodes.io/api/campaigns/v1/{campaignContract}/guilds

List guilds by campaign

Parameters

limitinteger[1, 100]100query

Limit number of returned guilds

skipinteger<int64>0query

Skip some first guilds in the list for next page

sortBystringvolumetvlquery

Sort by some metrics

campaignContractstringrequiredpath

Campaign contract address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

listGuildMembers InjectiveCampaignRPC

GET
https://inj.nownodes.io/api/campaigns/v1/{campaignContract}/guilds/{guildId}

List guild members of given campaign and guildId

Parameters

limitinteger[1, 100]100query

Limit number of returned guild members

skipinteger<int64>0query

Skip some first guild members in the list for next page

includeGuildInfobooleanfalsequery

whether to include guild summary info, it's better to use this in terms of latency, instead of sending 2 requests we just need once

sortBystringvolumetvlquery

Sort by some metrics

campaignContractstringrequiredpath

Campaign contract address

guildIdstringrequiredpath

ID of guild, inside campaign

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

getGuildMember InjectiveCampaignRPC

GET
https://inj.nownodes.io/api/campaigns/v1/{campaignContract}/members/{address}

Get single member guild info

Parameters

campaignContractstringrequiredpath

Campaign contract address

addressstringrequiredpath

User address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveDerivativeExchangeRPC

InjectiveDerivativeExchangeRPC defines gRPC API of Derivative Markets provider.

binaryOptionsMarkets InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/binaryOptionsMarkets

BinaryOptionsMarkets gets a list of Binary Options Markets

Parameters

marketStatusstringactivepausedsuspendeddemolishedexpiredactivequery

Filter by market status

quoteDenomstringquery

Filter by the Coin denomination of the quote currency

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

binaryOptionsMarket InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/binaryOptionsMarkets/{marketId}

BinaryOptionMarket gets details of a single binary options market

Parameters

marketIdstringrequiredpath

MarketId of the market we want to fetch

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

fundingPayments InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/fundingPayments

FundingPayments gets the funding payments for a trader.

Parameters

subaccountIdstringquery

SubaccountId of the trader we want to get the positions from

skipintegerquery

Skip will skip the first n item from the result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

marketIdstringquery

MarketIds of the funding payment we want to fetch. Using this for only one market id. This field is prioritized

marketIdsArray<string>query

Filter by market ids. Using this field for fetching funding payments from multiple market ids

endTimeinteger<int64>query

Upper bound of funding payment updatedAt

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

fundingRates InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/fundingRates

FundingRates gets the historical funding rates for a market.

Parameters

skipinteger[0, 10000]0query

Skip will skip the first n item from the result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

marketIdstringquery

MarketId of the position we want to fetch

endTimeinteger<int64>query

Upper bound of funding timestamp

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

liquidablePositions InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/liquidablePositions

LiquidablePositions gets all the liquidable positions.

Parameters

marketIdstringquery

Market ID to filter orders for specific market

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

markets InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/markets

Markets gets a list of Derivative Markets

Parameters

marketStatusstringactivepausedsuspendeddemolishedexpiredactivequery

Filter by market status

quoteDenomstringquery

Filter by the Coin denomination of the quote currency

marketStatusesArray<string>activepausedsuspendeddemolishedexpiredquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

market InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/markets/{marketId}

Market gets details of a single derivative market

Parameters

marketIdstringrequiredpath

MarketId of the market we want to fetch

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

orders InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/orders

DerivativeLimitOrders gets the limit orders of a derivative Market.

Parameters

marketIdstringquery

MarketId of market we want to fetch orders from. Using this field for one single marketId

marketIdsArray<string>query

MarketIds of the markets of which we want to get order from, use this field for fetching orders from multiple markets

orderSidestringbuysellquery

Look for specific order side

subaccountIdstringquery

Look for specific subaccountId of an order

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

isConditionalstringtruefalsequery

Only search for conditional/non-conditional orders

orderTypestringbuysellstop_buystop_selltake_buytake_sellbuy_posell_poquery

Search for specific order type

includeInactivebooleanfalsequery

Should include inactive orders

subaccountTotalOrdersbooleanfalsequery

Choose to return subaccount total orders

tradeIdstringquery

TradeId of the order we want to fetch

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

ordersHistory InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/ordersHistory

Lists history orders posted from a subaccount

Parameters

subaccountIdstringquery

subaccount ID to filter orders for specific subaccount

marketIdsArray<string>query
marketIdstringquery

Market ID to filter orders for specific market

activeMarketsOnlybooleanfalsequery

Return only orders for active markets

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned

orderTypesArray<string>buysellstop_buystop_selltake_buytake_sellbuy_posell_poquery

filter by order types

directionstringquery

order side filter

startTimeinteger<int64>query

Search for orders which createdAt >= startTime, time in millisecond

endTimeinteger<int64>query

Search for orders which createdAt <= endTime, time in millisecond

isConditionalstringtruefalsequery

Only search for conditional/non-conditional orders

orderTypestringbuysellstop_buystop_selltake_buytake_sellbuy_posell_poquery

filter by order type

statestringbookedpartial_filledfilledcanceledquery

Filter by order state

executionTypesArray<string>marketlimitquery
tradeIdstringquery

TradeId of the order we want to fetch

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

positions InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/positions

Positions gets the positions for a trader.

Parameters

subaccountIdstringquery

SubaccountId of the trader we want to get the positions from

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

marketIdstringquery

MarketId of the position we want to fetch. Use this field for fetching from single market

marketIdsArray<string>query

MarketIds of the markets we want to filter. Use this field for fetching from multiple markets

directionstringlongshortquery

filter by direction of the position

subaccountTotalPositionsbooleanfalsequery

set to True to return subaccount total positions

accountAddressstringquery

filter by account address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

trades InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v1/trades

Trades gets the trades of a Derivative Market.

Parameters

marketIdstringquery

MarketId of the market's orderbook we want to fetch

marketIdsArray<string>query

MarketIds of the markets of which we want to get trades

executionSidestringmakertakerquery

Filter by execution side of the trade

directionstringbuysellquery

Filter by direction the trade

skipintegerquery

Skip will skip the first n item from the result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

subaccountIdsArray<string>query

Subaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts

subaccountIdstringquery

SubaccountId of the trader we want to get the trades from

executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquery
tradeIdstringquery

Filter by the tradeId of the trade

accountAddressstringquery

Account address

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

orderbookV2 InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v2/orderbook/{marketId}

Orderbook gets the Orderbook of a Derivative Market

Parameters

marketIdstringrequiredpath

MarketId of the market's orderbook we want to fetch

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

orderbooksV2 InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v2/orderbooks

Orderbooks gets the Orderbooks of requested derivative markets

Parameters

marketIdsArray<string>requiredquery

MarketIds of the markets

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

positionsV2 InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v2/positions

Positions gets the positions for a trader. V2 removed some redundant fields and had performance improvements

Parameters

subaccountIdstringquery

SubaccountId of the trader we want to get the positions from

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

marketIdstringquery

MarketId of the position we want to fetch. Use this field for fetching from single market

marketIdsArray<string>query

MarketIds of the markets we want to filter. Use this field for fetching from multiple markets

directionstringlongshortquery

filter by direction of the position

subaccountTotalPositionsbooleanfalsequery

set to True to return subaccount total positions

accountAddressstringquery

filter by account address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

tradesV2 InjectiveDerivativeExchangeRPC

GET
https://inj.nownodes.io/api/exchange/derivative/v2/trades

Trades gets the trades of a Derivative Market.

Parameters

marketIdstringquery

MarketId of the market's orderbook we want to fetch

marketIdsArray<string>query

MarketIds of the markets of which we want to get trades

executionSidestringmakertakerquery

Filter by execution side of the trade

directionstringbuysellquery

Filter by direction the trade

skipintegerquery

Skip will skip the first n item from the result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

subaccountIdsArray<string>query

Subaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts

subaccountIdstringquery

SubaccountId of the trader we want to get the trades from

executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquery
tradeIdstringquery

Filter by the tradeId of the trade

accountAddressstringquery

Account address

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveExplorerRPC

ExplorerAPI implements explorer data API for e.g. Blockchain Explorer

GetAccountTxs InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/accountTxs/{address}

GetAccountTxs returns tranctions involving in an account based upon params.

Parameters

beforeintegerquery

Return transactions before this block number

afterintegerquery

Return transactions after this block number

limitinteger<int64>query
skipintegerquery
typestringquery
from_numberinteger<int64>query
to_numberinteger<int64>query
modulestringquery
start_timeinteger<int64>query

The starting timestamp in UNIX milliseconds that the txs must be equal or older than

end_timeinteger<int64>query

The ending timestamp in UNIX milliseconds that the txs must be equal or younger than

statusstringfailsuccessquery

The status of the txs to be returned

addressstringrequiredpath

Address of account

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetBankTransfers InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/bank/transfers

GetBankTransfers returns bank transfers.

Parameters

sendersArray<string>query

Transfer sender address

recipientsArray<string>query

Transfer recipient address

addressArray<string>query

Transfers where either the sender or the recipient is one of the addresses

is_community_pool_relatedbooleanquery

Returns transfers with the community pool address as either sender or recipient

limitinteger<int64>query
skipintegerquery
start_timeinteger<int64>query

The starting timestamp in UNIX milliseconds that the transfers must be equal or older than

end_timeinteger<int64>query

The ending timestamp in UNIX milliseconds that the transfers must be equal or younger than

perPageinteger<int64>query
tokenstringquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetBlocks InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/blocks

GetBlocks returns blocks based upon the request params

Parameters

beforeintegerquery
afterintegerquery
limitinteger<int64>query

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetBlock InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/blocks/{id}

GetBlock returns block based upon the height or hash

Parameters

idstringrequiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetContractTxs InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/contractTxs/{address}

GetContractTxs returns contract-related transactions

Parameters

limitinteger[0, 100]100query
skipinteger<= 10000query
from_numberinteger<int64>query
to_numberinteger<int64>query
addressstringrequiredpath

Address of contract

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetIBCTransferTxs InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/ibc-transfer-txs

GetIBCTransferTxs returns the ibc transfer transactions based upon the request params

Parameters

senderstringquery
receiverstringquery
src_channelstringquery
src_portstringquery
dest_channelstringquery
dest_portstringquery
limitinteger<int64>query
skipintegerquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetOrder InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/orders/{id}

GetOrder returns order information based up on order id

Parameters

idstringrequiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetPeggyDepositTxs InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/peggy-deposit-txs

GetPeggyDepositTxs returns the peggy deposit transactions based upon the request params

Parameters

senderstringquery

Sender address of deposit request

receiverstringquery

Address of receiveer upon deposit

limitinteger<int64>query
skipintegerquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetPeggyWithdrawalTxs InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/peggy-withdrawal-txs

GetPeggyWithdrawalTxs returns the peggy withdrawal transactions based upon the request params

Parameters

senderstringquery

Sender address of withdrawal request

receiverstringquery

Address of receiveer upon withdrawal

limitinteger<int64>query
skipintegerquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

Relayers InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/relayers

Request relayers infos by marketIDs. If no ids are provided, all market with associated relayers are returned

Parameters

marketIDsArray<string>query

Specify multiple marketIDs to search.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetStatus InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/status

GetStatus returns current status on the active chain

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetTxs InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/txs

GetTxs returns transactions based upon the request params

Parameters

beforeintegerquery
afterintegerquery
limitinteger<int64>query
skipintegerquery
typestringquery
modulestringquery
from_numberinteger<int64>query
to_numberinteger<int64>query
start_timeinteger<int64>query

The starting timestamp in UNIX milliseconds that the txs must be equal or older than

end_timeinteger<int64>query

The ending timestamp in UNIX milliseconds that the txs must be equal or younger than

statusstringfailsuccessquery

The status of the txs to be returned

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetTxByTxHash InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/txs/{hash}

GetTxByTxHash returns certain transaction information by its tx hash.

Parameters

hashstringrequiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetValidatorUptime InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/validator_uptime/{address}

GetValidatorUptime returns validator uptime information on the active chain

Parameters

addressstringrequiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetValidators InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/validators

GetValidators returns validators on the active chain

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetValidator InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/validators/{address}

GetValidator returns validator information on the active chain

Parameters

addressstringrequiredpath

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetWasmCodes InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/wasm/codes

GetWasmCodes lists all stored code

Parameters

limitinteger[1, 100]100query
from_numberinteger<int64>query
to_numberinteger<int64>query

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetWasmCodeById InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/wasm/codes/{code_id}

GetWasmCodeById list cosmwasm code infor by ID

Parameters

code_idinteger<int64>requiredpath

Code ID of the code

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetWasmContracts InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/wasm/contracts

GetWasmContracts lists all contracts

Parameters

limitinteger[1, 100]100query
code_idinteger<int64>query
from_numberinteger<int64>query
to_numberinteger<int64>query
assets_onlybooleanfalsequery
skipinteger<int64>0query
labelstringquery

Label of the contract

Response

200OK

OK response.

Authorization

api-keyAuthapiKey in header

GetWasmContractByAddress InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/wasm/contracts/{contract_address}

GetWasmContractByAddress list cosmwasm contract info by its address

Parameters

contract_addressstringrequiredpath

Contract address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

GetCw20Balance InjectiveExplorerRPC

GET
https://inj.nownodes.io/api/explorer/v1/wasm/{address}/cw20-balance

GetCw20Balance lists all cw20 balances of an injective account

Parameters

limitinteger[1, 100]100query
addressstringrequiredpath

address to list balance of

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

health

HealthAPI allows to check if backend data is up-to-date and reliable or not.

GetStatus health

GET
https://inj.nownodes.io/api/health/v1/status

Get current backend health status

Response

200OK

OK response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveInsuranceRPC

InjectiveInsuranceRPC defines gRPC API of Insurance provider.

funds InjectiveInsuranceRPC

GET
https://inj.nownodes.io/api/exchange/insurance/v1/funds

Funds lists all insurance funds.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

redemptions InjectiveInsuranceRPC

GET
https://inj.nownodes.io/api/exchange/insurance/v1/redemptions

PendingRedemptions lists all pending redemptions according to a filter

Parameters

redeemerstringquery

Account address of the redemption owner

redemptionDenomstringquery

Denom of the insurance pool token.

statusstringquery

Status of the redemption. Either pending or disbursed.

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveMetaRPC

InjectiveMetaRPC is a special API subset to get info about server.

info InjectiveMetaRPC

GET
https://inj.nownodes.io/api/exchange/meta/v1/info

Gets connection info

Parameters

timestampinteger<int64>query

Provide current system UNIX timestamp in millis

Response

200OK

OK response.

Authorization

api-keyAuthapiKey in header

ping InjectiveMetaRPC

GET
https://inj.nownodes.io/api/exchange/meta/v1/ping

Endpoint for checking server health.

Response

200OK

OK response.

Authorization

api-keyAuthapiKey in header

tokenMetadata InjectiveMetaRPC

GET
https://inj.nownodes.io/api/exchange/meta/v1/tokenMetadata

Get tokens metadata. Can be filtered by denom

Parameters

denomsArray<string>query

Response

200OK

OK response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

version InjectiveMetaRPC

GET
https://inj.nownodes.io/api/exchange/meta/v1/version

Returns injective-exchange version.

Response

200OK

OK response.

Authorization

api-keyAuthapiKey in header

InjectiveOracleRPC

InjectiveOracleRPC defines gRPC API of Exchange Oracle provider.

oracleList InjectiveOracleRPC

GET
https://inj.nownodes.io/api/exchange/oracle/v1/oracleList

List all oracles

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

price InjectiveOracleRPC

GET
https://inj.nownodes.io/api/exchange/oracle/v1/price

Gets the price of the oracle

Parameters

baseSymbolstringrequiredquery

Oracle base currency

quoteSymbolstringrequiredquery

Oracle quote currency

oracleTypestringrequiredquery

Oracle Type

oracleScaleFactorintegerrequiredquery

OracleScaleFactor

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectivePortfolioRPC

InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider.

accountPortfolio InjectivePortfolioRPC

GET
https://inj.nownodes.io/api/exchange/portfolio/v2/portfolio/{accountAddress}

Provide the account's portfolio

Parameters

accountAddressstringrequiredpath

Account address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

accountPortfolioBalances InjectivePortfolioRPC

GET
https://inj.nownodes.io/api/exchange/portfolio/v2/portfolio/{accountAddress}/balances

Provide the account's portfolio balances

Parameters

accountAddressstringrequiredpath

Account address

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveSpotExchangeRPC

InjectiveSpotExchangeRPC defines gRPC API of Spot Exchange provider.

atomicSwapHistory InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v1/atomicSwapHistory

Get historical atomic swaps

Parameters

addressstringrequiredquery

sender of the atomic swap

contract_addressstringquery

atomic swap contract address to filter

limitinteger<int32>100query

limit number of swaps returned by this API

skipinteger<= 100000query

skip some swaps

from_numberinteger<int32>query

lowerbound of atomic swap index

to_numberinteger<int32>query

upperbound of atomic swap index

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

markets InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v1/markets

Get a list of Spot Markets

Parameters

marketStatusstringactivepausedsuspendeddemolishedexpiredactivequery

Filter by market status

quoteDenomstringquery

Filter by the Coin denomination of the quote currency

baseDenomstringquery

Filter by the Coin denomination of the base currency

marketStatusesArray<string>activepausedsuspendeddemolishedexpiredquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

market InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v1/markets/{marketId}

Get details of a single spot market

Parameters

marketIdstringrequiredpath

MarketId of the market we want to fetch

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

orders InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v1/orders

Orders of a Spot Market

Parameters

marketIdstringquery

MarketId of the market's orderbook we want to fetch

marketIdsArray<string>query

MarketIds of the markets of which we want to get trades

orderSidestringbuysellquery

Look for specific order side

subaccountIdstringquery

Look for specific subaccountId of an order

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned.

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

includeInactivebooleanfalsequery

Should include inactive orders

subaccountTotalOrdersbooleanfalsequery

Choose to return subaccount total orders

tradeIdstringquery

TradeId of the order we want to fetch

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

ordersHistory InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v1/ordersHistory

Lists history orders posted from this subaccount

Parameters

subaccountIdstringquery

subaccount ID to filter orders for specific subaccount

marketIdstringquery

Market ID to filter orders for specific market

marketIdsArray<string>query
activeMarketsOnlybooleanfalsequery

Return only orders for active markets

skipinteger0query

Skip will skip the first n item from the result

limitinteger[1, 100]100query

Limit is used to specify the maximum number of items to be returned

orderTypesArray<string>buysellstop_buystop_selltake_buytake_sellbuy_posell_poquery

filter by order types

directionstringquery

order side filter

startTimeinteger<int64>query

Search for orders which createdAt >= startTime, time in millisecond

endTimeinteger<int64>query

Search for orders which createdAt <= endTime, time in millisecond

statestringbookedpartial_filledfilledcanceledquery

Filter by order state

executionTypesArray<string>marketlimitquery
tradeIdstringquery

TradeId of the order we want to fetch

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

trades InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v1/trades

Trades of a Spot Market

Parameters

marketIdstringquery

MarketId of the market's orderbook we want to fetch

marketIdsArray<string>query

MarketIds of the markets of which we want to get trades

executionSidestringmakertakerquery

Filter by execution side of the trade

directionstringbuysellquery

Filter by direction the trade

skipintegerquery

Skip will skip the first n item from the item result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

subaccountIdstringquery

SubaccountId of the trader we want to get the trades from

subaccountIdsArray<string>query

Subaccount ids of traders we want to get trades

executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquery
tradeIdstringquery

Filter by the tradeId of the trade

accountAddressstringquery

Account address

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

orderbookV2 InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v2/orderbook/{marketId}

Orderbook of a Spot Market

Parameters

marketIdstringrequiredpath

MarketId of the market's orderbook we want to fetch

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

orderbooksV2 InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v2/orderbooks

Orderbook of Spot Markets

Parameters

marketIdsArray<string>requiredquery

MarketIds of the markets

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

tradesV2 InjectiveSpotExchangeRPC

GET
https://inj.nownodes.io/api/exchange/spot/v2/trades

Trades of a Spot Market

Parameters

marketIdstringquery

MarketId of the market's orderbook we want to fetch

marketIdsArray<string>query

MarketIds of the markets of which we want to get trades

executionSidestringmakertakerquery

Filter by execution side of the trade

directionstringbuysellquery

Filter by direction the trade

skipintegerquery

Skip will skip the first n item from the item result

limitinteger<int64>query

Limit is used to specify the maximum number of items to be returned.

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds that the trades must be equal or older than

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds that the trades must be equal or younger than

subaccountIdstringquery

SubaccountId of the trader we want to get the trades from

subaccountIdsArray<string>query

Subaccount ids of traders we want to get trades

executionTypesArray<string>marketlimitFilllimitMatchRestingOrderlimitMatchNewOrderquery
tradeIdstringquery

Filter by the tradeId of the trade

accountAddressstringquery

Account address

cidstringquery

Client order ID

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

InjectiveTradingRPC

InjectiveTradingStrategiesRPC defined a gRPC service for Injective Trading Strategies.

listTradingStrategies InjectiveTradingRPC

GET
https://inj.nownodes.io/api/trading/v1/strategies

Lists all trading strategies

Parameters

statestringactiveremovedquery
marketIdstringquery

MarketId of the trading strategy

subaccountIdstringquery

subaccount ID to filter by

accountAddressstringquery

Account address

startTimeinteger<int64>query

The starting timestamp in UNIX milliseconds for the creation time of the trading strategy

endTimeinteger<int64>query

The ending timestamp in UNIX milliseconds for the creation time of the trading strategy

pendingExecutionbooleanquery

Indicates whether the trading strategy is pending execution

limitinteger<int64>query
skipintegerquery

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

Authorization

api-keyAuthapiKey in header

Tendermint / RPC

health

HealthAPI allows to check if backend data is up-to-date and reliable or not.

Health check

POST
https://inj.nownodes.io/

Checks if the node is alive and responding correctly.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idintegerrequired

Request ID

methodstringrequired

RPC method name

paramsobjectrequired

Empty object for health method

Response

200OK

Node is healthy

Authorization

api-keyAuthapiKey in header

abci_info

Get ABCI info

POST
https://inj.nownodes.io/

Retrieve information about the ABCI application including version and last block state

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringabci_inforequired

The JSON-RPC method name

paramsobjectrequired

Parameters for abci_info method (currently empty)

Response

200OK

Successful ABCI info response

Authorization

api-keyAuthapiKey in header

block_by_hash

Get block by hash

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idintegerrequired

Request ID

methodstringrequired

RPC method name

paramsobjectrequired
Show child attributes
hashstringrequired

Block hash to query

Response

200OK

Block data by hash or empty block if not found

Authorization

api-keyAuthapiKey in header

block_results

Get block transaction results and events by height

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idintegerrequired

Request ID

methodstringrequired

RPC method name

paramsobjectrequired
Show child attributes
heightstringrequired

Block height to query

Response

200OK

Block transaction results and event data

Authorization

api-keyAuthapiKey in header

block

Get block by height

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idintegerrequired

Request ID

methodstringrequired

RPC method name

paramsobjectrequired
Show child attributes
Heightstringrequired

Block height to query

Response

200OK

Full block data for the specified height

Authorization

api-keyAuthapiKey in header

blockchain

Query blockchain block metadata in height range

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idintegerrequired

Request ID

methodstringrequired

RPC method name

paramsobjectrequired
Show child attributes
minHeightstringrequired

Minimum block height (inclusive)

maxHeightstringrequired

Maximum block height (inclusive)

Response

200OK

Block metadata within height range

Authorization

api-keyAuthapiKey in header

check_tx

Check transaction validity

POST
https://inj.nownodes.io/

Validate a transaction without adding it to the mempool. Returns transaction check results including gas usage and validation errors.

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringcheck_txrequired

The JSON-RPC method name for transaction validation

paramsobjectrequired
Show child attributes
txstringrequired

Hexadecimal encoded transaction data to validate

Response

200OK

Transaction validation result

Authorization

api-keyAuthapiKey in header

commit

Get block commit by height

POST
https://inj.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idintegerrequired

Request ID

methodstringrequired

RPC method name

paramsobjectrequired
Show child attributes
Heightstringrequired

Block height to query commit for

Response

200OK

Block commit data including signed header and signatures

Authorization

api-keyAuthapiKey in header

consensus_params

Get consensus parameters

POST
https://inj.nownodes.io/

Retrieve current consensus parameters at specified block height

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringconsensus_paramsrequired

The JSON-RPC method name

paramsobjectrequired

Parameters for consensus_params method (currently empty)

Response

200OK

Successful consensus parameters response

Authorization

api-keyAuthapiKey in header

consensus_state

Get consensus state

POST
https://inj.nownodes.io/

Retrieve current consensus state including round state, voting information, and proposer details

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringconsensus_staterequired

The JSON-RPC method name

paramsobjectrequired

Parameters for consensus_state method (currently empty)

Response

200OK

Successful consensus state response

Authorization

api-keyAuthapiKey in header

dump_consensus_state

Dump consensus state

POST
https://inj.nownodes.io/

Retrieve detailed consensus state including round state and complete validator set information

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringdump_consensus_staterequired

The JSON-RPC method name

paramsobjectrequired

Parameters for dump_consensus_state method (currently empty)

Response

200OK

Successful consensus state dump response

Authorization

api-keyAuthapiKey in header

genesis_chunked

Retrieve genesis chunk

POST
https://inj.nownodes.io/

Get a specific chunk of the genesis file for Cosmos Hub (ATOM)

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringgenesis_chunkedrequired

The JSON-RPC method name

paramsobjectrequired
Show child attributes
chunkstringrequired

Zero-based index of the genesis chunk to retrieve

Response

200OK

Successful genesis chunk response

Authorization

api-keyAuthapiKey in header

genesis

Get genesis data

POST
https://inj.nownodes.io/

Retrieves the blockchain genesis file using JSON-RPC.

Body

application/json
jsonrpcstringrequired
idintegerrequired
methodstringgenesisrequired
paramsobjectrequired

No parameters required for this method.

Response

200OK

Genesis data retrieved successfully.

Authorization

api-keyAuthapiKey in header

net_info

Get network info

POST
https://inj.nownodes.io/

Provides details about the P2P network, including peers, connection status, and listener info.

Body

application/json
jsonrpcstringrequired
idintegerrequired
methodstringrequired
paramsobjectrequired

Response

200OK

Network information

Authorization

api-keyAuthapiKey in header

num_unconfirmed_txs

Get number of unconfirmed transactions

POST
https://inj.nownodes.io/

Retrieve the count and size of transactions currently in the mempool without returning the actual transactions

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringnum_unconfirmed_txsrequired

The JSON-RPC method name for getting unconfirmed transactions count

paramsobjectrequired

Parameters for num_unconfirmed_txs method (currently empty)

Response

200OK

Successfully retrieved unconfirmed transactions count

Authorization

api-keyAuthapiKey in header

status

Get node status

POST
https://inj.nownodes.io/

Sends a JSON-RPC 2.0 POST request to the Tendermint RPC server to get node status.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version

idintegerrequired

Request identifier

methodstringrequired

RPC method name

paramsobjectrequired

Method-specific parameters (empty object for status)

Response

200OK

Successful node status response

Authorization

api-keyAuthapiKey in header

Search transactions

POST
https://inj.nownodes.io/

Search for transactions with query filters, pagination, and sorting options

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringtx_searchrequired

The JSON-RPC method name for transaction search

paramsobjectrequired
Show child attributes
querystringrequired

Query string using Tendermint query syntax. Examples:

  • "tx.height=123456" - Transactions at specific height
  • "transfer.recipient='cosmos1...'" - Transfer transactions to recipient
  • "message.sender='cosmos1...'" - Transactions from specific sender
  • "tx.hash='ABC123...'" - Specific transaction hash
proveboolean

Whether to include merkle proofs for transactions

pageinteger

Page number for pagination (1-based)

per_pageinteger

Number of transactions per page

order_bystringascdesc

Sort order for results

Response

200OK

Transactions found successfully

Authorization

api-keyAuthapiKey in header

tx

Get transaction by hash

POST
https://inj.nownodes.io/

Retrieve a transaction by its hash with optional proof verification

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringtxrequired

The JSON-RPC method name for transaction query

paramsobjectrequired
Show child attributes
hashstringrequired

Hexadecimal hash of the transaction to query

provebooleanrequired

Whether to include merkle proof of transaction inclusion in block

Response

200OK

Transaction found successfully

Authorization

api-keyAuthapiKey in header

unconfirmed_txs

Get unconfirmed transactions

POST
https://inj.nownodes.io/

Retrieve transactions currently in the mempool (unconfirmed transactions)

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

idinteger | stringrequired

Request identifier for matching responses

methodstringunconfirmed_txsrequired

The JSON-RPC method name for getting unconfirmed transactions

paramsobjectrequired
Show child attributes
limitinteger

Maximum number of transactions to return (0 = unlimited)

Response

200OK

Successfully retrieved unconfirmed transactions

Authorization

api-keyAuthapiKey in header

validators

Get Validators by Block Height

POST
https://inj.nownodes.io/

Calls the validators JSON-RPC method to retrieve a paginated list of validators at a given block height.

Body

application/json
jsonrpcstring2.0required

JSON-RPC protocol version, must be "2.0".

idintegerrequired

Unique identifier for the request, used to match the response.

methodstringvalidatorsrequired

The method name to call.

paramsobjectrequired
Show child attributes
heightstringrequired

The block height for which to query the validators.

pagestringrequired

Page number for pagination (1-based).

per_pagestringrequired

Number of validators to return per page.

Response

200OK

Successful response containing validators list and metadata

Authorization

api-keyAuthapiKey in header

Tendermint

Tendermint

Returns with the response from CheckTx. Does not wait for DeliverTx result.

GET
https://inj.nownodes.io/broadcast_tx_sync

This method blocks until CheckTx returns and reports its result, but does not wait for the transaction to be included in a block. To know when the transaction is included in a block, check for the transaction event using JSON-RPC.

Parameters

txstringrequiredquery

The transaction

Response

200OK

Empty

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Returns with the response from CheckTx. Does not wait for DeliverTx result.

GET
https://inj.nownodes.io/broadcast_tx

This method blocks until CheckTx returns and reports its result, but does not wait for the transaction to be included in a block. To know when the transaction is included in a block, check for the transaction event using JSON-RPC.

Parameters

txstringrequiredquery

The transaction

Response

200OK

Empty

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Returns right away, with no response. Does not wait for CheckTx nor DeliverTx results.

GET
https://inj.nownodes.io/broadcast_tx_async

This method submits the transaction and returns immediately without waiting for the transaction to be checked (CheckTx) or committed. Too know when the transaction is included in a block, you can check for the transaction event using JSON-RPC.

Parameters

txstringrequiredquery

The transaction

Response

200OK

empty answer

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Returns with the responses from CheckTx and DeliverTx.

GET
https://inj.nownodes.io/broadcast_tx_commit

This method waits for the transaction to be checked (CheckTx) and makes a best effort to wait for it to be committed into a block before returning. It will report an error if the request times out before the transaction commits. If CheckTx or DeliverTx fails, the RPC will succeed and report the failing (non-zero) ABCI result code.

WARNING: Use this only for testing and development. For production use, call broadcast_tx.

To know when a transaction is included in a block, check for the transaction event using JSON-RPC.

Parameters

txstringrequiredquery

The transaction

Response

200OK

empty answer

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Checks the transaction without executing it.

GET
https://inj.nownodes.io/check_tx

The transaction won't be added to the mempool.

Please refer to https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules.

Parameters

txstringrequiredquery

The transaction

Response

200OK

ABCI application's CheckTx response

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Removes a transaction from the mempool.

GET
https://inj.nownodes.io/remove_tx

Parameters

txKeystringrequiredquery

The transaction key

Response

200OK

empty response.

500Internal Server Error

empty error.

Authorization

api-keyAuthapiKey in header

Fetch events posted by the consensus node.

GET
https://inj.nownodes.io/events

Fetch a batch of events posted by the consensus node and matching a specified query string.

The query grammar is defined in pubsub/query/syntax. An empty query matches all events; otherwise a query comprises one or more terms comparing event metadata to target values. For example, to select new block events:

Copied!
tm.event = 'NewBlock'

Multiple terms can be combined with AND, for example to match the transaction event with a given hash, use:

Copied!
tm.event = 'Tx' AND tx.hash = 'EA7B33F'

The comparison operators include =, <, <=, >, >=, and CONTAINS. Operands may be strings (in single quotes), numbers, dates, or timestamps. In addition, the EXISTS operator allows you to check for the presence of an attribute regardless of its value.

Tendermint defines a tm.event attribute for all events. Transactions are also assigned tx.hash and tx.height attributes. Other attributes are provided by the application as ABCI Event records. The name of the event in the query is formed by combining the type and attribute key with a period. For example, given:

Copied!
[]abci.Event{{
    Type: "reward",
    Attributes: []abci.EventAttribute{
        {Key: "address", Value: "cosmos1xyz012pdq"},
        {Key: "amount", Value: "45.62"},
        {Key: "balance", Value: "100.390001"},
    },
}}

the query may refer to the names"reward.address,"reward.amount, and reward.balance, as in:

Copied!
reward.address EXISTS AND reward.balance > 45

The node maintains a log of all events within an operator-defined time window. The /events method returns the most recent items from the log that match the query. Each item returned includes a cursor that marks its location in the log. Cursors can be passed via the before and after parameters to fetch events earlier in the log.

Parameters

filterEventFilterquery
maxItemsintegerquery
afterstringquery
beforestringquery
waitTimeintegerquery

Response

200OK

Reports a batch of matching events

500Internal Server Error

Reports an error

Authorization

api-keyAuthapiKey in header

Subscribe for events via WebSocket.

GET
https://inj.nownodes.io/subscribe

To tell which events you want, you need to provide a query. query is a string, which has a form: "condition AND condition ..." (no OR at the moment). condition has a form: "key operation operand". key is a string with a restricted set of possible symbols ( \t\n\r\()"'=>< are not allowed). operation can be "=", "<", "<=", ">", ">=", "CONTAINS" AND "EXISTS". operand can be a string (escaped with single quotes), number, date or time.

Examples: tm.event = 'NewBlock' # new blocks tm.event = 'CompleteProposal' # node got a complete proposal tm.event = 'Tx' AND tx.hash = 'XYZ' # single transaction tm.event = 'Tx' AND tx.height = 5 # all txs of the fifth block tx.height = 5 # all txs of the fifth block

Tendermint provides a few predefined keys: tm.event, tx.hash and tx.height. Note for transactions, you can define additional keys by providing events with DeliverTx response.

import ( abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/pubsub/query" )

abci.ResponseDeliverTx{ Events: []abci.Event{ { Type: "rewards.withdraw", Attributes: []abci.EventAttribute{ {Key: "address", Value: "AddrA", Index: true}, {Key: "source", Value: "SrcX", Index: true}, {Key: "amount", Value: "...", Index: true}, {Key: "balance", Value: "...", Index: true}, }, }, { Type: "rewards.withdraw", Attributes: []abci.EventAttribute{ {Key: "address", Value: "AddrB", Index: true}, {Key: "source", Value: "SrcY", Index: true}, {Key: "amount", Value: "...", Index: true}, {Key: "balance", Value: "...", Index: true}, }, }, { Type: "transfer", Attributes: []abci.EventAttribute{ {Key: "sender", Value: "AddrC", Index: true}, {Key: "recipient", Value: "AddrD", Index: true}, {Key: "amount", Value: "...", Index: true}, }, }, }, }

All events are indexed by a composite key of the form {eventType}.{evenAttrKey}. In the above examples, the following keys would be indexed:

  • rewards.withdraw.address
  • rewards.withdraw.source
  • rewards.withdraw.amount
  • rewards.withdraw.balance
  • transfer.sender
  • transfer.recipient
  • transfer.amount

Multiple event types with duplicate keys are allowed and are meant to categorize unique and distinct events. In the above example, all events indexed under the key rewards.withdraw.address will have the following values stored and queryable:

  • AddrA
  • AddrB

To create a query for txs where address AddrA withdrew rewards: query.MustParse("tm.event = 'Tx' AND rewards.withdraw.address = 'AddrA'")

To create a query for txs where address AddrA withdrew rewards from source Y: query.MustParse("tm.event = 'Tx' AND rewards.withdraw.address = 'AddrA' AND rewards.withdraw.source = 'Y'")

To create a query for txs where AddrA transferred funds: query.MustParse("tm.event = 'Tx' AND transfer.sender = 'AddrA'")

The following queries would return no results: query.MustParse("tm.event = 'Tx' AND transfer.sender = 'AddrZ'") query.MustParse("tm.event = 'Tx' AND rewards.withdraw.address = 'AddrZ'") query.MustParse("tm.event = 'Tx' AND rewards.withdraw.source = 'W'")

Copied!
import rpchttp "github.com/tendermint/rpc/client/http"
import "github.com/tendermint/tendermint/types"

client, err := rpchttp.New("tcp://0.0.0.0:26657", "/websocket")
if err != nil {
  // handle error
}

err = client.Start()
if err != nil {
  // handle error
}
defer client.Stop()
ctx, cancel := context.WithTimeout(context.Background(), 1 * time.Second)
defer cancel()
query := "tm.event = 'Tx' AND tx.height = 3"
txs, err := client.Subscribe(ctx, "test-client", query)
if err != nil {
  // handle error
}

go func() {
 for e := range txs {
   fmt.Println("got ", e.Data.(types.EventDataTx))
   }
}()

NOTE: if you're not reading events fast enough, Tendermint might terminate the subscription.

Parameters

querystringrequiredquery

query is a string, which has a form: "condition AND condition ..." (no OR at the moment). condition has a form: "key operation operand". key is a string with a restricted set of possible symbols ( \t\n\r\()"'=>< are not allowed). operation can be "=", "<", "<=", ">", ">=", "CONTAINS". operand can be a string (escaped with single quotes), number, date or time.

Response

200OK

empty answer

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Unsubscribe from event on Websocket

GET
https://inj.nownodes.io/unsubscribe
Copied!
client, err := rpchttp.New("tcp://0.0.0.0:26657", "/websocket")
if err != nil {
  // handle error
}

err := client.Start()
if err != nil {
  // handle error
}
defer client.Stop()
query := "tm.event = 'Tx' AND tx.height = 3"
err = client.Unsubscribe(context.Background(), "test-client", query)
if err != nil {
  // handle error
}

Parameters

querystringrequiredquery

query is a string, which has a form: "condition AND condition ..." (no OR at the moment). condition has a form: "key operation operand". key is a string with a restricted set of possible symbols ( \t\n\r\()"'=>< are not allowed). operation can be "=", "<", "<=", ">", ">=", "CONTAINS". operand can be a string (escaped with single quotes), number, date or time.

Response

200OK

Answer

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Unsubscribe from all events via WebSocket

GET
https://inj.nownodes.io/unsubscribe_all

Unsubscribe from all events via WebSocket

Response

200OK

empty answer

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Node heartbeat

GET
https://inj.nownodes.io/health

Get node health. Returns empty result (200 OK) on success, no response - in case of an error.

Response

200OK

Gets Node Health

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Node Status

GET
https://inj.nownodes.io/status

Get Tendermint status including node info, pubkey, latest block hash, app hash, block height, current max peer height, and time.

Response

200OK

Status of the node

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Network information

GET
https://inj.nownodes.io/net_info

Get network info.

Response

200OK

empty answer

500Internal Server Error

empty error

Authorization

api-keyAuthapiKey in header

Get block headers (max: 20) for minHeight <= height <= maxHeight.

GET
https://inj.nownodes.io/blockchain

Get block headers for minHeight <= height maxHeight.

If maxHeight does not yet exist, blocks up to the current height will be returned. If minHeight does not exist (due to pruning), earliest existing height will be used.

At most 20 items will be returned. Block headers are returned in descending order (highest first).

Parameters

minHeightintegerquery

Minimum block height to return

maxHeightintegerquery

Maximum block height to return

Response

200OK

Block headers, returned in descending order (highest first).

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get the header at a specified height

GET
https://inj.nownodes.io/header

Retrieve the block header corresponding to a specified height.

Parameters

heightinteger0query

height to return. If no height is provided, it will fetch the latest height.

Response

200OK

Header information.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get header by hash

GET
https://inj.nownodes.io/header_by_hash

Retrieve the block header corresponding to a block hash.

Parameters

hashstringrequiredquery

header hash

Response

200OK

Header information.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get block at a specified height

GET
https://inj.nownodes.io/block

Get Block.

Parameters

heightinteger0query

height to return. If no height is provided, it will fetch the latest block.

Response

200OK

Block information.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get block by hash

GET
https://inj.nownodes.io/block_by_hash

Get Block By Hash.

Parameters

hashstringrequiredquery

block hash

Response

200OK

Block information.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get block results at a specified height

GET
https://inj.nownodes.io/block_results

Get block_results.

Parameters

heightinteger0query

height to return. If no height is provided, it will fetch information regarding the latest block.

Response

200OK

Block results.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get commit results at a specified height

GET
https://inj.nownodes.io/commit

Get Commit.

Parameters

heightinteger0query

height to return. If no height is provided, it will fetch commit information regarding the latest block.

Response

200OK

Commit results.

canonical switches from false to true for block H once block H+1 has been committed. Until then it's subjective and only reflects what this node has seen so far.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get validator set at a specified height

GET
https://inj.nownodes.io/validators

Get Validators. Validators are sorted first by voting power (descending), then by address (ascending).

Parameters

heightinteger0query

height to return. If no height is provided, it will fetch validator set which corresponds to the latest block.

pageinteger1query

Page number (1-based)

per_pageinteger30query

Number of entries per page (max: 100)

Response

200OK

Commit results.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get Genesis

GET
https://inj.nownodes.io/genesis

Get the genesis document.

Response

200OK

Genesis results.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get Genesis in paginated chunks

GET
https://inj.nownodes.io/genesis_chunked

Get genesis document in a paginated/chunked format to make it easier to iterate through larger genesis structures.

Parameters

chunkIDinteger0query

Sequence number of the chunk to download.

Response

200OK

Genesis results.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get consensus state

GET
https://inj.nownodes.io/dump_consensus_state

Get consensus state.

Not safe to call from inside the ABCI application during a block execution.

Response

200OK

Complete consensus state.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get consensus state

GET
https://inj.nownodes.io/consensus_state

Get consensus state.

Not safe to call from inside the ABCI application during a block execution.

Response

200OK

consensus state results.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get consensus parameters

GET
https://inj.nownodes.io/consensus_params

Get consensus parameters.

Parameters

heightinteger0query

height to return. If no height is provided, it will fetch commit information regarding the latest block.

Response

200OK

consensus parameters results.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get the list of unconfirmed transactions

GET
https://inj.nownodes.io/unconfirmed_txs

Get list of unconfirmed transactions

Parameters

pageinteger1query

Page number (1-based)

per_pageinteger30query

Number of entries per page (max: 100)

Response

200OK

List of unconfirmed transactions

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get data about unconfirmed transactions

GET
https://inj.nownodes.io/num_unconfirmed_txs

Get data about unconfirmed transactions

Response

200OK

status about unconfirmed transactions

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Search for transactions

GET
https://inj.nownodes.io/tx_search

Search for transactions w/ their results.

See /subscribe for the query syntax.

Parameters

querystringrequiredquery

Query

provebooleanfalsequery

Include proofs of the transactions inclusion in the block

pageinteger1query

Page number (1-based)

per_pageinteger30query

Number of entries per page (max: 100)

order_bystringdescquery

Order in which transactions are sorted ("asc" or "desc"), by height & index. If empty, default sorting will be still applied.

Response

200OK

List of transactions

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Search for blocks by BeginBlock and EndBlock events

GET
https://inj.nownodes.io/block_search

Search for blocks by BeginBlock and EndBlock events.

See /subscribe for the query syntax.

Parameters

querystringrequiredquery

Query

pageinteger1query

Page number (1-based)

per_pageinteger30query

Number of entries per page (max: 100)

order_bystringdescquery

Order in which blocks are sorted ("asc" or "desc"), by height. If empty, default sorting will be still applied.

Response

200OK

List of paginated blocks matching the search criteria.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get transactions by hash

GET
https://inj.nownodes.io/tx

Get a transaction

Parameters

hashstringrequiredquery

transaction Hash to retrive

provebooleanfalsequery

Include proofs of the transactions inclusion in the block

Response

200OK

Get a transaction

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Get some info about the application.

GET
https://inj.nownodes.io/abci_info

Get some info about the application.

Response

200OK

Get some info about the application.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Query the application for some information.

GET
https://inj.nownodes.io/abci_query

Query the application for some information.

Parameters

pathstringrequiredquery

Path to the data ("/a/b/c")

datastringrequiredquery

Data

heightinteger0query

Height (0 means latest)

provebooleanfalsequery

Include proofs of the transactions inclusion in the block

Response

200OK

Response of the submitted query

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header

Broadcast evidence of the misbehavior.

GET
https://inj.nownodes.io/broadcast_evidence

Broadcast evidence of the misbehavior.

Parameters

evidencestringrequiredquery

JSON evidence

Response

200OK

Broadcast evidence of the misbehavior.

500Internal Server Error

Error

Authorization

api-keyAuthapiKey in header