Are you a bounty reviewer Check out the examples i made

Agentic Wallet
Reference

Core API

Type-level reference for core wallet/plugin interfaces.

AgentWallet

class AgentWallet {
  use<TMethods>(plugin: WalletPlugin<this, TMethods>): this & TMethods;
  getTools(): AgentTool[];
}

WalletPlugin

interface WalletPlugin<TWallet, TMethods> {
  name: string;
  register(wallet: TWallet): {
    methods: TMethods;
    tools: AgentTool[];
  };
}

AgentTool

interface AgentTool<TInput = any, TOutput = any> {
  name: string;
  description: string;
  inputSchema: ZodType<TInput>;
  execute: (input: TInput) => Promise<TOutput>;
}

AgentWalletError

new AgentWalletError(code, message, {
  cause?: unknown,
  details?: Record<string, unknown>,
})

isAgentWalletError

isAgentWalletError(error: unknown): error is AgentWalletError

On this page