Wallet Apis

Use when changing `packages/wallet-apis`, Wallet API actions, transports, Zod schemas, viem client wiring, signer handling, or EIP-7702 behavior.

alchemyplatform 3a76e5d 3 files · 2.9 KB Updated

File contents

Wallet APIs

@alchemy/wallet-apis is the high-level Wallet API client package. It exposes stable root APIs, an experimental subpath, a Solana subpath, and an internal subpath.

Rules

Rule When to read
Zod codecs Before changing Wallet API request/response validation.
Smart wallet client defaults Before changing createSmartWalletClient or client state.

Evidence

  • packages/wallet-apis/package.json exports ., ./experimental, ./solana, and ./internal.
  • packages/wallet-apis/src/client.ts creates the viem client and defaults the account to the signer's address when omitted.
  • packages/wallet-apis/src/utils/schema.ts wraps Zod validation errors in @alchemy/common BaseError.

alchemyplatform/aa-sdk/tree/main/.agents/skills/wallet-apis commit 3a76e5d3cf

Frequently asked questions

npx skillmds@latest add alchemyplatform/wallet-apis