@coin-voyage/paykit
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
14 lines (13 loc) • 637 B
TypeScript
import { type ChainType, type CurrencyWithBalance, type PayOrder } from "@coin-voyage/shared/common";
interface PayOrderQuotesProps {
payOrder: PayOrder | undefined;
address: string | undefined;
chainType: ChainType | undefined;
apiKey: string;
}
export declare function usePayOrderQuotes({ payOrder, address, chainType, apiKey }: PayOrderQuotesProps): {
quotes: CurrencyWithBalance[] | null | undefined;
isLoading: boolean;
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<CurrencyWithBalance[] | null, Error>>;
};
export {};