# Validate address

## Validate address

> Check whether a wallet address is valid according to the coin-specific format.

```json
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.naewe.com","description":"Generated server url"}],"paths":{"/v1/currency/{currency}/network/{network}/address/{address}/valid":{"get":{"summary":"Validate address","description":"Check whether a wallet address is valid according to the coin-specific format.","operationId":"validate-address","parameters":[{"name":"currency","in":"path","description":"The currency that this address will be used for.","required":true,"schema":{"type":"string","enum":["BCH","BNB","BTC","ETH","LINK","LTC","SOL","TRX","USDC","USDT","XLM","XRP"]}},{"name":"network","in":"path","description":"The network that the address resides on.","required":true,"schema":{"type":"string","enum":["BCH","BTC","LTC","XLM","XRP","ETH","BSC","SOL","TRX"]}},{"name":"address","in":"path","description":"The address under validation.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns whether the wallet address is valid or not.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateAddressResponse"}}}}}}}},"components":{"schemas":{"ValidateAddressResponse":{"required":["supported","valid"],"type":"object","properties":{"valid":{"type":"boolean","description":"Indicates whether the provided address (and tag) are valid."},"supported":{"type":"boolean","description":"Indicates whether the provided address format although valid is supported by the system."}}}}}}
```

## Validate address and destination tag

> Check whether a wallet address and a destination tag are valid according to the coin-specific format.

```json
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.naewe.com","description":"Generated server url"}],"paths":{"/v1/currency/{currency}/network/{network}/address/{address}/destinationTag/{destinationTag}/valid":{"get":{"summary":"Validate address and destination tag","description":"Check whether a wallet address and a destination tag are valid according to the coin-specific format.","operationId":"validate-address-and-destination-tag","parameters":[{"name":"currency","in":"path","description":"The currency that this address will be used for.","required":true,"schema":{"type":"string","enum":["BCH","BNB","BTC","ETH","LINK","LTC","SOL","TRX","USDC","USDT","XLM","XRP"]}},{"name":"network","in":"path","description":"The network that the address resides on.","required":true,"schema":{"type":"string","enum":["BCH","BTC","LTC","XLM","XRP","ETH","BSC","SOL","TRX"]}},{"name":"address","in":"path","description":"The address under validation.","required":true,"schema":{"type":"string"}},{"name":"destinationTag","in":"path","description":"The destination address under validation.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns whether the wallet address and destination tag are valid or not.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateAddressResponse"}}}}}}}},"components":{"schemas":{"ValidateAddressResponse":{"required":["supported","valid"],"type":"object","properties":{"valid":{"type":"boolean","description":"Indicates whether the provided address (and tag) are valid."},"supported":{"type":"boolean","description":"Indicates whether the provided address format although valid is supported by the system."}}}}}}
```
