Eth Tokens Price

Returns the latest DEX trade by token on Ethereum, where currency smart contract is 0x4206…1f50: currency name, currency symbol, smart contract, trade amount, amount in USD, price in USD, trade price and 7 more fields.

By Chrome · saved 7 October 2024 · run 18 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: eth, dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x4206975c6d7135ad73129476ebe2b06e42f41f50"}}}, TransactionStatus: {Success: true}}
      orderBy: {descending: Block_Time}
      limit: {count: 1}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          SmartContract
        }
        Amount
        AmountInUSD
        Price_In_USD : PriceInUSD
        Price
        Dex {
          SmartContract
          ProtocolName
          ProtocolFamily
        }
        Sender
        Seller
        Side {
          Currency {
            Symbol
            SmartContract
            Name
          }
        }
      }
    }
  }
}

Similar queries