Skip to content

@lelantos-org/sdk / index / hex32

Function: hex32() ​

ts
function hex32(value): Hex32;

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

Validate and brand a 32-byte hex value.

Parameters ​

ParameterType
valuestring

Returns ​

Hex32

Throws ​

on anything that is not 0x + 64 hex digits.