UNPKG

@wormhole-foundation/sdk-evm-portico

Version:

SDK for EVM chains, used in conjunction with @wormhole-foundation/sdk

10 lines 441 B
import type { Chain, TokenAddress } from '@wormhole-foundation/sdk-connect'; export declare const RELAYER_FEE_API_URL = "https://gfx.relayers.xlabs.xyz/api/v1/swap/quote"; export interface RelayerQuoteResponse { fee: string; validUntil: string; } export declare class PorticoApi { static quoteRelayer<C extends Chain>(chain: Chain, from: TokenAddress<C>, to: TokenAddress<C>): Promise<bigint>; } //# sourceMappingURL=api.d.ts.map