Skip to content

Braga has been retired. The next public testnet is coming in September 2026. Read the announcement →

bytes32(value): Bytes32Value

Defined in: src/attr/values.ts:365

32 opaque bytes — a hash, a digest, an identifier from another system — indexed for equality.

Use key instead when the bytes are an Arkiv entity key: same wire width, but the distinct type makes the reference visible to readers and to the query language.

32 bytes, as 0x hex or raw bytes.

`0x${string}` | Uint8Array<ArrayBufferLike>

Bytes32Value

If the value is not exactly 32 bytes.

bytes32(keccak256(toBytes("hello")))