UNPKG

@dzapio/sdk

Version:

A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.

35 lines (34 loc) 841 B
import { HexString, ProviderDetails } from '../'; import { ZapPathAsset } from './path'; export type ZapProviders = Record<string, ProviderDetails>; export type ZapChains = { [key: string]: { name: string; supportedProviders: string[]; }; }; export type ZapFee = { amount: string; amountUSD: string; asset: ZapPathAsset; included: boolean; }; export type ZapUnderlyingToken = { chainId: number; address: HexString; name?: string; symbol: string; decimals: number; logo?: string | null; }; export type ZapUnderlyingTokenWithAmount = ZapUnderlyingToken & { amount: string; amountUSD: string; }; export * from './build'; export * from './path'; export * from './pool'; export * from './position'; export * from './quote'; export * from './status'; export * from './step';