Doge query
Returns 10 outputs and inputs on Bitcoin and Dogecoin, where output address is DQZX73…BgvY and input address is DQZX73…BgvY, sorted by block height transaction index, highest first: block height, timestamp time, transaction hash, output index, output direction, value, output transaction hash and 3 more fields.
What it returns
- block height
- timestamp time
- transaction hash
- output index
- output direction
- value
- output transaction hash
- output transaction index
- transaction index
- input index
Filters
- output address is DQZX73…BgvY
- input address is DQZX73…BgvY
The query
query ($network: BitcoinNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
bitcoin(network: $network) {
inflow: 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
}
outflow: inputs(
date: {since: $from, till: $till}
inputAddress: {is: $address}
options: {desc: ["block.height", "transaction.index"], limit: $limit, offset: $offset}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
outputTransaction {
hash
index
}
transaction {
hash
index
}
inputIndex
value
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"address": "DQZX734M1Dqs2ibnwT4CtbyE8tzgifBgvY",
"network": "dogecoin",
"from": null,
"till": null,
"dateFormat": "%Y-%m"
}
Similar queries
- Dogecoin — Balance of an address at a past date · Dogecoin · outputs
- Dogecoin — Address activity summary · Dogecoin · inputs
- dogecoin_balance · Dogecoin · inputs
- input_output_sum_ · Dogecoin · inputs
- btc_get_outputs_received_after_height · Dogecoin · inputs