# onchain v0.5.4 - Table of Contents Shared Ethereum/blockchain library for read (eth_call) and write (transaction signing) operations using cartouche. ## Modules - [Onchain](Onchain.md): Shared Ethereum/blockchain library providing read and write capabilities. - [Onchain.ABI](Onchain.ABI.md): ABI encoding/decoding for Ethereum contract calls. - [Onchain.Address](Onchain.Address.md): Ethereum address validation, checksumming, and comparison. - [Onchain.Block](Onchain.Block.md): Ethereum block fetching and timestamp-based block search. - [Onchain.Contract](Onchain.Contract.md): Generic contract call: ABI encode → eth_call → ABI decode in one function. - [Onchain.Decimal](Onchain.Decimal.md): Decimal precision helpers for Ethereum token amounts. - [Onchain.ENS](Onchain.ENS.md): ENS (Ethereum Name Service) resolution and namehash computation. - [Onchain.ERC1155](Onchain.ERC1155.md): ERC-1155 (Multi Token) read operations. - [Onchain.ERC20](Onchain.ERC20.md): ERC-20 token operations. - [Onchain.ERC721](Onchain.ERC721.md): ERC-721 (NFT) read operations. - [Onchain.Fees](Onchain.Fees.md): EIP-1559 fee suggestion math over `Cartouche.FeeHistory.t()`. - [Onchain.Hex](Onchain.Hex.md): Hex encoding/decoding for Ethereum data. - [Onchain.Log](Onchain.Log.md): Event log parsing for Ethereum contract events. - [Onchain.Multicall](Onchain.Multicall.md): Multicall3 batched contract reads. - [Onchain.RPC](Onchain.RPC.md): Ethereum JSON-RPC wrapper using cartouche's RPC client. - [Onchain.Signer](Onchain.Signer.md): EIP-1559 transaction building, signing, encoding, and broadcasting. - [Onchain.Sleuth](Onchain.Sleuth.md): Compound-style "deploy-as-call" primitive for arbitrary read-only logic against live chain state. - [Onchain.Subscription](Onchain.Subscription.md): Real-time Ethereum subscriptions via `eth_subscribe` over WebSocket. - [Onchain.Transfer](Onchain.Transfer.md): Transfer event parser for ERC-20, ERC-721, and ERC-1155 token standards. - [Onchain.Wallet](Onchain.Wallet.md): Thin convenience layer for wallet-level queries.