Bitcoin query
Returns the latest 10 inputs and outputs on Bitcoin, where input address is 1FNggr…4evn and output address is 1FNggr…4evn: block height, timestamp time, transaction hash, transaction index, value and annotation.
What it returns
- block height
- timestamp time
- transaction hash
- transaction index
- value
- annotation
Filters
- input address is 1FNggr…4evn
- output address is 1FNggr…4evn
The query
query ($network: BitcoinNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
inputs(
inputAddress: {is: $address}
options: {desc: "block.height", limit: $limit, offset: $offset}
) {
block(time: {since: $from, till: $till}) {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
hash
index
}
value
inputAddress {
annotation
}
}
outputs(
outputAddress: {is: $address}
options: {desc: "block.height", limit: $limit, offset: $offset}
) {
block(time: {since: $from, till: $till}) {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
transaction {
hash
index
}
value
outputAddress {
annotation
}
}
}
}
Variables
{
"inboundDepth": 1,
"outboundDepth": 1,
"limit": 10,
"offset": 0,
"address": "1FNggrG8YmaxM18TCLpoyMHQmExoxA4evn",
"network": "bitcoin",
"from": "2015-12-15T12:10:00",
"till": "2015-12-16T12:13:00",
"dateFormat": "%Y-%m-%d %H:%M:%S"
}
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