Auctions

auctions InjectiveAuctionRPC

get

Provide the historical auctions info

Responses
200
OK response.
application/json
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"
    }
  ]
}

auctionEndpoint InjectiveAuctionRPC

get

Provide historical auction info for a given auction

Path parameters
roundinteger · int64Required

The auction round number. -1 for latest.

Example: 3
Responses
200
OK response.
application/json
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
    }
  ]
}