FundingRates
FundingRates gets the historical funding rates for a market.
Query parameters
skipinteger · max: 10000OptionalDefault:
Skip will skip the first n item from the result
0
Example: 0
limitinteger · int64OptionalExample:
Limit is used to specify the maximum number of items to be returned.
100
marketIdstring · min: 66 · max: 66OptionalExample:
MarketId of the position we want to fetch
0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb
Pattern: ^0x[0-9a-fA-F]{64}$
endTimeinteger · int64OptionalExample:
Upper bound of funding timestamp
1645579787
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/fundingRates HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"fundingRates": [
{
"marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
"rate": "0.006",
"timestamp": 1544614248000
},
{
"marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
"rate": "0.006",
"timestamp": 1544614248000
}
],
"paging": {
"countBySubaccount": 3144167030999342600,
"from": 1916499695,
"next": [
"Ea rerum.",
"Aut dolorem cum voluptas quae.",
"Voluptas repellendus qui ipsam est."
],
"to": 391437627,
"total": 7364854934794692000
}
}