Coda by Ian Macalinao
    Preparing search index...

    Interface PdaValueNode<TSeeds, TProgramId, TPda>

    Resolves to a PDA derived from a list of seed values.

    interface PdaValueNode<
        TSeeds extends PdaSeedValueNode[] = PdaSeedValueNode[],
        TProgramId extends
            PdaValueProgramId | undefined = PdaValueProgramId | undefined,
        TPda extends PdaValuePda = PdaValuePda,
    > {
        kind: "pdaValueNode";
        pda: TPda;
        programId?: TProgramId;
        seeds: TSeeds;
    }

    Type Parameters

    Index
    kind: "pdaValueNode"
    pda: TPda

    The PDA being derived — either a link to a defined PDA or an inline pdaNode.

    programId?: TProgramId

    The program ID used to derive the PDA. When omitted, the PDA’s declared program is used.

    seeds: TSeeds

    The seed values used to derive the PDA, paired with their seed names.