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

# Address Validation

> Validate the format of a blockchain address. This can be used to check address validity before withdrawal.

### Endpoint

**POST** `/v1/common/address/legal`

### Request Parameters

| Parameter     | Type     | Required | Description                    |
| ------------- | -------- | -------- | ------------------------------ |
| **chainName** | `String` | Yes      | Blockchain name                |
| **address**   | `String` | Yes      | Blockchain address to validate |

### Response Parameters

| Parameter  | Type   | Required | Description                                       |
| ---------- | ------ | -------- | ------------------------------------------------- |
| **result** | `Bool` | Yes      | `False` indicates invalid, `True` indicates valid |

### Response Example

```json theme={null}
{
    "code": 200,
    "msg": "success",
    "timestamp": "1725619914435",
    "data": {
        "result": true
    }
}
  
```
