Get UTXO Info by Tx Hash and Index: API Migration (v3 to v4)

This guide covers the migration from legacy v3 chain-specific Get UTXO info by tx hash and index endpoints to the new unified Blockchains API endpoint Get UTXO info


Endpoint Change Summary

Componentv3 (Legacy)v4 (New)
Standard Pattern/v3/{chain}/utxo/{hash}/{index}/v4/data/blockchains/utxo/info

Deprecated v3 Endpoints

The following chain-specific endpoints have been consolidated:

Old v3 EndpointStatus
/v3/bitcoin/utxo/{hash}/{index}Deprecated
/v3/dogecoin/utxo/{hash}/{index}Deprecated
/v3/litecoin/utxo/{hash}/{index}Deprecated

Migration Steps

1. Update Your Base URL

Standard endpoints:

- GET /v3/bitcoin/utxo/{hash}/{index}
+ GET /v4/data/blockchains/utxo/info?chain=bitcoin-mainnet

2. Adjust Chain Identifiers

Ensure you're using the new chain identifier format (e.g., ethereum-mainnet instead of ethereum).

3. Update Response Handling

Review your code for any response schema changes between v3 and v4.

🚧

Attention

Mind potential breaking changes.