Inbound query

Returns one transaction on BNB Chain, where transaction to is 0xe585…b3cc, transaction from is 0xe585…b3cc and block number is at least 55855102, sorted by block number: block number and block time.

By lukas · saved 30 July 2025 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network!, $orderby: EVM_Transaction_EnumFields!, $address: String!, $limit: Int!, $startblockheight: String!, $endblockheight: String!) {
  EVM(network: $network, dataset: archive) {
    inbound: Transactions(
      limit: {count: $limit}
      orderBy: {ascending: $orderby}
      where: {Transaction: {To: {is: $address}}, Block: {Number: {ge: $startblockheight, le: $endblockheight}}}
    ) {
      Block {
        Number
        Time
      }
    }
    outbound: Transactions(
      limit: {count: $limit}
      orderBy: {ascending: $orderby}
      where: {Transaction: {From: {is: $address}}, Block: {Number: {ge: $startblockheight, le: $endblockheight}}}
    ) {
      Block {
        Number
        Time
      }
    }
  }
}

Variables

{
  "address": "0xe585f8eadf17efabceace96410b0df9346a2b3cc",
  "endblockheight": "55879113",
  "limit": 1,
  "network": "bsc",
  "orderby": "Block_Number",
  "startblockheight": "55855102"
}

Similar queries