@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
11 lines (10 loc) • 500 B
TypeScript
import { PaymentMethod } from './paymentMethods';
export declare const L1_FEES_ESTIMATE = 20;
export declare const L2_FEES_ESTIMATE = 1;
export declare const MESH_L1_FEES_ESTIMATE = 8;
export declare const MESH_L2_FEES_ESTIMATE = 2;
export declare const MESH_CUSTOM_CLIENT_FEE_PERCENT = 0.055;
/**
* Estimating overall fees
*/
export declare const getFeesUsdEstimate: (targetChainId: string, assetChainId: string, assetUsdAmount: number | null, paymentMethod: PaymentMethod | undefined) => number;