Services
ProviderService
JSON-RPC request layer used by provider free functions
DebugService
debug_* tracing, raw blocks, storage inspection
SignerService
Sign messages and transactions, send transactions
EngineApiService
engine_* consensus and execution client methods
TransportService
HTTP, WebSocket, Browser transports for JSON-RPC
Contract
Type-safe contract read/write/simulate
Service Imports
Primitives
Import as namespaces:Common Schemas
| Primitive | Schema | Description |
|---|---|---|
| Address | Address.Hex | 20-byte address from hex |
| Address | Address.Checksummed | EIP-55 checksummed (requires KeccakService) |
| Hash | Hash.Hex | 32-byte hash from hex |
| Hex | Hex.String | Hex string from bytes |
| Uint | Uint.Uint256 | 256-bit uint from bigint |
| Uint | Uint.Uint256Hex | 256-bit uint from hex |
Crypto
Standards
Effect Imports
Error Types
| Error | Tag | Where |
|---|---|---|
ParseError | ParseError | Schema decode |
SignerError | SignerError | Signer methods |
TransportError | TransportError | Transport requests |
ProviderResponseError | ProviderResponseError | Invalid provider response |
ProviderNotFoundError | ProviderNotFoundError | Missing block/tx/receipt |
ProviderValidationError | ProviderValidationError | Invalid provider inputs |
ProviderTimeoutError | ProviderTimeoutError | Provider timeouts |
ProviderStreamError | ProviderStreamError | Provider stream failures |
ProviderReceiptPendingError | ProviderReceiptPendingError | Receipt not available yet |
ProviderConfirmationsPendingError | ProviderConfirmationsPendingError | Confirmations not met |
ContractCallError | ContractCallError | Contract reads |
ContractWriteError | ContractWriteError | Contract writes |
CryptoError | CryptoError | Crypto operations |
GetBalanceError, GetBlockError, and WaitForTransactionReceiptError.
Layer Composition Patterns
Provider Layer
Signer with Local Account
Full Crypto Stack
Running Effects
See Also
- Cheatsheet — Quick reference patterns
- Examples — Working code examples
- Effect API Reference — Effect.ts docs
- Voltaire API — Core Voltaire docs

