tx details coinpath example in/out updated

Returns 10 money flows on Bitcoin, where receiver is bc1qs2…dk3n and sender is bc1qs2…dk3n, sorted by amount, highest first: sender address, annotation, sender type, receiver address, receiver type, amount, currency symbol and 5 more fields.

By Divyasshree · saved 30 January 2025 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  bitcoin(network: bitcoin) {
    inbound_txs: coinpath(
      receiver: {is: "bc1qs25s03rzwva7wws8f99drdv5c8784w2tsvdk3n"}
      options: {direction: inbound, desc: "amount", limit: 10}
      depth: {lteq: 1}
    ) {
      sender {
        address
        annotation
        type
      }
      receiver {
        address
        annotation
        type
      }
      amount(in: USD)
      currency {
        symbol
      }
      transaction {
        hash
        valueIn
        valueOut
      }
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
    }
    outbound_txs: coinpath(
      sender: {is: "bc1qs25s03rzwva7wws8f99drdv5c8784w2tsvdk3n"}
      options: {direction: outbound, desc: "amount",limit: 10}
      depth: {lteq: 1}
    ) {
      sender {
        address
        annotation
        type
      }
      receiver {
        address
        annotation
        type
      }
      amount(in: USD)
      currency {
        symbol
      }
      transaction {
        hash
        valueIn
        valueOut
      }
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
    }
  }
}

Similar queries