@tevm/voltaire/provider provides EIP-1193 provider implementations (HttpProvider, WebSocketProvider, InMemoryProvider, ForkProvider), TypedProvider<TRpcSchema>, and EIP-6963 wallet discovery. @tevm/voltaire/jsonrpc pairs with it by exporting request builders (Rpc.Eth.*, Rpc.Wallet.*, Rpc.Anvil.*, Rpc.Hardhat.*, debug, engine) generated from the Ethereum OpenRPC specification.
Looking for ethers v6 or viem APIs? Copy the ethers-provider or viem-publicclient Skill built on top of this interface.
Provider Implementations
All providers implement the EIP-1193 interface (request, on, removeListener) and throw RpcError objects on failure.
Quick Example
Core Interface
Documentation Map
Getting Started
Instantiate HTTP, WebSocket, InMemory, and Fork providers and execute requests.
Method API
Request builder conventions across
eth, wallet, debug, engine, anvil, and hardhat.Type System
RpcSchema, VoltaireRpcSchema, TypedProvider, and schema overrides.Events
EIP-1193 lifecycle events and
WebSocketProvider pub/sub streams.Error Handling
ProviderRpcError, JSON-RPC 2.0, EIP-1193, and EIP-1474 error codes.Comparison
Tradeoffs versus raw EIP-1193, ethers.js, and viem.
Method Namespaces
- eth Methods — Blocks, state, calls, transactions, fees, and logs
- wallet Methods — EIP-3326 chain switching, EIP-747 watchAsset, permissions
- debug Methods — Execution tracing and raw block/header retrieval
- engine Methods — Consensus-layer Engine API payloads and forkchoice
- anvil Methods and hardhat Methods — Local node state manipulation
- EIP-6963 Discovery — Multi-wallet discovery in browsers

