Latest Bitcoin transactions

Returns the latest 1000 transactions on Bitcoin, where date since 2022-09-30 and date till 2022-10-07: timestamp time, block height, input value, output count, input count, index, hash and fee value.

By gaurav · saved 7 October 2022 · run 7 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:{desc: ["block.height","index"], limit: $limit, offset: $offset},
              date: {since: $from till: $till }
              ) {

                block {
                  timestamp {
                    time (format: "%Y-%m-%d %H:%M:%S")
                  }
                  height
                }


                inputValue
                input_value_usd: inputValue(in: USD)

                outputCount
                inputCount

                index

                hash
                feeValue
                fee_value_usd: feeValue(in: USD)
            }
          }
          }

Variables

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

Similar queries