Skip to content
Haskoin Store is a blockchain storage service with a RESTful API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Haskoin Store

Full blockchain index & store featuring:

  • Bitcoin Cash (BCH) & Bitcoin SegWit (BTC) support.
  • Address balance, transaction, and UTXO index.
  • Mempool support (SPV).
  • XPub balance, transaction, and UTXO support.
  • Persistent storage using RocksDB.
  • RESTful endpoints for blockchain data.
  • Concurrent non-blocking transactional design.
  • Guaranteed consistency within a request.


  • Get Stack.
  • Get Nix.
  • Clone this repository git clone
  • From the root of this repository run stack --nix build --copy-bins.
  • File will usually be installed in ~/.local/bin/haskoin-store.

API Documentation


Transaction Ordering

Transactions are returned in reverse blockchain or mempool order, meaning that the latest transactions are shown first, starting from the mempool and then from the highest block in the blockchain. If many transactions are returned from the same block, they are in reverse order as they appear in the block, meaning the latest transaction in the block comes first.

After the November 2018 hard fork Bitcoin Cash transactions are not stored in a block in topological order. If multiple transactions in one block depend on each other, they may appear in the "wrong" order. This is intentional and does not need to be fixed.

You can’t perform that action at this time.