Latest Trades of BKPT in BSC Network

Returns the latest 10 DEX trades by token on BNB Chain, where currency smart contract is 0x6448…5113 and block date after 2023-06-01: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 6 more fields.

By gaurav · saved 10 July 2023 · run 6 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}}}, Block: {Date: {after: "2023-06-01"}}}
    ) {
      ChainId
      Block {
        Number
        Time
      }
      Trade {
        Seller
        Buyer
        Amount
        Currency {
          SmartContract
          Symbol
        }
        Price
        Side {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "limit": 10,
  "offset": 0,
  "address": "0x6448be0ca45a7581d9c4c9dd665e14ec60b25113",
  "token": "0x6448be0ca45a7581d9c4c9dd665e14ec60b25113",
  "id": "",
  "from": "2023-07-03",
  "till": "2023-07-10",
  "dateFormat": "%Y-%m-%d"
}

Similar queries