> For the complete documentation index, see [llms.txt](https://docs.taal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taal.com/core-products/transaction-processing/bitcoin-endpoints.md).

# Bitcoin Endpoints

### Bitcoin endpoints (only with bitcoin-enabled APIKey)

```
curl -X POST https://api.taal.com/api/v1/bitcoin
```

The possible bitcoin RPC commands that are available are:

* getbestblockhash
* gettxout
* gettxouts
* decoderawtransaction
* getrawtransaction
* getmempoolancestors
* getmempooldescendants

Examples:

```
curl \
	--header 'Authorization: {APIKey}' \
	--header 'Content-Type: application/json' \
	--data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' \
	https://api.taal.com/api/v1/bitcoin

curl \
	--header 'Authorization: {APIKey}' \
	--header 'Content-Type: application/json' \
```
