ResourceReference
ResourceReference =
object
Defined in: packages/transact/src/transactions/app-call.ts:202
Names a single resource reference. Only one of the fields should be set.
Properties
Section titled “Properties”address?
Section titled “address?”
optionaladdress:Address
Defined in: packages/transact/src/transactions/app-call.ts:204
Any account addresses whose balance record is accessible by the executing ApprovalProgram or ClearStateProgram.
appId?
Section titled “appId?”
optionalappId:bigint
Defined in: packages/transact/src/transactions/app-call.ts:206
Application ID whose GlobalState may be read by the executing ApprovalProgram or ClearStateProgram.
assetId?
Section titled “assetId?”
optionalassetId:bigint
Defined in: packages/transact/src/transactions/app-call.ts:208
Asset ID whose AssetParams may be read by the executing ApprovalProgram or ClearStateProgram.
optionalbox:BoxReference
Defined in: packages/transact/src/transactions/app-call.ts:214
Defines a box by its name and the application ID it belongs to.
holding?
Section titled “holding?”
optionalholding:HoldingReference
Defined in: packages/transact/src/transactions/app-call.ts:210
Defines a holding by referring to an Address and Asset it belongs to.
locals?
Section titled “locals?”
optionallocals:LocalsReference
Defined in: packages/transact/src/transactions/app-call.ts:212
Defines a local state by referring to an Address and App it belongs to.