Coda by Ian Macalinao
    Preparing search index...

    Type Alias OptionalAccountStrategy

    OptionalAccountStrategy: "omitted" | "programId"

    How an absent optional account is represented when serialising an instruction.

    Type Declaration

    • "omitted"

      The account slot is left out of the instruction entirely. Subsequent accounts shift up.

    • "programId"

      The account slot is filled with the program ID as a placeholder, preserving positional indices.