@lelantos-org/sdk / index / shieldedAddress
Function: shieldedAddress() โ
ts
function shieldedAddress(value): ShieldedAddress;Defined in: @lelantos-org/sdk/dist/core/brand.d.ts:62
Validate and brand a shielded address.
Checks the HRP and the bech32m charset only. decodeAddress performs the checksum and curve checks when the payload is actually needed.
Parameters โ
| Parameter | Type |
|---|---|
value | string |
Returns โ
Throws โ
when the string is not a well-formed lelantos1โฆ bech32m address.