Function skipScheduledTransactionInstruction

  • Creates a transaction instruction to skip a scheduled transaction.

    This function constructs a Solana transaction instruction that marks a scheduled transaction as skipped. It specifies the holder account, tree account, signer, and transaction index required to perform the operation.

    Parameters

    • data: SkipScheduledTransactionData

      The necessary data for skipping the scheduled transaction.

      • holderAccount: PublicKey
      • neonEvmProgram: PublicKey
      • signerAddress: PublicKey
      • transactionIndex: number
      • treeAccountAddress: PublicKey

    Returns TransactionInstruction

    A Solana TransactionInstruction to skip the scheduled transaction.

    const instruction = skipScheduledTransactionInstruction({
    neonEvmProgram,
    signerAddress,
    holderAccount,
    treeAccountAddress,
    transactionIndex: 2
    });
    transaction.add(instruction);