pharos-agent-kit
Version:
Connect AI Agents to Pharos protocols
12 lines • 574 B
TypeScript
import { PharosAgentKit } from "../../index";
import { Address } from "viem";
/**
* Transfer ETH or ERC-20 tokens
* @param agent PharosAgentKit instance
* @param amount Amount to transfer as a string (e.g., "1.5" for 1.5 tokens)
* @param recipient Recipient address
* @param tokenAddress Optional ERC20 token address. If not provided, transfers ETH
* @returns Promise with transaction result
*/
export declare function transfer(agent: PharosAgentKit, amount: string, recipient: Address, tokenAddress?: Address): Promise<string>;
//# sourceMappingURL=transfer.d.ts.map