@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Interface DepositTransactionParams

    interface DepositTransactionParams {
        client: DepositClient;
        feePayer: Address;
        depositor?: Address;
        tree?: Address;
        recipient: Address | ShieldedAddress;
        asset?: Address;
        amount: bigint;
        splTokenAccount?: Address;
        splTokenProgram?: Address | null;
        memo?: Uint8Array<ArrayBufferLike>;
        createSplInterface?: boolean;
        setupInstructions?: readonly Instruction<
            string,
            readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[],
        >[];
    }
    Index
    feePayer: Address
    depositor?: Address
    tree?: Address
    asset?: Address
    amount: bigint
    splTokenAccount?: Address
    splTokenProgram?: Address | null
    memo?: Uint8Array<ArrayBufferLike>
    createSplInterface?: boolean

    Prepend the instruction that creates the mint's registry entry and vault when the mint has none, paid for by the depositor. Defaults to true and is ignored for SOL. Two first deposits of one mint built concurrently both carry the creation, so the second to land fails.

    setupInstructions?: readonly Instruction<
        string,
        readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[],
    >[]

    Placed verbatim before every other instruction, in order.