Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types indexer.ApplicationTransactionResult

@algorandfoundation/algokit-utils / types/indexer / ApplicationTransactionResult

Interface: ApplicationTransactionResult

types/indexer.ApplicationTransactionResult

Fields for an application transaction https://developer.algorand.org/docs/rest-apis/indexer/#transactionapplication

Hierarchy

ApplicationTransactionResult

Table of contents

Properties

Properties

accounts

Optional accounts: string[]

[apat] List of accounts in addition to the sender that may be accessed from the application's approval-program and clear-state-program.

Defined in

src/types/indexer.ts:269


application-args

Optional application-args: string[]

[apaa] transaction specific arguments accessed from the application's approval-program and clear-state-program.

Defined in

src/types/indexer.ts:271


application-id

application-id: number

[apid] ID of the application being configured or empty if creating.

Defined in

src/types/indexer.ts:273


approval-program

approval-program: string

[apap]/[approv] Logic executed for every application transaction, except when on-completion is set to "clear".

It can read and write global state for the application, as well as account-specific local state.

Approval programs may reject the transaction.

Pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"

Inherited from

Omit.approval-program

Defined in

src/types/indexer.ts:457


clear-state-program

clear-state-program: string

[apsu]/[clearp] Logic executed for application transactions with on-completion set to "clear".

It can read and write global state for the application, as well as account-specific local state.

Clear state programs cannot reject the transaction.

Pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"

Inherited from

Omit.clear-state-program

Defined in

src/types/indexer.ts:467


extra-program-pages

Optional extra-program-pages: number

[epp] the amount of extra program pages available to this app.

Inherited from

Omit.extra-program-pages

Defined in

src/types/indexer.ts:469


foreign-apps

Optional foreign-apps: number[]

[apfa] Lists the applications in addition to the application-id whose global states may be accessed by this application's approval-program and clear-state-program. The access is read-only.

Defined in

src/types/indexer.ts:275


foreign-assets

Optional foreign-assets: number[]

[apas] lists the assets whose parameters may be accessed by this application's ApprovalProgram and ClearStateProgram. The access is read-only.

Defined in

src/types/indexer.ts:277


global-state-schema

Optional global-state-schema: StateSchema

[gsch] global schema

Inherited from

Omit.global-state-schema

Defined in

src/types/indexer.ts:473


local-state-schema

Optional local-state-schema: StateSchema

[lsch] local schema

Inherited from

Omit.local-state-schema

Defined in

src/types/indexer.ts:475


on-completion

on-completion: ApplicationOnComplete

[apan] defines the what additional actions occur with the transaction.

Defined in

src/types/indexer.ts:279