@coin-voyage/paykit
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
13 lines (12 loc) • 445 B
TypeScript
import { Account } from "@coin-voyage/crypto/hooks";
import { ChainType, PayOrderMode } from "@coin-voyage/shared/types";
import { type Option } from "../components/ui/OptionsList/types";
interface UseChainOptionsProps {
account: Account;
mode?: PayOrderMode;
onClick: (chainType: ChainType) => void;
}
export declare function useChainOptions({ account, mode, onClick }: UseChainOptionsProps): {
options: Option[];
};
export {};