TXDB brings a fast, global transaction spend index to Bitcoin – CoinGeek

TXDB brings a fast, global transaction spend index to Bitcoin – CoinGeek

There’s a new set of APIs for Bitcoin token services and application developers that lets them query the most recent status of any transaction. TXDB is a “global Bitcoin transaction spend index” from infrastructure builders Matterpool, one that provides an easy way to get the transaction’s “spend status” by looking at when (ie: where on the blockchain) it was last spent.

Speaking to CoinGeek, Matterpool’s Attila Aros said blockchain data allows developers to look backwards through the data easily, but not forwards. Having TXDB’s spend status handy means they can now walk forward through the data to see a transactions current status. This in turn allows them to quickly update the application state.

Here’s an example in code:

txdb-brings-a-fast-global-transaction-spend-index-to-bitcoin

Aros highlighted token solution developers—or those leveraging token solutions—as a target user group for TXDB, but said it was useful to any developer looking for a full database of transactions who didn’t, or couldn’t, host a full node or keep a record of all blockchain data themselves. Calling TXDB allowed
Source…