BTC balance api for multiple addresses
Returns inputs and outputs on Bitcoin, where input address is bc1ppu…ehcq or bc1p2g…fg6e and output address is bc1ppu…ehcq or bc1p2g…fg6e: count, value, minimum of date, maximum of date, input address address and output address address.
What it returns
- count
- value
- minimum of date
- maximum of date
- input address address
- output address address
Filters
- input address is bc1ppu…ehcq or bc1p2g…fg6e
- output address is bc1ppu…ehcq or bc1p2g…fg6e
The query
{
bitcoin(network: bitcoin) {
inputs(
inputAddress: {in: ["bc1ppu6akjngyvpxwz0w38n4evcygwh08tjtmcc0dx6ft2zzgkxtd97stwehcq", "bc1p2gel5e7ny42epalps3vddqrwedqh8ca4v6fdjem3pa3930ltl90s2cfg6e"]}
) {
count
value
value_usd: value(in: USD)
min_date: minimum(of: date)
max_date: maximum(of: date)
inputAddress {
address
}
}
outputs(
outputAddress: {in: ["bc1ppu6akjngyvpxwz0w38n4evcygwh08tjtmcc0dx6ft2zzgkxtd97stwehcq", "bc1p2gel5e7ny42epalps3vddqrwedqh8ca4v6fdjem3pa3930ltl90s2cfg6e"]}
) {
count
value
value_usd: value(in: USD)
min_date: minimum(of: date)
max_date: maximum(of: date)
outputAddress {
address
}
}
}
}
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