CommonAppCallParams
CommonAppCallParams =
CommonTransactionParams&object
Defined in: algokit-utils-ts/src/types/composer.ts:344
Common parameters for defining an application call transaction.
Type Declaration
Section titled “Type Declaration”accessReferences?
Section titled “accessReferences?”
optionalaccessReferences?:ResourceReference[]
Access references unifies accountReferences, appReferences, assetReferences, and boxReferences under a single list. If non-empty, these other reference lists must be empty. If access is empty, those other reference lists may be non-empty.
accountReferences?
Section titled “accountReferences?”
optionalaccountReferences?: (string|Address)[]
Any account addresses to add to the accounts array.
appId:
bigint
ID of the application; 0 if the application is being created.
appReferences?
Section titled “appReferences?”
optionalappReferences?:bigint[]
The ID of any apps to load to the foreign apps array.
optionalargs?:Uint8Array[]
Any arguments to pass to the smart contract call.
assetReferences?
Section titled “assetReferences?”
optionalassetReferences?:bigint[]
The ID of any assets to load to the foreign assets array.
boxReferences?
Section titled “boxReferences?”
optionalboxReferences?: (BoxReference|BoxIdentifier)[]
Any boxes to load to the boxes array.
Either the name identifier (which will be set against app ID of 0 i.e.
the current app), or a box identifier with the name identifier and app ID.
onComplete?
Section titled “onComplete?”
optionalonComplete?:algosdk.OnApplicationComplete
The on-complete action of the call; defaults to no-op.
rejectVersion?
Section titled “rejectVersion?”
optionalrejectVersion?:number
If set, the transaction will be rejected when the app’s version is greater than or equal to this value. This can be used to prevent calling an app after it has been updated. Set to 0 or leave undefined to skip the version check.