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:449


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:451


application-id

application-id: number

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

Defined in

src/types/indexer.ts:453


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:637


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:647


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:649


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:455


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:457


global-state-schema

Optional global-state-schema: StateSchema

[gsch] global schema

Inherited from

Omit.global-state-schema

Defined in

src/types/indexer.ts:653


local-state-schema

Optional local-state-schema: StateSchema

[lsch] local schema

Inherited from

Omit.local-state-schema

Defined in

src/types/indexer.ts:655


on-completion

on-completion: ApplicationOnComplete

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

Defined in

src/types/indexer.ts:459