PredictedEntityKey
PredictedEntityKey =
object
Defined in: src/actions/public/predictEntityKeys.ts:19
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.
Properties
Section titled “Properties”key:
Hex
Defined in: src/actions/public/predictEntityKeys.ts:21
The key the create will be given.
salt:
bigint
Defined in: src/actions/public/predictEntityKeys.ts:27
The salt the create must carry for its key to come out as PredictedEntityKey.key.
Always a plain uint128 — a requested NO_SALT comes back as the 0n it resolves to,
which a create accepts just the same.