Function destroyScheduledNeonEvmMultipleTransaction

  • Creates a Solana transaction to destroy a scheduled Neon EVM TreeAccount.

    This function removes a previously scheduled Neon EVM transaction by destroying its TreeAccount, ensuring proper cleanup and returning unspent fees to the appropriate accounts.

    • The TreeAccount must not have any active transactions being processed.
    • The TreeAccount can be destroyed if:
      • There are no unprocessed Neon transactions in the account.
      • The last transaction slot is at least 9000 slots old (~1 hour).
    • Rent-exempt SOL is returned to the TreasuryAccount.
    • The remaining gas tokens are transferred to the payer's balance account.

    Parameters

    • transactionData: DestroyScheduledTransactionData

      The structured data required to destroy a scheduled transaction.

      • balanceAddress: PublicKey
      • neonEvmProgram: PublicKey
      • signerAddress: PublicKey
      • treeAccountAddress: PublicKey

    Returns Transaction

    A Solana Transaction object, ready to be signed and sent.

MMNEPVFCICPMFPCPTTAAATR