Verify Wallet Address

Validate a wallet address format

POST
texttext
/api/v2/wallet/verify

Validates that a given wallet address is properly formatted for the specified blockchain network. This is useful for client-side validation before submitting orders.

Request Body Parameters

walletAddressstringrequired
The wallet address to validate
networkstringrequired
Blockchain network to validate against (e.g., "ethereum", "bitcoin", "polygon")
apiKeystringrequired
Your public API key

Response Schema

validboolean
Whether the address format is valid for the network
networkstring
The network that was checked
addressstring
The normalized/checked address
typestring
Address type if detectable (e.g., "segwit", "legacy", "erc20")

Example Request

bashbash
curl -X POST "https://OZZOBiT.com/api/api/v2/wallet/verify" \
  -H "Content-Type: application/json" \
  -d '{
    "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f8bD21",
    "network": "ethereum",
    "apiKey": "YOUR_KEY"
  }'

Example Response

jsonjson
{
  "valid": true,
  "network": "ethereum",
  "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f8bD21",
  "type": "erc20"
}

Error Response - Invalid Address

jsonjson
{
  "valid": false,
  "network": "ethereum",
  "address": "not-a-valid-address",
  "error": "Invalid Ethereum address format"
}