Hook that fetches available bridge routes with caching and retry logic
const { data: routes, isLoading, error,} = useBridgeRoutes({ client: thirdwebClient, originChainId: 1, destinationChainId: 137, originTokenAddress: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",});
function useBridgeRoutes( params: UseBridgeRoutesParams,): UseQueryResult<Result, Error>;
Parameters for fetching routes including client and filter options
let params: RoutesTypes.Options & { enabled?: boolean };
let returnType: UseQueryResult<Result, Error>;
React Query result with routes data, loading state, and error handling