latest token trades

Returns the latest 10 DEX trades, where buy currency smart contract is 0x5283…8b44: block date, block number, block time, transaction hash, buy amount, buy buyer, buy currency name and 12 more fields.

By gaurav · saved 28 February 2023 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM {
    DEXTrades(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x5283d291dbcf85356a21ba090e6db59121208b44"}}}}}
    ) {
      Block {
        Date
        Number
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Price
          Seller
        }
        Sell {
          Amount
          Seller
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
        Dex {
          ProtocolName
          ProtocolVersion
          ProtocolFamily
        }
      }
    }
  }
}

Similar queries