[ARB] [Streaming] Get Latest Trade for Token

Returns the latest 10 DEX trades by token on Arbitrum, where currency smart contract is 0xFa7F…F7f0: block time, trade amount, buyer, currency name, smart contract, protocol name, trade price and 2 more fields.

By Nikhil · saved 14 September 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: arbitrum) {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {SmartContract: {is: "0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0"}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        Buyer
        Currency {
          Name
          SmartContract
        }
        Dex {
          ProtocolName
          SmartContract
        }
        Price
        Seller
        Side {
          Type
        }
      }
    }
  }
}

Similar queries