Interface AppQueryResult

Interface for application query result. Represents the complete result of querying application data from the blockchain.

interface AppQueryResult {
    appId: number;
    boxes?: BoxStorageData[];
    error?: string;
    exists: boolean;
    global?: GlobalStorageData[];
    local?: LocalStorageData[];
    success: boolean;
    tealCode?: TealCodeData;
}

Properties

appId: number

Application ID that was queried

boxes?: BoxStorageData[]

Box storage results (if box parameters were requested)

error?: string

Error message if query failed

exists: boolean

Whether the application exists on the blockchain

Global storage results (if global parameters were requested)

Local storage results (if local parameters were requested)

success: boolean

Overall query success status

tealCode?: TealCodeData

TEAL code results (if tealcode parameter was requested)