Function createRecoverNestedInstruction

  • Construct a RecoverNested instruction

    Parameters

    • nestedAssociatedToken: PublicKey

      Nested associated token account (must be owned by ownerAssociatedToken)

    • nestedMint: PublicKey

      Token mint for the nested associated token account

    • destinationAssociatedToken: PublicKey

      Wallet's associated token account

    • ownerAssociatedToken: PublicKey

      Owner associated token account address (must be owned by owner)

    • ownerMint: PublicKey

      Token mint for the owner associated token account

    • owner: PublicKey

      Wallet address for the owner associated token account

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    • associatedTokenProgramId: PublicKey = ASSOCIATED_TOKEN_PROGRAM_ID

      SPL Associated Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc