bitcoin_transaction_query
Returns the latest transactions on Bitcoin: 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
The query
query {
bitcoin(network: bitcoin) {
transactions(
options: {desc: ["block.height", "index"]}
any: [{inputAddress: {is: "bc1pjh6hn4xakvy30awwrcgcsel93yek69r2dvwycyerwuvu767hcs4sl5hmlx"}}, {outputAddress: {is: "bc1pjh6hn4xakvy30awwrcgcsel93yek69r2dvwycyerwuvu767hcs4sl5hmlx"}}]
) {
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
}
}
}
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