Function recoverNested

  • Recover funds funds in an associated token account which is owned by an associated token account

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction and initialization fees

    • owner: Signer

      Owner of original ATA

    • mint: PublicKey

      Mint for the original ATA

    • nestedMint: PublicKey

      Mint for the nested ATA

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    • associatedTokenProgramId: PublicKey = ASSOCIATED_TOKEN_PROGRAM_ID

      SPL Associated Token program account

    Returns Promise<TransactionSignature>

    Signature of the confirmed transaction

Generated using TypeDoc