btc_tx
Returns the latest 25000 transactions on Bitcoin: timestamp time, block height, input value, output count, input count, index, hash and 12 more fields.
What it returns
- timestamp time
- block height
- input value
- output count
- input count
- index
- hash
- fee value
- fee value decimal
- mined value
- mined value decimal
- output value
- output value decimal
- tx coinbase
- tx locktime
- tx size
- tx version
- tx vsize
- tx weight
The query
query ($btc_address: String!) {
btc: bitcoin(network: bitcoin) {
transactions(
options: {desc: "block.height", limit: 25000}
any: [{inputAddress: {is: $btc_address}}, {outputAddress: {is: $btc_address}}]
) {
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)
feeValueDecimal
minedValue
minedValueDecimal
outputValue
outputValueDecimal
txCoinbase
txLocktime
txSize
txVersion
txVsize
txWeight
}
}
}
Variables
{
"btc_address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
}
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