Coda by Ian Macalinao
    Preparing search index...

    Interface InstructionRemainingAccountsNode<TValue, TDisplay>

    A "remaining accounts" slot in an instruction — a variable-length tail of accounts derived from a value.

    interface InstructionRemainingAccountsNode<
        TValue extends
            InstructionRemainingAccountsValue = InstructionRemainingAccountsValue,
        TDisplay extends
            InstructionAccountDisplayNode
            | undefined = InstructionAccountDisplayNode | undefined,
    > {
        display?: TDisplay;
        docs?: Docs;
        isOptional?: boolean;
        isSigner?: boolean
        | "either";
        isWritable?: boolean;
        kind: "instructionRemainingAccountsNode";
        value: TValue;
    }

    Type Parameters

    Index
    display?: TDisplay

    Display metadata describing how the remaining-accounts group is presented as a whole.

    docs?: Docs

    Markdown documentation for the remaining-accounts slot.

    isOptional?: boolean

    Whether the remaining-accounts tail may be empty.

    isSigner?: boolean | "either"

    Whether each remaining account must sign the transaction. The literal "either" indicates a slot that may or may not sign depending on context.

    isWritable?: boolean

    Whether the instruction may write to each remaining account.

    kind: "instructionRemainingAccountsNode"
    value: TValue

    The source of the remaining-accounts list — a referenced argument or a resolver.