Coda by Ian Macalinao
    Preparing search index...

    Interface InstructionByteDeltaNode<TValue>

    A byte-size delta applied when computing rent or buffer size — typically used by instructions that resize accounts.

    interface InstructionByteDeltaNode<
        TValue extends InstructionByteDeltaValue = InstructionByteDeltaValue,
    > {
        kind: "instructionByteDeltaNode";
        subtract?: boolean;
        value: TValue;
        withHeader: boolean;
    }

    Type Parameters

    Index
    kind: "instructionByteDeltaNode"
    subtract?: boolean

    When true, the delta is subtracted from the running size instead of added. Defaults to false.

    value: TValue

    The source of the delta value — a literal number, a referenced account or argument, or a resolver.

    withHeader: boolean

    Whether the delta includes the account header overhead.