UNPKG

@kryptogo/kryptogokit-sdk-react

Version:

KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.

17 lines (16 loc) 668 B
import { useEstimateGas, useSimulateContract, useWriteContract } from 'wagmi'; interface UseStableCoinTransferProps { contractAddress: `0x${string}`; to: string; amount: string; balance: string; enabled?: boolean; } export declare function useStableCoinTransfer({ contractAddress, to, amount, balance, enabled, }: UseStableCoinTransferProps): { transfer: () => void; data: ReturnType<typeof useSimulateContract>['data']; isPending: boolean; isGasFeeEnough: boolean; error: ReturnType<typeof useWriteContract>['error'] | ReturnType<typeof useSimulateContract>['error'] | ReturnType<typeof useEstimateGas>['error']; }; export {};