This is the variable declaration syntax. If you using https://graphql.bitquery.io then you need to specify those variables in the editor section below the main editor section
Hi You
This Query i use, but it not working, in parameter $address: [String!]
Please check for me. Thank alot
This 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}}}} "
Paramter
{
âlimitâ : 100,
âoffsetâ : 0,
âaddressâ : [â1Kd6zLb9iAjcrgq8HzWnoWNVLYYWjp3swAâ,â3LCGsSmfr24demGvriN4e3ft8wEcDuHFqhâ],
ânetworkâ : âbitcoinâ,
âdateFormatâ : â%Y-%mâ
}
Please check for me this bug
You are using the same address twice, thatâs why itâs showing 1 result.
Please use different addresses.
For example check the following query.
{
bitcoin {
inputs(
inputAddress: {in: ["18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX",
"bc1qe72gznxgmtfy2qqdg0q2zqywvf2w6ujjhj5rt2"]}) {
value
inputAddress{
address
}
}
}
}
You have written âisâ on the 2nd half of the query where you were using âaddressâ
please find the correct query