Compose Finance
Utilities

Verify Ethereum address

Validates an Ethereum address and provides information about its type. **Checks Performed** - Address format validation (checksum) - Contract detection (checks if address has deployed code) - Safe wallet identification (checks if it's a Gnosis Safe multisig) **Use Cases** - Validate customer wallet addresses before saving - Detect if a recipient is a smart contract - Identify Safe wallets for display purposes

POST
/api/v2/verify-address

Validates an Ethereum address and provides information about its type.

Checks Performed

  • Address format validation (checksum)
  • Contract detection (checks if address has deployed code)
  • Safe wallet identification (checks if it's a Gnosis Safe multisig)

Use Cases

  • Validate customer wallet addresses before saving
  • Detect if a recipient is a smart contract
  • Identify Safe wallets for display purposes

Authorization

bearerAuth
AuthorizationBearer <token>

Organization API key obtained from PropelAuth

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST 'https://compose.finance/api/v2/verify-address' \  -H 'Authorization: Bearer YOUR_API_KEY' \  -H 'Content-Type: application/json' \  -d '{    "address": "0x1234567890abcdef1234567890abcdef12345678"  }'

{
  "isValid": true,
  "isContract": false,
  "isSafeWallet": false,
  "warnings": [],
  "errors": []
}

{
  "error": "Invalid request data"
}
{
  "error": "Unauthorized - Invalid or missing API key or session"
}
{
  "error": "Customers feature is not enabled for your organization"
}