UNPKG

@stable-io/cctp-sdk-cctpr-definitions

Version:

Definitions for the CCTPR corridor of the CCTP SDK

12 lines 647 B
import type { SupportedDomain } from "./constants.js"; import type { Usdc, GasTokenOf, Duration, Network, Percentage } from "@stable-io/cctp-sdk-definitions"; type CorridorStats<N extends Network, D extends SupportedDomain<N>> = { cost: { relay: [usdcCost: Usdc, gasCost: GasTokenOf<D>]; fast?: Percentage; }; transferTime: Duration; }; export declare const getCorridors: <N extends Network>(network: N) => <S extends SupportedDomain<N>, D extends SupportedDomain<N>>(sourceDomain: S, destinationDomain: D, gasDropoff?: GasTokenOf<D>) => Promise<CorridorStats<N, S>[]>; export {}; //# sourceMappingURL=transfer.d.ts.map