Aggreration + all transactions for a bitcoin address for a given period
Returns the latest 10 transactions on Bitcoin, where date till 2022-08-17: input count, input value, output count, output value, fee value, mined value, count and 10 more fields.
What it returns
- input count
- input value
- output count
- output value
- fee value
- mined value
- count
- timestamp time
- block height
- index
- hash
- output value decimal
- tx weight
- tx vsize
- tx version
- tx locktime
- tx coinbase
Filters
- date till 2022-08-17
The query
query ($network: BitcoinNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
aggregation: bitcoin(network: $network) {
transactions(
options: {limit: $limit, offset: $offset}
date: {since: $from, till: $till}
any: [{inputAddress: {is: "1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F"}}, {outputAddress: {is: "1AJbsFZ64EpEfS5UAjAfcUG8pH8Jn3rn1F"}}]
) {
inputCount
inputValue
outputCount
outputValue
feeValue
minedValue
transactionCount: count
}
}
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": null,
"till": "2022-08-17",
"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