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¶
Omit
\<ApplicationParams
,"creator"
|"global-state"
>
↳ ApplicationTransactionResult
Table of contents¶
Properties¶
- accounts
- application-args
- application-id
- approval-program
- clear-state-program
- extra-program-pages
- foreign-apps
- foreign-assets
- global-state-schema
- local-state-schema
- on-completion
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¶
application-args¶
• Optional
application-args: string
[]
[apaa] transaction specific arguments accessed from the application's approval-program and clear-state-program.
Defined in¶
application-id¶
• application-id: number
[apid] ID of the application being configured or empty if creating.
Defined in¶
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¶
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¶
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¶
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¶
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¶
global-state-schema¶
• Optional
global-state-schema: StateSchema
[gsch] global schema
Inherited from¶
Omit.global-state-schema
Defined in¶
local-state-schema¶
• Optional
local-state-schema: StateSchema
[lsch] local schema
Inherited from¶
Omit.local-state-schema
Defined in¶
on-completion¶
• on-completion: ApplicationOnComplete
[apan] defines the what additional actions occur with the transaction.