bitcoin_transaction_query_PYX_update
Returns the latest 10 transactions on Bitcoin, where date since 2010-06-15 and date till 2021-06-22: timestamp time, block height, input value, output count, input count, index, hash and 9 more fields.
What it returns
- timestamp time
- block height
- input value
- output count
- input count
- index
- hash
- fee value
- output value
- output value decimal
- tx weight
- tx vsize
- tx version
- tx locktime
- tx coinbase
- mined value
Filters
- date since 2010-06-15
- date till 2021-06-22
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}
any: [{inputAddress: {is: "1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F"}}, {outputAddress: {is: "1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F"}}]
) {
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)
outputValue
outputValueDecimal
txWeight
txVsize
txVersion
txLocktime
txCoinbase
minedValue
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "bitcoin",
"from": "2010-06-15",
"till": "2021-06-22T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Details of Bitcoin Transaction · Bitcoin · Transactions
- Inflows and Outflow of a bitcoin wallet · Bitcoin · Transactions
- bitcoin tx schema · Bitcoin · Transactions
- bitcoin tx · Bitcoin · Transactions
- bitcoin query for input output tx · Bitcoin · Transactions