bitcoin_input_output
Returns the latest 100 outputs and inputs on Bitcoin, where output address is bc1pjh…hmlx and input address is bc1pjh…hmlx: block height, timestamp time, transaction hash and value.
What it returns
- block height
- timestamp time
- transaction hash
- value
Filters
- output address is bc1pjh…hmlx
- input address is bc1pjh…hmlx
The query
query ($network: BitcoinNetwork!, $address: String!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
outputs(
date: {since: $from, till: $till}
outputAddress: {is: $address}
options: {desc: ["block.height"], limit: $limit}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
hash
}
value
value_usd: value(in: USD)
}
inputs(
date: {since: $from, till: $till}
inputAddress: {is: $address}
options: {desc: ["block.height"], limit: $limit}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
hash
}
value
value_usd: value(in: USD)
}
}
}
Variables
{
"limit": 100,
"offset": 0,
"address": "bc1pjh6hn4xakvy30awwrcgcsel93yek69r2dvwycyerwuvu767hcs4sl5hmlx",
"network": "bitcoin",
"from": null,
"till": null,
"dateFormat": "%Y-%m"
}
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