Interface AppQueryParams

Interface for application query parameters. Defines the structure for querying different types of application data.

interface AppQueryParams {
    box?: string[];
    global?: string[];
    local?: {
        algorandaddress: string;
        key: string;
    }[];
    tealcode?: boolean;
}

Properties

box?: string[]

Box storage queries with base64url-encoded keys

global?: string[]

Global storage queries with base64url-encoded keys

local?: {
    algorandaddress: string;
    key: string;
}[]

Local storage queries with base64url-encoded keys and associated addresses

Type declaration

  • algorandaddress: string

    Algorand address whose local state to query

  • key: string

    Base64url-encoded key for the local state

tealcode?: boolean

Request for TEAL code (approval and clear state programs)