Latest DOGE USD Price

token trades for a specific DEX

Returns the latest 5 DEX trades on Ethereum, where buy currency smart contract is 0x2541…89d6: block number, block time, from, to, transaction hash, buy amount, buy buyer and 16 more fields.

By Divyasshree · saved 30 April 2024 · run 19 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    DEXTrades(
      limit: {count: 5}
      orderBy: {descending: Block_Time}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x2541a36be4cd39286ed61a3e6afc2307602489d6"}}}}}
    ) {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          Price
          PriceInUSD
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Seller
          Price
        }
        Dex {
          ProtocolFamily
          ProtocolName
          SmartContract
          Pair {
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries