Home

Injective-indexer services API doc

v1.0
Base URL
https://inj-indexer.nownodes.ioNowNodes indexer

Injective Indexer Services provide APIs to work with orders, orderbook and transactions on Injective chain

Authentication

api-keyAuthapiKey

API Key: api-key in header

Indexer

Aggregator

Aggregator implements coingecko/cmc integration API spec

derivativeContracts Aggregator

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

derivativeOrderbook Aggregator

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotHistoricalTrades Aggregator

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotOrderbook Aggregator

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotPairs Aggregator

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotTickers Aggregator

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

Swagger

The API Swagger specification

Download ./swagger/index.html

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Provide Swagger-UI html document

Response

200OK

File downloaded

Download ./swagger/

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Serve static content.

Parameters

pathstringrequiredpath

Relative file path

Response

200OK

File not found

404Not Found

File not found

ChronosAPI

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

derivativeMarketConfig ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Data feed configuration data for TradingView.

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

derivativeMarketHistory ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

derivativeMarketSummary ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

allDerivativeMarketSummary ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

derivativeMarketSymbolInfo ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

derivativeMarketSymbolSearch ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

exchangeInfo ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

returns exchange infos for all markets

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

Leaderboard ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

LeaderboardRank ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

MarketSnapshot ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotMarketConfig ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Data feed configuration data for TradingView.

Response

200OK

OK response.

400Bad Request

Bad Request response.

500Internal Server Error

Internal Server Error response.

spotMarketHistory ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotMarketSummary ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

allSpotMarketSummary ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotMarketSymbolInfo ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

spotMarketSymbolSearch ChronosAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveAuctionRPC

InjectiveAuctionRPC defines gRPC API of the Auction API.

auctions InjectiveAuctionRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

auctionEndpoint InjectiveAuctionRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

EventProviderAPI

EventProviderAPI provides processed block events for different backends.

GetABCIBlockEvents EventProviderAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetBlockEvents EventProviderAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetCustomEvents EventProviderAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetLatestHeight EventProviderAPI

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveExchangeRPC

InjectiveExchangeRPC defines gRPC API of an Injective Exchange service.

broadcastCosmosTx InjectiveExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

broadcastTx InjectiveExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

getFeePayer InjectiveExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Return fee payer information's

Response

200OK

OK response.

500Internal Server Error

Internal Server Error response.

getTx InjectiveExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

prepareCosmosTx InjectiveExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

prepareTx InjectiveExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveAccountsRPC

InjectiveAccountsRPC defines API of Exchange Accounts provider.

orderStates InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

portfolio InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

rewards InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

subaccountBalanceEndpoint InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

subaccountBalancesList InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

subaccountHistory InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

subaccountOrderSummary InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

subaccountsList InjectiveAccountsRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveCampaignRPC

InjectiveCampaignRPC defined a gRPC service for Injective Campaigns.

campaigns InjectiveCampaignRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

ranking InjectiveCampaignRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

listGuilds InjectiveCampaignRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

listGuildMembers InjectiveCampaignRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

getGuildMember InjectiveCampaignRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveDerivativeExchangeRPC

InjectiveDerivativeExchangeRPC defines gRPC API of Derivative Markets provider.

binaryOptionsMarkets InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

binaryOptionsMarket InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

fundingPayments InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

fundingRates InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

liquidablePositions InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

markets InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

market InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

orders InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

ordersHistory InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

positions InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

trades InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

orderbookV2 InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

orderbooksV2 InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

positionsV2 InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

tradesV2 InjectiveDerivativeExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveExplorerRPC

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

GetAccountTxs InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetBankTransfers InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetBlocks InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetBlock InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetContractTxs InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetIBCTransferTxs InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetOrder InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetPeggyDepositTxs InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetPeggyWithdrawalTxs InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

Relayers InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetStatus InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetTxs InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetTxByTxHash InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetValidatorUptime InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetValidators InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetValidator InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetWasmCodes InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetWasmCodeById InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetWasmContracts InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetWasmContractByAddress InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

GetCw20Balance InjectiveExplorerRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

health

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

GetStatus health

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Get current backend health status

Response

200OK

OK response.

500Internal Server Error

Internal Server Error response.

InjectiveInsuranceRPC

InjectiveInsuranceRPC defines gRPC API of Insurance provider.

funds InjectiveInsuranceRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

redemptions InjectiveInsuranceRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveMetaRPC

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

info InjectiveMetaRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Gets connection info

Parameters

timestampinteger<int64>query

Provide current system UNIX timestamp in millis

Response

200OK

OK response.

ping InjectiveMetaRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Endpoint for checking server health.

Response

200OK

OK response.

tokenMetadata InjectiveMetaRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

version InjectiveMetaRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns injective-exchange version.

Response

200OK

OK response.

InjectiveOracleRPC

InjectiveOracleRPC defines gRPC API of Exchange Oracle provider.

oracleList InjectiveOracleRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

List all oracles

Response

200OK

OK response.

400Bad Request

Bad Request response.

404Not Found

Not Found response.

500Internal Server Error

Internal Server Error response.

price InjectiveOracleRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectivePortfolioRPC

InjectivePortfolioRPC defines gRPC API of Exchange Portfolio provider.

accountPortfolio InjectivePortfolioRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

accountPortfolioBalances InjectivePortfolioRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveSpotExchangeRPC

InjectiveSpotExchangeRPC defines gRPC API of Spot Exchange provider.

atomicSwapHistory InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

markets InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

market InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

orders InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

ordersHistory InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

trades InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

orderbookV2 InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

orderbooksV2 InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

tradesV2 InjectiveSpotExchangeRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.

InjectiveTradingRPC

InjectiveTradingStrategiesRPC defined a gRPC service for Injective Trading Strategies.

listTradingStrategies InjectiveTradingRPC

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

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.