First Trade for a Token

Returns one DEX trade on Ethereum, where base currency is 0xc2a3…3f1c, sorted by block height trade index: quote price, timestamp time, block height, trade index, protocol, full name, address address and 8 more fields.

By lukas · saved 24 August 2022 · run 15 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {asc: ["block.height", "tradeIndex"], limit: 1}
      baseCurrency: {is: "0xc2a35727f6843ad6cc7888587f752246290b3f1c"}
    ) {
      quotePrice
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteAmount
      quoteCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
    }
  }
}

Similar queries