UNPKG

@aptos-labs/react

Version:

React library for Aptos applications.

13 lines 1.19 kB
import { FetchAccountCoinsParameters } from "@aptos-labs/js-pro"; import { AccountAddressInput } from "@aptos-labs/ts-sdk"; import { UseOffsetLimitPaginationOptions } from "../types/queries.js"; import { FetchAccountCoinsResult } from "@aptos-labs/js-pro"; export declare const getUseAccountCoinsQueryKey: (params: { network: string; address?: AccountAddressInput; where?: FetchAccountCoinsParameters["where"]; orderBy?: FetchAccountCoinsParameters["orderBy"]; }) => (string | import("@aptos-labs/js-pro").Current_Fungible_Asset_Balances_Bool_Exp | import("@aptos-labs/js-pro").Current_Fungible_Asset_Balances_Order_By | import("@aptos-labs/js-pro").Current_Fungible_Asset_Balances_Order_By[] | null | undefined)[]; export type UseAccountCoinsQueryParameters = Partial<FetchAccountCoinsParameters> & UseOffsetLimitPaginationOptions<FetchAccountCoinsResult>; export declare function useAccountCoins({ network, address, where, orderBy, ...queryOptions }?: UseAccountCoinsQueryParameters): import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/react-query").InfiniteData<FetchAccountCoinsResult, unknown>, Error>; //# sourceMappingURL=useAccountCoins.d.ts.map