Skip to content

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

key(value): KeyValue

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

A reference to another entity, indexed for equality.

References are weak: nothing checks that the target exists when you write it, and a reference to a deleted or expired entity is allowed to dangle.

A 32-byte entity key, as 0x hex or raw bytes.

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

KeyValue

If the value is not exactly 32 bytes.

key(parentEntityKey)