SonarX

Indexed Bitcoin CashBlockchain Data

Bitcoin Cash shares Bitcoin's ledger to block 478,558 and has mined its own since, with 32-megabyte blocks, per-block difficulty retargeting and tokens carried inside outputs.

Bitcoin Cash logo

How to query Bitcoin Cash data with SonarX

Instant Data Share

Available today

Snowflake, and file dumps to your object storage

Query Bitcoin Cash blockchain data with plain SQL from a live database inside your own Snowflake account, populated with the indexed chain dataset. There is no pipeline to build and no second copy to store. The same dataset ships as file dumps to your own object storage for lakes and warehouses that are not Snowflake.

  • Full history as a Snowflake data-share
  • File dumps to S3 or your own object storage
  • Real-time delivery, current to chain tip — on request

Used for:

  • Analytics teams already on Snowflake that want Bitcoin Cash data beside their existing tables
  • Fund accounting and treasury reporting that reconciles against a fixed history
  • Cross-chain questions answered in one SQL statement instead of one query per chain
  • Loading Bitcoin Cash history into BigQuery, Databricks, Redshift or a Spark lake
  • Replacing a self-hosted indexer and the engineering time that keeps it running
  • Serving one governed dataset to several desks without copying it per team

Kafka Streaming

Enabled on request

Event stream

Consume Bitcoin Cash activity as a continuous stream of normalized records, produced as the chain is indexed instead of polled for.

Used for:

  • Trading and execution systems that act on Bitcoin Cash activity within seconds
  • Fraud and anomaly detection that has to fire before settlement
  • Live dashboards and alerting on Bitcoin Cash wallet or protocol activity
  • Feeding a stream processor that already reads from Kafka
  • Keeping an internal store hot without waiting for a batch window
  • Event-driven services that would otherwise poll on a timer

Realtime API

Enabled on request

REST over the indexed dataset

Query indexed Bitcoin Cash records over REST, reading the same dataset the share reads, with no warehouse in the path.

Used for:

  • Applications that need one answer rather than a table scan
  • Customer-facing screens where query latency is visible to a user
  • Services that have no data warehouse and do not want to run one
  • Prototyping against production data before committing to a share
  • Backend checks that run per request instead of per batch
  • Teams that want indexed Bitcoin Cash data behind their own API layer

Bitcoin Cash data: frequently asked questions

What is Bitcoin Cash?

Bitcoin Cash separated from Bitcoin after block 478,558 on 1 August 2017, in a split over how much transaction data a block should be allowed to hold. Its own first block is 478,559, and the limit has since risen to thirty-two megabytes. Everything below that stayed familiar: SHA-256 proof of work, a ten-minute block target, a UTXO ledger with no accounts, and BCH capped at 21 million with the subsidy halving every 210,000 blocks. Two protocol choices set the data apart. The difficulty algorithm was replaced in November 2020 by ASERT, which retargets on every block instead of on a 2,016-block cycle. And the May 2023 upgrade added CashTokens, so fungible and non-fungible tokens are carried inside outputs rather than by contracts. Bitcoin Cash never adopted SegWit or Taproot, so signatures stay in the input script and there is no witness section to parse.

Bitcoin Cash data on SonarX

SonarX indexes blocks and headers, transactions, inputs and outputs, the locking scripts, the derived output set, token categories attached to outputs, and address-level positions computed from all of it. The same normalized model covers every network SonarX indexes, so Bitcoin Cash sits beside the other UTXO chains and a question spanning several of them is one query.

Full historical coverage is available today as a data-share or a file delivery. Real-time delivery is enabled on request. Kafka streaming can be enabled for Bitcoin Cash on request.

How SonarX indexes Bitcoin Cash

The shared prefix has to be handled first. Every output created before August 2017 exists on both networks and can be spent separately on each, so a position computed without pinning the chain counts the same coin twice. Identity is the second problem: a legacy base58 string is valid on Bitcoin too, and CashAddr re-encodes the same hash, so matching happens on the hash rather than on the text a wallet displays. CashTokens then push token bookkeeping into the output walk, because a category and its amount are output properties and supply is only correct once every spend has been applied.

What teams build with Bitcoin Cash data

Payment work dominates. Processors and merchants settling in BCH need every deposit and refund in one place, matched against internal ledgers rather than sampled, which is a join from spends back to the outputs they consume. Custody reconciliation is the second, and here the fork is the whole difficulty: a restated holding has to keep the pre-split coins attributed to the right network and resolve both address encodings to one owner. Token issuance analysis is newer, following a CashToken category from its genesis output to the addresses still holding it. Wallet analytics covers the address-level side of this across chains, and Litecoin is often pulled alongside when the question is about payment settlement rather than about one asset.

Getting Bitcoin Cash data from SonarX

Tell us the delivery target, how far back you need and how fresh it has to be, and the share is scoped against that. Bitcoin Cash history is available now, and streaming is provisioned on request. Say whether the pre-split blocks should be included, because that decision changes what a balance means. The published coverage matrix for every network SonarX indexes lives in the data documentation, and the rest of the catalogue is at all indexed chains.

Is there a Bitcoin Cash data API?

APIs over indexed Bitcoin Cash data are enabled on request: the same indexed dataset the Snowflake share reads, served over REST once provisioned. Tell us the lookup pattern you need.

How do I get Bitcoin Cash data into Snowflake?

SonarX provisions a data-share into your own Snowflake account. The share appears as a database you query with SQL, so there is no pipeline to build and no second copy to store, and it stays current as SonarX advances the indexing pipeline.

How far back does Bitcoin Cash coverage go?

To the start of the ledger, which is older than the network. Blocks up to 478,558 are the blocks Bitcoin also holds, and the chain's own history begins at 478,559 on 1 August 2017. The historical data-share and file delivery cover the whole run and are available today, with real-time delivery provisioned on request.

How does Bitcoin Cash differ from Bitcoin?

It is the same ledger up to August 2017 and a different one after. Bitcoin Cash raised the block size limit, replaced the difficulty algorithm, and later added tokens directly to outputs, while declining SegWit and Taproot. Coins that existed before the split exist on both chains and can be spent independently, so a holder can appear twice unless a query fixes which network it is asking about.

How are CashTokens represented in the data?

As properties of outputs, not as contract state. Since the May 2023 upgrade an output can carry a token category with a fungible amount or a non-fungible commitment, so token supply and ownership are derived from the same walk over creations and spends that produces BCH balances. There is no transfer event to decode and no token contract to resolve.

Which address format does Bitcoin Cash use in the data?

Both of the ones in circulation. Legacy base58 addresses remain valid, and CashAddr, introduced in January 2018, re-encodes the same key or script hash with a different checksum and prefix. Because the two strings describe one owner, and because a legacy string is also a valid Bitcoin address, address matching is done on the underlying hash rather than on the text.

Bitcoin Cash logo

Get Bitcoin Cash data from SonarX