Skip to content

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.

optional address: 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.


optional appId: bigint

Defined in: packages/transact/src/transactions/app-call.ts:206

Application ID whose GlobalState may be read by the executing ApprovalProgram or ClearStateProgram.


optional assetId: bigint

Defined in: packages/transact/src/transactions/app-call.ts:208

Asset ID whose AssetParams may be read by the executing ApprovalProgram or ClearStateProgram.


optional box: BoxReference

Defined in: packages/transact/src/transactions/app-call.ts:214

Defines a box by its name and the application ID it belongs to.


optional holding: HoldingReference

Defined in: packages/transact/src/transactions/app-call.ts:210

Defines a holding by referring to an Address and Asset it belongs to.


optional locals: 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.