Latest Trades of Token in Network_dextrades

Returns the latest 10 DEX trades by token, where currency smart contract is 0xBC4C…f13D, block date since 2021-03-01 and block date till 2022-02-28: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 8 more fields.

By Abhishek · saved 2 March 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query  {
  EVM( dataset: combined) {
    DEXTradeByTokens(
      orderBy: {descending: Block_Number}
      limit: {count: 10}
      where: {Trade: {Currency: {SmartContract: {is: "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"}}}, Block: {Date: {since: "2021-03-01", till: "2022-02-28"}}}
    ) {
      ChainId
      Block {
        Number
        Time
      }
      Trade {
        Seller
        Buyer
        Amount
        Currency {
          SmartContract
          Symbol
          Name
        }
        Price
        Side {
          Amount
          Currency {
            SmartContract
            Symbol
            Name
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries