'use strict';

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

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

exports.useGetTokenSupply = useGetTokenSupply;
//# sourceMappingURL=use-get-token-supply.cjs.map
//# sourceMappingURL=use-get-token-supply.cjs.map