coinpath api time

Returns money flows on Ethereum, where initial address is 0xbd12…ded7, time since 2021-06-02 and time till 2022-02-08, sorted by amount, highest first: sender address, annotation, receiver address, amount, currency symbol, depth and count.

By gaurav · saved 8 February 2022 · Bitquery API v1

What it returns

Filters

The query

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

Variables

{
  "depth": 2,
  "limit": 500,
  "offset": 0,
  "network": "ethereum",
  "address": "0xbd12aa424c207e90b66402c1f0aec357e8b1ded7",
  "from": "2021-06-02T00:00:00",
  "till": "2022-02-08T23:59:59",
  "dateFormat": "%Y-%m"
}

Similar queries