Class ApplicationParams

Stores the global information associated with an application.

Hierarchy

Constructors

Properties

approvalProgram: Uint8Array

(approv) approval program.

attribute_map: Record<string, string>
clearStateProgram: Uint8Array

(clearp) approval program.

creator: string

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

extraProgramPages?: number | bigint

(epp) the amount of extra program pages available to this app.

globalState?: modelsv2.TealKeyValue[]

(gs) global state

globalStateSchema?: modelsv2.ApplicationStateSchema

(gsch) global schema

localStateSchema?: modelsv2.ApplicationStateSchema

(lsch) local schema

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc