SHIB Buys Non-Pool

Returns the latest 10 DEX trades by token on Ethereum, where currency smart contract is 0x88e8…f808 and trade seller is 0x1b8a…0d28: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 6 more fields.

By Divyasshree N · saved 23 October 2023 · run 4 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: {descending: Block_Number}
      limit: {count: $limit}
      where: {Trade: {Currency: {SmartContract: {is: $token}}, Seller: {is: "0x1b8aa0d4171528da5053477a0fb553287e5a0d28"}}}
    ) {
      ChainId
      Block {
        Number
        Time
      }
      Trade {
        Seller
        Buyer
        Amount
        Currency {
          SmartContract
          Symbol
        }
        Price
        Side {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{"network":"eth","limit":10,"offset":0,"token":"0x88e8e2675f1c68a1df2927e31523bb3ed320f808"}

Similar queries