Bitcoin Top 10 Inflow

Returns 10 transactions on Bitcoin, where time since 2024-05-07 and time till 2024-05-09, sorted by input value USD index, highest first: timestamp time, block height, input value and index.

By Pranshu Kumar Agrawal · saved 9 May 2024 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    transactions(
      options: {limit: $limit, offset: $offset, desc: ["input_value_usd", "index"]}
      time: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      inputValue
      input_value_usd: inputValue(in: USD)
      index
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "from": "2024-05-07",
  "till": "2024-05-09T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries