mempool token-trades

token-trades-bw-a-time both buy and sell from 1inch

Streams the latest 10 DEX trades as they happen: block number, block time, from, to, transaction hash, buy amount, buy buyer and 12 more fields.

By Divyasshree N · saved 9 January 2024 · run 57 times · Bitquery API v2

What it returns

The subscription

subscription {
  EVM(mempool: true) {
    buyside: DEXTrades(limit: {count: 10}, orderBy: {descending: Block_Time}) {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          Price
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Seller
          Price
        }
      }
    }
  }
}

Similar queries