GetAddressIncomeOutcomeBNB

Returns money flows on Ethereum and BNB Chain, where initial address is 0xd495…e654, currency is BNB and date since 2021-12-04, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and depth.

By gaurav · saved 31 March 2022 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $from: ISO8601DateTime!, $till: ISO8601DateTime!, $inboundDepth: Int, $outboundDepth: Int, $limit: Int) {
  ethereum(network: bsc) {
    inbound: coinpath(
      initialAddress: {is: $address}
      currency: {is: "BNB"}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", 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
      currency {
        symbol
      }
      depth
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      currency: {is: "BNB"}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", 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
      currency {
        symbol
      }
      depth
    }
  }
}

Variables

{
  "limit": 1,
  "address": "0xd49555ec28380a84ed93a9f4900046463bdae654",
  "from": "2021-12-04",
  "till": "2022-03-28",
  "inboundDepth": 1,
  "outboundDepth": 1,
  "dateFormat": "%Y-%m-%d"
}

Similar queries