web3agent-aof
Version:
AI Framework for Onchain Operations and DeFi Interactions
9 lines (8 loc) • 352 B
TypeScript
import { ethers } from 'ethers';
export type TransferParams = {
to: string;
amount: string;
tokenAddress?: string;
};
export declare const transfer: (params: TransferParams, wallet: ethers.Wallet) => Promise<any>;
export declare const approve: (spender: string, amount: string, tokenAddress: string, wallet: ethers.Wallet) => Promise<any>;