Ticket_821_Cardano_CoinPath_showing_error

Returns the latest 50 money flows on Cardano, where initial address is addr1v…aa2e, date since 2021-01-01 and date till 2022-08-31: block height, timestamp time, sender address, receiver address, amount, transaction hash, currency address and 5 more fields.

By pablo · saved 20 September 2022 · run 10 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $address: String!, $inboundlimit: Int!, $outboundlimit: Int!, $inboundoffset: Int!, $outboundoffset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cardano(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: 1}
      options: {direction: inbound, desc: "block.timestamp.time", limit: $inboundlimit, offset: $inboundoffset}
      date: {since: $from, till: $till}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%dT%H:%M:%S")
        }
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
      transaction {
        hash
      }
      currency {
        address
        symbol
        tokenId
        tokenType
        decimals
        name
      }
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: 1}
      options: {direction: outbound, desc: "block.timestamp.time", limit: $outboundlimit, offset: $outboundoffset}
      date: {since: $from, till: $till}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%dT%H:%M:%S")
        }
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
      transaction {
        hash
      }
      currency {
        address
        symbol
        tokenId
        tokenType
        decimals
        name
      }
    }
  }
}

Variables

{
  "inboundoffset": 0,
  "outboundoffset": 0,
  "inboundlimit": 50,
  "outboundlimit": 50,
  "network": "cardano",
  "address": "addr1v9myj3jun0d22t5ejtnj6mslmxs7ga2thfv85t6h7vppazsefaa2e",
  "from": "2021-01-01T00:00:00+00:00",
  "till": "2022-08-31T00:00:00+00:00"
}

Similar queries