Creating a getTransfers function
In your frontend, call the
useGetTransfers hook to generate a function that fetches a scoped auth token and uses it to get transfers for the destination scoped by the token. Use one of the fetchToken functions you wrote in Building an “Add Destination” connection form here to create one.Create getTransfers
Using getTransfers
Use
getTransfers created in Step 1 to fetch transfers for the given destination.Fetch transfers