ExecuteBatchParameters
ExecuteBatchParameters<
TCreates,TPatches> =object
Defined in: src/actions/wallet/executeBatch.ts:27
Parameters for the executeBatch function.
At least one operation is required; a batch with nothing in it throws rather than spending gas on an empty transaction.
Each create and patch names its own schema, and is typed by it — a batch can write entities of several schemas at once.
Type Parameters
Section titled “Type Parameters”TCreates
Section titled “TCreates”TCreates extends readonly Schema[] = readonly Schema[]
The schema of each create, in order. Inferred.
TPatches
Section titled “TPatches”TPatches extends readonly Schema[] = readonly Schema[]
The schema of each patch, in order. Inferred.
Properties
Section titled “Properties”creates?
Section titled “creates?”
optionalcreates:{ readonly [I in keyof TCreates]: CreateEntityParameters<TCreates[I]> }
Defined in: src/actions/wallet/executeBatch.ts:32
The entities to create.
deletes?
Section titled “deletes?”
optionaldeletes: readonlyDeleteEntityParameters[]
Defined in: src/actions/wallet/executeBatch.ts:36
The entities to delete.
extensions?
Section titled “extensions?”
optionalextensions: readonlyExtendEntityParameters[]
Defined in: src/actions/wallet/executeBatch.ts:38
The expiries to set.
ownershipChanges?
Section titled “ownershipChanges?”
optionalownershipChanges: readonlyChangeOwnershipParameters[]
Defined in: src/actions/wallet/executeBatch.ts:40
The ownership transfers to perform.
patches?
Section titled “patches?”
optionalpatches:{ readonly [I in keyof TPatches]: PatchEntityParameters<TPatches[I]> }
Defined in: src/actions/wallet/executeBatch.ts:34
The patches to apply.