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.ApplicationParams

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

Interface: ApplicationParams

types/indexer.ApplicationParams

Stores the global information associated with an application https://developer.algorand.org/docs/rest-apis/indexer/#applicationparams

Table of contents

Properties

Properties

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}=)?$"

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}=)?$"

Defined in

src/types/indexer.ts:647


creator

creator: string

The address that created this application. This is the address where the parameters and global state for this application can be found.

Defined in

src/types/indexer.ts:627


extra-program-pages

Optional extra-program-pages: number

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

Defined in

src/types/indexer.ts:649


global-state

global-state: TealKeyValue[]

[gs] global schema

Defined in

src/types/indexer.ts:651


global-state-schema

Optional global-state-schema: StateSchema

[gsch] global schema

Defined in

src/types/indexer.ts:653


local-state-schema

Optional local-state-schema: StateSchema

[lsch] local schema

Defined in

src/types/indexer.ts:655