UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

19 lines (18 loc) 615 B
import type { FunAddress } from '@funkit/api-base'; export type FeeValue = { label: string; value: number; }; interface UseTokenTransferResult { /** where money goes to first */ depositAddress: FunAddress | undefined; depositAddressTooltip: string; /** the final destination of the money */ recipientAddr: string; minTransferUsd: number; showOriginalRecipient: boolean; estPriceImpact: FeeValue | undefined; maxSlippage: FeeValue | undefined; } export declare const useTokenTransfer: (selectedChainId: number, selectedToken: string) => UseTokenTransferResult; export {};