Skip to content

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

PredictedEntityKey

PredictedEntityKey = object

Defined in: src/actions/public/predictEntityKeys.ts:13

A key a create will be given, together with the salt that mints it.

The two travel as a pair because neither is any use alone: a create defaults to a random salt, so the key only comes out as predicted if that same create carries this salt.

key: Hex

Defined in: src/actions/public/predictEntityKeys.ts:15

The key the create will be given.


salt: bigint

Defined in: src/actions/public/predictEntityKeys.ts:17

The salt the create must carry for its key to come out as PredictedEntityKey.key.