bitcoin
Returns the latest inputs and outputs on Bitcoin, where input address is bc1qkt…xhjl, output address is bc1qkt…xhjl and receiver is bc1qkt…xhjl: block height, timestamp time, transaction hash, value, annotation, receiver address, sender address and 2 more fields.
What it returns
- block height
- timestamp time
- transaction hash
- value
- annotation
- receiver address
- sender address
- currency name
- currency symbol
Filters
- input address is bc1qkt…xhjl
- output address is bc1qkt…xhjl
- receiver is bc1qkt…xhjl
- time since 2021-07-28
- time till 2021-07-28
- date since 2021-07-28
- date till 2021-07-28
The query
query ($address: [String!], $since: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: bitcoin) {
inputs(
time: {since: $since, till: $till}
inputAddress: {in: $address}
options: {desc: "block.height"}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
hash
}
value
inputAddress {
annotation
}
}
outputs(
time: {since: $since, till: $till}
outputAddress: {in: $address}
options: {desc: "block.height"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
transaction {
hash
}
value
outputAddress {
annotation
}
}
coinpath(date: {since: $since, till: $till}, receiver: {in: $address}) {
receiver {
address
}
sender {
address
}
currency {
name
symbol
}
}
}
}
Variables
{
"address": [
"bc1qktzpfzl2jezhucmmcqgsykke3qkknvcrwyxhjl"
],
"since": "2021-07-28T10:30:42Z",
"till": "2021-07-28T10:40:42Z"
}
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