I want to check balances of bitcoin address. I cant find the way so i must use output value - inputs value = Balance value now. Somebody told me How can i make the best querry?
{
bitcoin(network: bitcoin) {
inputs(inputAddress: {is: “34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo”}) {
value
}
outputs(outputAddress: {is: “34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo”}) {
value
}
}
}
Hi Ad
i can’t run this query, please show to us check list inputAddress BTC incorrect
{
bitcoin {
inputs(
inputAddress: {in: [“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”]}) {
value
}
outputs( outputAddress: {in:[ “18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”]}) {
value
}
}
}
Thank You
I want to check two or more inputAddress
Expect: inputAddress: {in: [“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”,“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”]})
but not working
How to built query use inputAddress with para In
Can you answer this for me?
I want to check two or more inputAddress
Expect: inputAddress: {in: [“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”,“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”]})
but not working
How to built query use inputAddress with para In
Hi Gaurv
I get history address BTC but it still an address
------------------------------Query----------------------------
query ($network: BitcoinNetwork!,
$address: [String!],
$limit: Int!,
$offset: Int!,
$from: ISO8601DateTime,
$till: ISO8601DateTime)
{
bitcoin(network: $network) {
inputs(
date: {
since: $from,
till: $till
}, inputAddress: {in: $address},
options: {desc: “block.height”, limit: $limit, offset: $offset})
{block {height,timestamp { time(format: “%Y-%m-%d %H:%M:%S”)}},
transaction { hash, index}, value, inputAddress {annotation}},
outputs(date: {since: $from, till: $till},outputAddress: {is: $address},
options: {desc: “block.height”, limit: $limit, offset: $offset})
{block {timestamp {time(format: “%Y-%m-%d %H:%M:%S”)},height},
transaction { hash, index }, value, outputAddress {annotation}}}}
------------------------------END Query----------------------------
-------------------Para-----------------
{ “limit” : 100,
“offset” : 0,
“address” : [“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”,“18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX”],
“network”: “bitcoin”,
“dateFormat” : “%Y-%m”
}
-------------------EndPara-----------------
Now it not working please check this query for me
Thank