useBuyHistory
Hook to get the history of Buy transactions for a given wallet - This includes both "buy with crypto" and "buy with fiat" transactions.
This hook is a React Query wrapper of the getBuyHistory
function.
You can also use that function directly
A React Query object which contains the data of type BuyHistoryData