Swig TS — API References
    Preparing search index...

    Type Alias ProgramExecSessionAuthorityData

    ProgramExecSession authority data structure (128 bytes).

    Combines program execution validation with time-limited sessions.

    type ProgramExecSessionAuthorityData = {
        _padding: ReadonlyUint8Array;
        currentSessionExpiration: bigint;
        instructionPrefix: ReadonlyUint8Array;
        instructionPrefixLen: number;
        maxSessionLength: bigint;
        programId: ReadonlyUint8Array;
        sessionKey: ReadonlyUint8Array;
    }
    Index

    Properties

    _padding: ReadonlyUint8Array

    Padding for alignment (7 bytes)

    currentSessionExpiration: bigint

    Slot when the current session expires

    instructionPrefix: ReadonlyUint8Array

    The instruction data prefix that must match (40 bytes)

    instructionPrefixLen: number

    Length of the instruction prefix to match (0-40)

    maxSessionLength: bigint

    Maximum allowed session duration

    programId: ReadonlyUint8Array

    The program ID that must execute the preceding instruction (32 bytes)

    sessionKey: ReadonlyUint8Array

    The current session key (32 bytes)