@multiversx/sdk-dapp-swap
Version:
A library to hold the main logic for swapping between tokens on the MultiversX blockchain
11 lines • 601 B
TypeScript
import { DocumentNode, QueryHookOptions, LazyQueryHookOptions } from '@apollo/client';
export declare const useLazyQueryWrapper: <TData>({ query, queryOptions }: {
query: DocumentNode;
queryOptions?: QueryHookOptions<TData, import("@apollo/client").OperationVariables> | undefined;
}) => {
isLoading: boolean | undefined;
isError: boolean | undefined;
error: string | undefined;
execute: (options?: Partial<LazyQueryHookOptions<TData, import("@apollo/client").OperationVariables>> | undefined) => Promise<TData | undefined>;
};
//# sourceMappingURL=useLazyQueryWrapper.d.ts.map