Skip to content

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

PredictEntityKeysParameters

PredictEntityKeysParameters<TCount, TSalts> = object

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

Parameters for predictEntityKeys.

TCount extends number = number

TSalts extends readonly bigint[] | undefined = readonly bigint[] | undefined

optional count: TCount

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

How many creates the batch will carry. Ignored when salts is given, which already says how many there are.

A literal count comes back as a fixed-length tuple, so count: 2 destructures into two named pairs without a cast.


owner: Address

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

The account that will sign the creates. Its nonce is what the keys are derived from.


optional salts: TSalts

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

The salt each create will carry, in batch order. Defaults to count fresh random salts — either way each key comes back paired with the salt that mints it.