klay_extended_coinpath_example

Returns 100 money flows on Ethereum and klaytn, where initial address is 0x23ed…750c, currency is KLAY and initial date since 2022-05-05, sorted by amount, highest first: depth, time time, transaction hash, transaction value, sender address, annotation, sender type and 18 more fields.

By Andrey · saved 4 July 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $inboundDepth: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $seed: Int, $currency: String, $limitBy: Int, $limit: Int, $offset: Int) {
  ethereum(network: $network) {
    coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", seed: $seed, limitBy: {each: "depth", limit: $limitBy}, limit: $limit, offset: $offset}
      initialDate: {since: $from, till: $till}
      currency: {is: $currency}
    ) {
      depth
      transaction {
        time {
          time
        }
        hash
        value
      }
      sender {
        address
        annotation
        type
        balance
        amountIn
        amountOut
        receiversCount
        sendersCount
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
        smartContract {
          contractType
          currency {
            symbol
            name
            decimals
            tokenType
          }
        }
      }
      receiver {
        address
        smartContract {
          contractType
          currency {
            decimals
            name
            symbol
            tokenType
          }
        }
        annotation
        type
        balance
        amountIn
        amountOut
        receiversCount
        sendersCount
        firstTxAt {
          time
        }
        lastTxAt {
          time
        }
      }
      amount
      count
      currency {
        symbol
        address
        tokenId
        tokenType
        name
      }
    }
  }
}

Variables

{
  "currency": "KLAY",
  "seed": 257,
  "inboundDepth": 3,
  "limitBy": 10,
  "limit": 100,
  "offset": 0,
  "network": "klaytn",
  "address": "0x23edf480bd1b65d277cbcb66575147fe4703750c",
  "from": "2022-05-05T03:00:00",
  "till": "2022-05-06T02:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries