boom

Returns money flows on Ethereum and BNB Chain, where initial address is 0xbb4c…095c, currency is BNB and date since 2023-03-01, sorted by transaction time unixtime, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 3 more fields.

By Xavi · saved 17 October 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $currency: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      currency: {is: $currency}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "transaction.time.unixtime", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount(in: USD)
      currency {
        symbol
        name
      }
      depth
      count
      transaction {
        time {
          unixtime
        }
      }
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      currency: {is: $currency}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "transaction.time.unixtime", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount(in: USD)
      currency {
        symbol
        name
      }
      depth
      count
      transaction {
        time {
          unixtime
        }
      }
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 5,
  "offset": 0,
  "network": "bsc",
  "address": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
  "currency": "BNB",
  "from": "2023-03-01T00:00:00Z",
  "till": "2023-10-17T23:59:59Z",
  "dateFormat": "%Y-%m-%d",
  "sortFilter": "timestamp",
  "sortAsc": false,
  "tradeMinAmount": null,
  "tradeMaxAmount": null,
  "useUsdAmount": true
}

Similar queries