How to implement claim earned rewards functionality using moralis?

Hello , i would like to implement Claim rewards functionality to send automatically the earned rewards to the user , but i don’t know how i can implement it using moralis.

Take a look at this https://github.com/Oryan-EverReflect/Oryan-EverReflect

what should i change in reflections.json file ?

const { data, error, fetch, isFetching, isLoading } = useWeb3ExecuteFunction({

    contractAddress: '0xef5909ecdbaa1fdfdfdf7',

    functionName: 'claim',

    abi: abi

  });