On this page

    1. Home
    2. API
    3. API Reference
    4. Wallet
    5. Validate Wallet Address

    Validate Wallet Address

    This endpoint allows you to check if a specific blockchain wallet address (e.g., for Solana or Polygon) is syntactically correct and eligible to be linked to a URnetwork account.


    POST /wallet/validate-address

    Check the validity of a blockchain address.

    Request

    POST /wallet/validate-address

    Headers:

    {
      "Host": "api.bringyour.com",
      "Content-Type": "application/json",
      "Authorization": "Bearer YOUR_JWT_TOKEN"
    }

    Body:

    {
      "address": "string"
    }

    Fields

    FieldTypeDescription
    addressstringRequired. The public blockchain address to validate.

    Response

    200 Success

    Status: 200 OK

    Content-Type: application/json

    {
      "valid": true
    }

    Fields

    FieldTypeDescription
    validbooleantrue if the address is a valid format for the supported networks.

    Example

    HTTP Request

    POST /wallet/validate-address HTTP/1.1
    Host: api.bringyour.com
    Content-Type: application/json
    Authorization: Bearer YOUR_JWT_TOKEN
     
    {
      "address": "HN7cABqL36vRRXYZ8Q4sG"
    }

    Successful HTTP Response

    {
      "valid": true
    }


    Powered by Sudoc v2.5.0
    Hide table of contents