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.
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.
- Base URL
https://rest.cryptoapis.io - Auth: the X-API-Key header
- JSON responses, same shape on every chain
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" } } }'
{
"address": "15XyNC88pujwuuur8DCsXBCfEhJJMzHayU",
"isValid": true
}
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…" } } }'
{
"fee": {
"approximateAmount": "0.00016932",
"approximateMinimumRequiredAmount": "0.000021",
"unit": "BNB",
"aproximateAmount": "0.00003"
},
"id": "00a8a090a7c78f64e4626e6720b305edd95fcd7865b5b45864a88070a8079cea",
"gasLimit": 552020,
"gasPaidForData": 0
}
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.
/utils/evm/{blockchain}/{network}/decode-raw-transaction/utils/utxo/{blockchain}/{network}/decode-raw-transaction/utils/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag}/utils/{blockchain}/{network}/xpubs/{extendedPublicKey}/derive-addressesBlockchain Utils works on 11 blockchains
Mainnets, and test networks where the chain has one. Open a chain for its own endpoints and quick start.
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.
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.
Start building with Blockchain Utils
14-day free trial, mainnet included. No card needed.