c1

Returns 500 money flows on Cardano, where initial address is addr1q…8n24 and currency is ADA, sorted by block height transaction hash: sender address, sender type, senders count, receivers count, unixtime, receiver address, transaction hash and 20 more fields.

By lukas · saved 14 November 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int!, $offset: Int!) {
  cardano(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {asc: ["block.height", "transaction.hash"], limit: $limit, offset: $offset, direction: inbound}
      time: {since: $from, till: $till}
      currency: {is: "ADA"}
    ) {
      sender {
        address
        type
        sendersCount
        receiversCount
        lastTxAt {
          unixtime
        }
      }
      receiver {
        address
        sendersCount
        receiversCount
      }
      transaction {
        hash
        feeValue
        depositValue
        metadata
        withdrawalValue
        valueIn
        txSize
        invalidBefore
        index
        feeValueDecimal
      }
      currency {
        symbol
        name
        decimals
        tokenType
        tokenId
        address
      }
      depth
      count
      block {
        height
        timestamp {
          iso8601
        }
      }
      amount
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: ["block.height", "transaction.hash"], limit: $limit, offset: $offset, direction: outbound}
      time: {since: $from, till: $till}
      currency: {is: "ADA"}
    ) {
      sender {
        address
        type
        sendersCount
        receiversCount
        lastTxAt {
          unixtime
        }
      }
      receiver {
        address
        sendersCount
        receiversCount
      }
      transaction {
        hash
        feeValue
        depositValue
        metadata
        withdrawalValue
        valueIn
        txSize
        invalidBefore
        index
        feeValueDecimal
      }
      currency {
        symbol
        name
        decimals
        tokenType
        tokenId
        address
      }
      depth
      count
      block {
        height
        timestamp {
          iso8601
        }
      }
      amount
    }
  }
}

Variables

{
  "address": "addr1qxwn5rd6ad92md23vpazl73mq92gyww756cjwyptcv77ljya8gxm46624k64zcr69larkq25sguaaf43yugzhseaalyqad8n24",
  "network": "cardano",
  "inboundDepth": 1,
  "outboundDepth": 1,
  "from": null,
  "till": null,
  "limit": 500,
  "offset": 0
}

Similar queries