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: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 โ€‹

ParameterType
valuestring

Returns โ€‹

ShieldedAddress

Throws โ€‹

when the string is not a well-formed lelantos1โ€ฆ bech32m address.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub