• Generates the transaction data for claiming tokens on the Neon EVM.

    This function encodes the function call data required to claim tokens from an SPL token account to a specified Neon wallet address.

    Parameters

    • associatedToken: PublicKey

      The associated SPL token account.

    • neonWallet: string

      The Ethereum-style Neon wallet address.

    • amount: Amount

      The amount to be claimed.

    Returns string

    Encoded function call data for the claim transaction.

    const txData = claimTransactionData(associatedTokenPK, "0x1234567890abcdef...", amount);