latest bitcoin inflow for a given address
Returns the latest output on Bitcoin, where output address is 31m4rG…wh4Q, date since 2023-12-20 and date till 2023-12-27: block height, timestamp time, transaction hash, output index, output direction and value.
What it returns
- block height
- timestamp time
- transaction hash
- output index
- output direction
- value
Filters
- output address is 31m4rG…wh4Q
- date since 2023-12-20
- date till 2023-12-27
The query
query ($network: BitcoinNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
outputs(
date: {since: $from, till: $till}
outputAddress: {is: $address}
options: {desc: ["block.height", "outputIndex"], limit: $limit, offset: $offset}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
transaction {
hash
}
outputIndex
outputDirection
value
value_usd: value(in: USD)
}
}
}
Variables
{
"limit": 1,
"offset": 0,
"address": "31m4rGmokAqWKb3R8ZvNJ2sjyFBtrRwh4Q",
"network": "bitcoin",
"from": "2023-12-20",
"till": "2023-12-27T23:59:59",
"dateFormat": "%Y-%m-%d"
}
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