Latest Trades of Token in Network_dextrades

Returns 15 DEX trades by token on Ethereum, where currency smart contract is 0x43d7…fb59, sorted by trade seller: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 6 more fields.

By manager star · saved 5 September 2023 · run 22 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $token: String!) {
  EVM(network: $network, dataset: combined) {
    DEXTradeByTokens(
      orderBy: {ascending: Trade_Seller}
      limit: {count: $limit}
      where: {Trade: {Currency: {SmartContract: {is: $token}}}}
    ) {
      ChainId
      Block {
        Number
        Time
      }
      Trade {
        Seller
        Buyer
        Amount
        Currency {
          SmartContract
          Symbol
        }
        Price
        Side {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{"network":"eth","limit":15,"offset":0,"token":"0x43d7e65b8ff49698d9550a7f315c87e67344fb59"}

Similar queries