index/functions/assertValidWalletAddress.md
assertValidWalletAddress(
address,fieldName?):void
Validate address and throw (function style)
field name
Parameters
| Parameter | Type | Description |
|---|---|---|
address | string | undefined | Address to validate |
fieldName? | string | Field name for errors |
field name
Returns
void
Throws
ValidationError if invalid