• Creates and returns the required account keys for a claim instruction based on the provided Neon emulation data.

    Parameters

    • neonEmulate: NeonEmulate

      The Neon emulation data containing Ethereum and Solana accounts.

    Returns ClaimInstructionResult

    An object containing:

    • neonKeys: An array of AccountMeta objects representing the required account keys.
    • legacyAccounts: An array of legacy Solana accounts associated with the claim instruction.
    const claimKeys = createClaimInstructionKeys(neonEmulateData);
    console.log(claimKeys.neonKeys, claimKeys.legacyAccounts);