Skip to main content
GET
/
v1
/
smart-accounts
/
transactions
/
validate-address
Validate Address
curl --request GET \
  --url https://api.openxswitch.com/v1/smart-accounts/transactions/validate-address \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "address": "0x1234567890123456789012345678901234567890",
    "isValid": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

blockchain
string
required

The blockchain network. Can be either the blockchain name or slug.

Refer to the Get Supported Blockchains endpoint for the list of supported blockchains.

Example:

"ethereum-mainnet"

address
string
required

The wallet address to validate

Example:

"0x1234567890123456789012345678901234567890"

Response

success
boolean
required
Example:

true

data
object
required