> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ValidateAddress

Validates address, returns either true or false.

This method will use `30` [Compute Units](/nodeapi/about/billing).

***

## **Parameters**

* `address` - String - <span style={{color: "red"}}>Required</span> -  Address to be validated. Address should be in base58checksum, hexString, or base64 format. Example `TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs`
* `visible` - Boolean - Optional. Specifies whether the address is in Base58 format (default: false).

## **Returns**

| Field | Type | Description |
| - | - | - |
| result | boolean | Is the address format correct |
| message | string | Address format type or error message |

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
	"result": true,
	"message": "Base58check format"
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/validateaddress \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{
              "address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
              "visible": true
      }'
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.