limit_bitcoin_coinpath

Returns money flows on Bitcoin, where initial address is 164faw…1B3f, sorted by amount, highest first: sender address, annotation, receiver address, transactions amount, transactions height, timestamp, tx hash and 4 more fields.

By Aman · saved 25 November 2021 · run 14 times · Bitquery API v1

What it returns

Filters

The query

query GetAddresses($network: BitcoinNetwork!, $addresses: [String!], $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inbound: coinpath(
      initialAddress: {in: $addresses}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        __typename
      }
      receiver {
        address
        annotation
        __typename
      }
      transactions {
        amount
        height
        timestamp
        txHash
        txValue
        __typename
      }
      amount
      depth
      count
      __typename
    }
    outbound: coinpath(
      initialAddress: {in: $addresses}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        __typename
      }
      receiver {
        address
        annotation
        __typename
      }
      transactions {
        amount
        height
        timestamp
        txHash
        txValue
        __typename
      }
      amount
      depth
      count
      __typename
    }
    __typename
  }
}

Variables

{
  "addresses": [
    "164fawNZVwsR5SamAJypvCMtkMx4Xv1B3f"
  ],
  "inboundDepth": 1,
  "outboundDepth": 4,
  "limit": 9,
  "network": "bitcoin",
  "from": null,
  "till": null
}

Similar queries