BigQuery Public Data Set: Crypto_Bitcoin
I've been trying to identify all the unique input (sender) addresses that are sending Bitcoins to a specific address (e.g. XXX). Despite feeling this to be a straightforward query based on the Database Schema, I am getting errors despite countless attempts. Could anyone please help identify what's the issue here:
SELECT DISTINCT inputs.addresses FROM bigquery-public-data.crypto_bitcoin.transactions as transactions, transactions.inputs as inputs WHERE outputs.addresses = "XXX"
Thanks