Cardano inbound/outbound

Returns money flows on Cardano, where initial address is addr1q…hkyd and currency is ADA, sorted by amount, highest first: sender address, receiver address, transaction hash, value in, value out, fee value, deposit value and 12 more fields.

By gaurav · saved 21 October 2021 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cardano(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {asc: "depth", desc: "amount", direction: inbound}
      date: {since: $from, till: $till}
      currency: {is: "ADA"}
    ) {
      sender {
        address
      }
      receiver {
        address
      }
      transaction {
        hash
        valueIn
        valueOut
        feeValue
        depositValue
        metadata
        withdrawalValue
      }
      amount
      block{
        height
      }
      currency {
        symbol
        name
        decimals
        tokenType
        tokenId
        address
      }
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", direction: outbound}
      date: {since: $from, till: $till}
      currency: {is: "ADA"}
    ) {
      sender {
        address
      }
      receiver {
        address
      }
      block{
        height
      }
      transaction {
        hash
        valueIn
        valueOut
        feeValue
        depositValue
        metadata
        withdrawalValue
      }
      amount
      currency {
        symbol
        name
        decimals
        tokenType
        tokenId
        address
      }
      depth
      count
    }
  }
}

Variables

{
  "address": "addr1qxqx87er2s9x5qg6pzex748vq48ec97k93xxx8ltscvw7amljqemfykzm67c098ufxwpk02q8rxkt8t05a7r5z29zsls2khkyd",
  "network": "cardano",
  "inboundDepth": 1,
  "outboundDepth": 1,
  "from": null,
  "till": null
}

Similar queries