edwin-sdk
Version:
SDK for integrating AI agents with DeFi protocols
15 lines (12 loc) • 381 B
text/typescript
export abstract class EdwinWallet {
abstract getAddress(): string;
/**
* Get balance of current wallet
*/
abstract getBalance(): Promise<number>;
/**
* Get balance of any wallet address
* @param walletAddress Address of the wallet to check
*/
abstract getBalanceOfWallet(walletAddress: string, ...args: unknown[]): Promise<number>;
}