• Generates the transaction data for withdrawing wrapped Neon tokens.

    This function encodes the function call data required to withdraw wrapped Neon tokens from a smart contract.

    Parameters

    • token: SPLToken

      The SPL token representing the wrapped Neon asset.

    • amount: Amount

      The amount to withdraw.

    Returns string

    Encoded function call data for the wrapped Neon withdrawal transaction.

    const txData = wrappedNeonTransactionData(wrappedToken, amount);