web3agent-aof
Version:
AI Framework for Onchain Operations and DeFi Interactions
13 lines (12 loc) • 326 B
TypeScript
export type SwapExactInputParams = {
amount: string;
fromSymbol: string;
toSymbol: string;
slippage?: number;
};
export declare const swapExactInput: ({ amount, fromSymbol, toSymbol, slippage, }: {
amount: string;
fromSymbol: string;
toSymbol: string;
slippage?: number;
}) => Promise<string>;