Check if address is present in hash list

Returns inputs on Bitcoin, where tx hash is 1bd432…04a3, ac217c…fe0a or 1 more and input address is 3AnN1d…V6EF: count, transaction hash and input address address.

By vorlov · saved 22 November 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query some($hash_list: [String!]!, $address_list: [String!]!) {
  bitcoin {
    inputs(txHash: {in: $hash_list}, inputAddress: {in: $address_list}) {
      count
      transaction {
        hash
      }
      inputAddress {
        address
      }
    }
  }
}

Variables

{
  "hash_list": [
    "1bd432cc36662c7f66119fd36d41471f53eb51c66e5186b07a6cd9efddca04a3",
    "ac217cd85cadc0d5899f0eb4a02ded815cb48eb47b5ba6ad66ea882dc8befe0a",
    "5cea73a60fde8b80495238db1eb2f082584866060924a01552172032db1d9b5e"
  ],
  "address_list": [
    "3AnN1dYHSNxYvDCHVviXRAV9xuEA5mV6EF"
  ]
}

Similar queries