bitcoin query test
Returns money flows on Bitcoin, where initial address is bc1qgq…khlp, sender is bc1q9u…jcxk and receiver is bc1q9u…jcxk, sorted by amount, highest first: sender address, receiver address, amount, block height, timestamp time, transaction hash, depth and count.
What it returns
- sender address
- receiver address
- amount
- block height
- timestamp time
- transaction hash
- depth
- count
Filters
- initial address is bc1qgq…khlp
- sender is bc1q9u…jcxk
- receiver is bc1q9u…jcxk
- date since 2017-03-01
- date till 2019-02-28
The query
query ($inboundDepth: Int, $outboundDepth: Int, $limit: Int, $dateFormat: String, $initialAddress: String, $senderAddress: String) {
bitcoin(network: bitcoin) {
inbound: coinpath(
date: {since: "2017-03-01", till: "2019-02-28"}
initialAddress: {is: $initialAddress}
sender: {is: $senderAddress}
depth: {lteq: $inboundDepth}
options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}, seed: 10}
) {
sender {
address
}
receiver {
address
}
amount(in: BTC)
block {
height
timestamp {
time(format: $dateFormat)
}
}
transaction {
hash
}
depth
count
}
outbound: coinpath(
date: {since: "2017-03-01", till: "2019-02-28"}
initialAddress: {is: $initialAddress}
receiver: {is: $senderAddress}
depth: {lteq: $outboundDepth}
options: {direction: outbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
) {
sender {
address
}
receiver {
address
}
amount(in: BTC)
block {
height
timestamp {
time(format: $dateFormat)
}
}
transaction {
hash
}
depth
count
}
}
}
Variables
{
"inboundDepth": 2,
"outboundDepth": 1,
"limit": 10,
"dateFormat": "%Y-%m-%d %H:%M:%S",
"initialAddress": "bc1qgq8tf0hqjj9a43zhjwd3htmw86vdgqmyaskhlp",
"senderAddress": "bc1q9uskmzgtlm2f3kes0njgtzgxtx6dt65g65jcxk"
}
Similar queries
- Bitcoin Fundflow · Bitcoin · coinpath
- bitcoin coinpath · Bitcoin · coinpath
- multiple address query · Bitcoin · coinpath
- Query for BTC · Bitcoin · coinpath
- bitcoin-coinpath-inbound-trace · Bitcoin · coinpath