Inflows and Outflow of a bitcoin wallet
Returns 10 outputs and inputs on Bitcoin, where output address is bc1p2g…fg6e, input address is bc1p2g…fg6e and date since 2024-03-19, sorted by block height transaction index, highest first: block height, timestamp time, transaction hash, output index, output direction, value, output transaction hash and 3 more fields.
What it returns
- block height
- timestamp time
- transaction hash
- output index
- output direction
- value
- output transaction hash
- output transaction index
- transaction index
- input index
Filters
- output address is bc1p2g…fg6e
- input address is bc1p2g…fg6e
- date since 2024-03-19
- date till 2024-03-26
The query
{
bitcoin(network: bitcoin) {
outputs(
date: {since: "2024-03-19", till: "2024-03-26"}
outputAddress: {is: "bc1p2gel5e7ny42epalps3vddqrwedqh8ca4v6fdjem3pa3930ltl90s2cfg6e"}
options: {desc: ["block.height", "outputIndex"], limit: 10, offset: 0}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
hash
}
outputIndex
outputDirection
value
value_usd: value(in: USD)
}
inputs(
date: {since: "2024-03-19", till: "2024-03-26"}
inputAddress: {is: "bc1p2gel5e7ny42epalps3vddqrwedqh8ca4v6fdjem3pa3930ltl90s2cfg6e"}
options: {desc: ["block.height", "transaction.index"], limit: 10, offset: 0}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
outputTransaction {
hash
index
}
transaction {
hash
index
}
inputIndex
value
value_usd: value(in: USD)
}
}
}
Similar queries
- Bitcoin balance using input outputs · Bitcoin · inputs
- bitcoin balance api · Bitcoin · inputs
- Details of Bitcoin Transaction · Bitcoin · Transactions
- Bitcoin — Balance of an address at a past date · Bitcoin · outputs
- 13_TxDetails_a6793e35 · Bitcoin · inputs