useBuyWithFiatStatus
A hook to get a status of a "Buy with Fiat" transaction to determine if the transaction is completed, failed or pending.
This hook is a React Query wrapper of the getBuyWithFiatStatus function.
You can also use that function directly.
useBuyWithFiatStatus refetches the status using getBuyWithFiatStatus every 5 seconds.
A react query object which contains the data of type BuyWithFiatStatus