PredictEntityKeysParameters
PredictEntityKeysParameters<
TCount,TSalts> =object
Defined in: src/actions/public/predictEntityKeys.ts:21
Parameters for predictEntityKeys.
Type Parameters
Section titled “Type Parameters”TCount
Section titled “TCount”TCount extends number = number
TSalts
Section titled “TSalts”TSalts extends readonly bigint[] | undefined = readonly bigint[] | undefined
Properties
Section titled “Properties”count?
Section titled “count?”
optionalcount: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.
salts?
Section titled “salts?”
optionalsalts: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.