# Blockchain Utils

Small calls that save you a library: validate an address, decode a raw transaction, derive addresses from an xPub, and convert XRP X-addresses and Bitcoin Cash address formats.

- Validate addresses
- Decode raw transactions
- Derive from an xPub

## Key facts

| | |
| --- | --- |
| Endpoints | 9 |
| Blockchains | 11 |
| Chain families | EVM, UTXO, XRP |
| Custody | Non-custodial, you sign |
| Free trial | 14 days, no card |

## Utilities for wallet and payment flows

**Stop bad withdrawals.** Validate a withdrawal address before you send to it, on EVM, UTXO and XRP chains.

**Check before you sign.** Decode a raw transaction on EVM and UTXO chains to see exactly what it sends before you sign or broadcast it.

**Derive and convert addresses.** Derive receiving or change addresses from an xPub without syncing a wallet, and convert XRP X-addresses and Bitcoin Cash addresses.

## Make your first Blockchain Utils call

Real paths and example responses from the API reference. Add your API key and run it.

### Validate · EVM

```
curl -X POST https://rest.cryptoapis.io/utils/evm/ethereum/mainnet/validate-address \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"data":{"item":{"address":"mho4jHBcrNCncKt38trJahXakuaBnS7LK5"}}}'
```

### Decode · EVM

```
curl -X POST https://rest.cryptoapis.io/utils/evm/binance-smart-chain/mainnet/decode-raw-transaction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"data":{"item":{"rawTransactionHex":"0100000001f3f6a909f8521adb57d898d2985834…"}}}'
```

### Derive from an xPub

```
curl https://rest.cryptoapis.io/utils/ethereum/mainnet/xpubs/EXTENDED_PUBLIC_KEY/derive-addresses \
  -H "X-API-Key: YOUR_API_KEY"
```

## Every Blockchain Utils endpoint

Each operation links to its page in the API reference, with its parameters and responses. Paths take the blockchain and the network, so moving to another chain is a change of path.

| What it does | Method and path | Blockchains | Reference |
| --- | --- | --- | --- |
| Decode Raw Transaction Hex EVM | `POST /utils/evm/{blockchain}/{network}/decode-raw-transaction` | Ethereum, Ethereum Classic, BNB Smart Chain, Tron | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-evm/decode-raw-transaction-hex-evm/post) |
| Validate Address EVM | `POST /utils/evm/{blockchain}/{network}/validate-address` | Ethereum, Ethereum Classic, BNB Smart Chain, Tron | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-evm/validate-address-evm/post) |
| Decode Raw Transaction Hex UTXO | `POST /utils/utxo/{blockchain}/{network}/decode-raw-transaction` | Bitcoin, Bitcoin Cash, Dash, Litecoin, Dogecoin, Zcash | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-utxos/decode-raw-transaction-hex-utxo/post) |
| Validate Address UTXO | `POST /utils/utxo/{blockchain}/{network}/validate-address` | Bitcoin, Bitcoin Cash, Dash, Litecoin, Dogecoin, Zcash | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-utxos/validate-address-utxo/post) |
| Validate Address XRP | `POST /utils/xrp/{blockchain}/{network}/validate-address` | XRP Ledger | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-xrp/validate-address-xrp/post) |
| Convert Bitcoin Cash Address | `POST /utils/{blockchain}/{network}/convert-address` | Bitcoin Cash | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/utils/convert-bitcoin-cash-address/post) |
| Decode X-Address | `GET /utils/{blockchain}/{network}/decode-x-address/{xAddress}` | XRP Ledger | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-xrp/decode-x-address/get) |
| Encode X-Address | `GET /utils/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag}` | XRP Ledger | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/tools-xrp/encode-x-address/get) |
| Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses | `GET /utils/{blockchain}/{network}/xpubs/{extendedPublicKey}/derive-addresses` | Bitcoin, Ethereum, XRP Ledger, Ethereum Classic, Bitcoin Cash, Dash, Litecoin, Dogecoin, Zcash, BNB Smart Chain, Tron | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/features/derive-hd-wallet-xpub-ypub-zpub-change-or-receiving-addresses/get) |

## Blockchain Utils works on 11 blockchains

Mainnets, and test networks where the chain has one. Open a chain for its own endpoints and quick start.

- [Bitcoin](/chains/bitcoin)
- [Ethereum](/chains/ethereum)
- [XRP Ledger](/chains/ripple)
- [Ethereum Classic](/chains/ethereum-classic)
- [Bitcoin Cash](/chains/bitcoin-cash)
- [Dash](/chains/dash)
- [Litecoin](/chains/litecoin)
- [Dogecoin](/chains/doge)
- [Zcash](/chains/zcash)
- [BNB Smart Chain](/chains/binance-smart-chain)
- [Tron](/chains/tron)

## Build the rest of the flow

- [HD Wallets Management](/products/blockchain-api/hd-wallets-management) — xPub wallets: derive, sync and read, keys stay with you
- [Prepare Transactions](/products/blockchain-api/prepare-transactions) — Unsigned transactions, ready to sign on your server
- [Transactions Data](/products/blockchain-api/transactions-data) — Any transaction by hash, with its transfers

## Blockchain Utils questions

**Which blockchains does Blockchain Utils support?** Blockchain Utils works on 11 blockchains: Bitcoin, Ethereum, XRP Ledger, Ethereum Classic, Bitcoin Cash, Dash, Litecoin, Dogecoin, Zcash, BNB Smart Chain, Tron. Each chain's page lists its networks and its own endpoints.

**Can I try Blockchain Utils for free?** Yes, for 14 days. The Blockchain API free trial includes Blockchain Utils and every other feature, with no card. It ends after 14 days or when its credits run out; after that, calls need a subscription, listed on the [pricing page](/pricing).

**Does the Blockchain Utils API support Solana?** No. The Blockchain Utils tools cover 11 protocols — Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash, Ethereum, Ethereum Classic, BNB Smart Chain (BSC), Tron, and XRP — on both mainnet and testnet. Solana is not currently among the chains served by the address-validation, transaction-decoding, or address-derivation endpoints.

**How do I validate a crypto address with Crypto APIs?** Use the validate-address action, which checks whether an address is well-formed for its chain. It works across EVM chains (Ethereum, Ethereum Classic, BNB Smart Chain, Tron), UTXO chains (Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash), and XRP, on mainnet and testnet. This is a formatting/validity check, distinct from the separate Verify Address product used for AML screening.

**Can the API decode a raw transaction hex?** Yes. The decode-raw-transaction action parses a raw transaction hex into its structured fields. It is available for EVM chains (Ethereum, Ethereum Classic, BNB Smart Chain, Tron) and UTXO chains (Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash) on mainnet and testnet.

**Does Crypto APIs support XRP X-Address encoding and decoding?** Yes. For XRP you can encode a classic address plus destination tag into an X-Address, and decode an X-Address back into its classic address and tag. Both operations are available on XRP mainnet and testnet.

**Can I derive wallet addresses from an xPub without syncing?** Yes. The derive-addresses endpoint generates up to 10 receiving addresses (or change addresses for UTXO chains) directly from an extended public key such as an xPub, yPub, or zPub, without syncing the wallet. It supports Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash, Ethereum, Ethereum Classic, BNB Smart Chain, Tron, and XRP.

## Pointers

- [Blockchain API](/products/blockchain-api)
- [All networks](/what-we-support)
- [Pricing](/pricing)
- [Developer portal](https://developers.cryptoapis.io/)
