Markets
Markets gets a list of Derivative Markets
Query parameters
marketStatusstring · enumOptionalDefault:
Filter by market status
active
Example: active
Possible values: quoteDenomstringOptionalExample:
Filter by the Coin denomination of the quote currency
peggy0xdAC17F958D2ee523a2206206994597C13D831ec7
Responses
200
OK response.
application/json
400
Bad Request response.
application/vnd.goa.error
404
Not Found response.
application/vnd.goa.error
500
Internal Server Error response.
application/vnd.goa.error
get
GET /api/exchange/derivative/v1/markets HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"markets": [
{
"expiryFuturesMarketInfo": {
"expirationTimestamp": 1544614248,
"settlementPrice": "0.05"
},
"initialMarginRatio": "0.05",
"isPerpetual": true,
"maintenanceMarginRatio": "0.025",
"makerFeeRate": "0.001",
"marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
"marketStatus": "active",
"minPriceTickSize": "0.001",
"minQuantityTickSize": "0.001",
"oracleBase": "inj-band",
"oracleQuote": "usdt-band",
"oracleScaleFactor": 6,
"oracleType": "band",
"perpetualMarketFunding": {
"cumulativeFunding": "0.05",
"cumulativePrice": "-22.93180251",
"lastTimestamp": 1622930400
},
"perpetualMarketInfo": {
"fundingInterval": 3600,
"hourlyFundingRateCap": "0.000625",
"hourlyInterestRate": "0.00000416666",
"nextFundingTimestamp": 1622930400
},
"quoteDenom": "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quoteTokenMeta": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 18,
"logo": "https://static.alchemyapi.io/images/assets/825.png",
"name": "Tether",
"symbol": "USDT",
"updatedAt": 1544614248000
},
"serviceProviderFee": "0.4",
"takerFeeRate": "0.002",
"ticker": "INJ/USDC"
},
{
"expiryFuturesMarketInfo": {
"expirationTimestamp": 1544614248,
"settlementPrice": "0.05"
},
"initialMarginRatio": "0.05",
"isPerpetual": true,
"maintenanceMarginRatio": "0.025",
"makerFeeRate": "0.001",
"marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
"marketStatus": "active",
"minPriceTickSize": "0.001",
"minQuantityTickSize": "0.001",
"oracleBase": "inj-band",
"oracleQuote": "usdt-band",
"oracleScaleFactor": 6,
"oracleType": "band",
"perpetualMarketFunding": {
"cumulativeFunding": "0.05",
"cumulativePrice": "-22.93180251",
"lastTimestamp": 1622930400
},
"perpetualMarketInfo": {
"fundingInterval": 3600,
"hourlyFundingRateCap": "0.000625",
"hourlyInterestRate": "0.00000416666",
"nextFundingTimestamp": 1622930400
},
"quoteDenom": "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quoteTokenMeta": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 18,
"logo": "https://static.alchemyapi.io/images/assets/825.png",
"name": "Tether",
"symbol": "USDT",
"updatedAt": 1544614248000
},
"serviceProviderFee": "0.4",
"takerFeeRate": "0.002",
"ticker": "INJ/USDC"
}
]
}
Market gets details of a single derivative market
Path parameters
marketIdstring · min: 66 · max: 66RequiredExample:
MarketId of the market we want to fetch
0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb
Pattern: ^0x[0-9a-fA-F]{64}$
Responses
200
OK response.
application/json
400
Bad Request response.
application/vnd.goa.error
404
Not Found response.
application/vnd.goa.error
500
Internal Server Error response.
application/vnd.goa.error
get
GET /api/exchange/derivative/v1/markets/{marketId} HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"market": {
"expiryFuturesMarketInfo": {
"expirationTimestamp": 1544614248,
"settlementPrice": "0.05"
},
"initialMarginRatio": "0.05",
"isPerpetual": true,
"maintenanceMarginRatio": "0.025",
"makerFeeRate": "0.001",
"marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
"marketStatus": "active",
"minPriceTickSize": "0.001",
"minQuantityTickSize": "0.001",
"oracleBase": "inj-band",
"oracleQuote": "usdt-band",
"oracleScaleFactor": 6,
"oracleType": "band",
"perpetualMarketFunding": {
"cumulativeFunding": "0.05",
"cumulativePrice": "-22.93180251",
"lastTimestamp": 1622930400
},
"perpetualMarketInfo": {
"fundingInterval": 3600,
"hourlyFundingRateCap": "0.000625",
"hourlyInterestRate": "0.00000416666",
"nextFundingTimestamp": 1622930400
},
"quoteDenom": "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
"quoteTokenMeta": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 18,
"logo": "https://static.alchemyapi.io/images/assets/825.png",
"name": "Tether",
"symbol": "USDT",
"updatedAt": 1544614248000
},
"serviceProviderFee": "0.4",
"takerFeeRate": "0.002",
"ticker": "INJ/USDC"
}
}