Auctions
Provide the historical auctions info
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/auction/v1/auctions HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"auctions": [
{
"basket": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
],
"endTimestamp": 1544614248000,
"round": 3,
"updatedAt": 1544614248000,
"winner": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"winningBidAmount": "1000000000000000000"
},
{
"basket": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
],
"endTimestamp": 1544614248000,
"round": 3,
"updatedAt": 1544614248000,
"winner": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"winningBidAmount": "1000000000000000000"
},
{
"basket": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
],
"endTimestamp": 1544614248000,
"round": 3,
"updatedAt": 1544614248000,
"winner": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"winningBidAmount": "1000000000000000000"
},
{
"basket": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
],
"endTimestamp": 1544614248000,
"round": 3,
"updatedAt": 1544614248000,
"winner": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"winningBidAmount": "1000000000000000000"
}
]
}
Provide historical auction info for a given auction
Path parameters
roundinteger · int64RequiredExample:
The auction round number. -1 for latest.
3
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/auction/v1/auctions/{round} HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"auction": {
"basket": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
],
"endTimestamp": 1544614248000,
"round": 3,
"updatedAt": 1544614248000,
"winner": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"winningBidAmount": "1000000000000000000"
},
"bids": [
{
"amount": "1000000000000000000",
"bidder": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"timestamp": 1544614248000
},
{
"amount": "1000000000000000000",
"bidder": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"timestamp": 1544614248000
},
{
"amount": "1000000000000000000",
"bidder": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"timestamp": 1544614248000
}
]
}