'use strict';

var apiCore = require('@rss3/api-core');
var reactQuery = require('@tanstack/react-query');

function useGetBridgingTransactions(params, options) {
  const queryKey = ["useGetBridgingTransactions", params];
  const query = reactQuery.useQuery({
    queryKey,
    queryFn: () => {
      const args = Array.isArray(params) ? params : [params];
      return apiCore.getBridgingTransactions(
        ...args
      );
    },
    ...options
  });
  return {
    ...query,
    queryKey
  };
}

exports.useGetBridgingTransactions = useGetBridgingTransactions;
//# sourceMappingURL=use-get-bridging-transactions.cjs.map
//# sourceMappingURL=use-get-bridging-transactions.cjs.map