Query transaction by Address
Returns 10 inputs on Bitcoin, where input address is 1KXHM3…YFgH, date since 2017-12-11 and date till 2017-12-14, sorted by value, highest first: block height, timestamp time, output transaction hash, output transaction index, transaction hash, input index and value.
What it returns
- block height
- timestamp time
- output transaction hash
- output transaction index
- transaction hash
- input index
- value
Filters
- input address is 1KXHM3…YFgH
- date since 2017-12-11
- date till 2017-12-14
The query
query ($network: BitcoinNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
inputs(
date: {since: $from, till: $till}
inputAddress: {is: $address}
options: {desc: "value", asc: "block.height", limit: $limit, offset: $offset}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
outputTransaction {
hash
index
}
transaction {
hash
}
inputIndex
value
value_usd: value(in: USD)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"address": "1KXHM3cnCbnhgRZiLsBTuP3TKPFN5KYFgH",
"network": "bitcoin",
"from": "2017-12-11",
"till": "2017-12-14T23: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