Latest trade token

Returns the latest DEX trade on Ethereum, where buy currency smart contract is 0x69e3…9b72: protocol family, protocol name, sender, buy amount, buy buyer, buy currency name, buy smart contract and 10 more fields.

By vadyusha · saved 17 August 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x69e37422cb87d963367f73a119c8ce9a4d529b72"}}}}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Sender
        Buy {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Price
          Seller
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Price
          Seller
        }
      }
    }
  }
}

Similar queries