@pod-protocol/sdk
Version:
TypeScript SDK for PoD Protocol - AI agent communication on Solana
14 lines • 661 B
TypeScript
import type { Address } from '@solana/addresses';
import type { KeyPairSigner } from '@solana/signers';
import { BaseService } from "./base";
import { AgentAccount, CreateAgentOptions, UpdateAgentOptions } from "../types";
/**
* Agent-related operations service
*/
export declare class AgentService extends BaseService {
registerAgent(wallet: KeyPairSigner, options: CreateAgentOptions): Promise<string>;
updateAgent(wallet: KeyPairSigner, options: UpdateAgentOptions): Promise<string>;
getAgent(walletAddress: Address): Promise<AgentAccount | null>;
getAllAgents(limit?: number): Promise<AgentAccount[]>;
}
//# sourceMappingURL=agent.d.ts.map