Skip to content

PredictEntityKeysParameters

PredictEntityKeysParameters<TCount, TSalts> = object

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

Parameters for client.predictEntityKeys.

TCount extends number = number

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

optional count: TCount

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

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:36

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:50

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. Pass NO_SALT in a slot whose create opts out of salting.