@aptos-labs/react
Version:
React library for Aptos applications.
12 lines • 1.31 kB
TypeScript
import { UseOffsetLimitPaginationOptions } from "../types/queries.js";
import { AccountAddressInput } from "@aptos-labs/ts-sdk";
import { FetchAccountCollectionsParameters, FetchAccountCollectionsResult } from "@aptos-labs/js-pro";
export declare const getUseAccountCollectionsQueryKey: (params: {
network: string;
address?: AccountAddressInput;
where?: FetchAccountCollectionsParameters["where"];
orderBy?: FetchAccountCollectionsParameters["orderBy"];
}) => (string | import("@aptos-labs/js-pro").Current_Collection_Ownership_V2_View_Bool_Exp | import("@aptos-labs/js-pro").Current_Collection_Ownership_V2_View_Bool_Exp[] | import("@aptos-labs/js-pro").Current_Collection_Ownership_V2_View_Order_By | import("@aptos-labs/js-pro").Current_Collection_Ownership_V2_View_Order_By[] | undefined)[];
export type UseAccountCollectionsQueryParameters = Partial<FetchAccountCollectionsParameters> & UseOffsetLimitPaginationOptions<FetchAccountCollectionsResult>;
export declare function useAccountCollections({ network, address, where, orderBy, ...queryOptions }?: UseAccountCollectionsQueryParameters): import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/react-query").InfiniteData<FetchAccountCollectionsResult, unknown>, Error>;
//# sourceMappingURL=useAccountCollections.d.ts.map