Skip to content

@lelantos-org/sdk / index / shieldedAddress

Function: shieldedAddress() ​

ts
function shieldedAddress(value): ShieldedAddress;

Defined in: @lelantos-org/sdk/dist/core/brand.d.ts:66

Validate and brand a shielded address.

Checks the HRP and the bech32m charset only; decodeAddress performs the checksum and curve checks.

Parameters ​

ParameterType
valuestring

Returns ​

ShieldedAddress

Throws ​

when the string is not a well-formed lelantos1… bech32m address.