Function: parseBytes32()
function parseBytes32(value): Bytes32;
Defined in: packages/overcast-core/src/utils.ts:96
Validate an untrusted string as a Bytes32 — 32 bytes exactly — or throw. Use this at every boundary that hands core an asset, account, salt or content-address: a truncated value would otherwise hash to an id no chain agrees with, and fail somewhere far from its origin.
Parameters
| Parameter | Type |
|---|---|
value | string |