Storage program data returned from RPC queries

interface StorageProgramData {
    createdAt: string;
    createdByTx?: string;
    data?: string | Record<string, unknown>;
    encoding: "json" | "binary";
    interactionTxs?: string[];
    lastModifiedByTx?: string;
    metadata?: Record<string, unknown>;
    owner: string;
    programName: string;
    sizeBytes: number;
    storageAddress: string;
    storageLocation: string;
    updatedAt: string;
}

Properties

createdAt: string
createdByTx?: string

Transaction hash that created this storage program

data?: string | Record<string, unknown>
encoding: "json" | "binary"
interactionTxs?: string[]

Array of all transaction hashes that interacted with this storage program

lastModifiedByTx?: string

Transaction hash of the last modification

metadata?: Record<string, unknown>
owner: string
programName: string
sizeBytes: number
storageAddress: string
storageLocation: string
updatedAt: string