API Reference
ABI | |
Abi | Utilities & types for working with Application Binary Interfaces (ABIs) |
AbiConstructor | Utilities & types for working with Constructors on ABIs. |
AbiError | Utilities & types for working with Errors on ABIs. |
AbiEvent | Utilities & types for working with Events on ABIs. |
AbiFunction | Utilities & types for working with Functions on ABIs. |
AbiItem | Utilities & types for working with ABI Items |
AbiParameters | Utilities & types for encoding, decoding, and working with ABI Parameters |
Addresses | |
Address | Utility functions for working with Ethereum addresses. |
ContractAddress | Utility functions for computing Contract Addresses. |
Authorization (EIP-7702) | |
Authorization | Utility functions for working with EIP-7702 Authorization lists & tuples. |
Blobs (EIP-4844) | |
Blobs | Utility functions for working with EIP-4844 Blobs. |
Kzg | Utility functions for working with KZG Commitments. |
Crypto | |
AesGcm | Utilities & types for working with AES-GCM encryption. Internally uses the Web Crypto API. |
Bls | Utility functions for BLS12-381 cryptography. |
BlsPoint | Utility functions for working with BLS12-381 points. |
Hash | Utility functions for hashing (keccak256, sha256, etc). |
HdKey | Utility functions for generating and working with BIP-32 HD Wallets. |
Mnemonic | Utility functions for generating and working with BIP-39 mnemonics. |
P256 | Utility functions for NIST P256 ECDSA cryptography. |
PublicKey | Utility functions for working with ECDSA public keys. |
Secp256k1 | Utility functions for secp256k1 ECDSA cryptography. |
Signature | Utility functions for working with ECDSA signatures. |
WebAuthnP256 | Utility functions for NIST P256 ECDSA cryptography using the Web Authentication API |
WebCryptoP256 | Utility functions for NIST P256 ECDSA cryptography using the Web Crypto API |
Data | |
Base58 | Utility functions for working with Base58 values. |
Base64 | Utility functions for working with RFC-4648 Base64. |
Bytes | A set of Ethereum-related utility functions for working with Uint8Array instances. |
Hex | A set of Ethereum-related utility functions for working with hexadecimal string values (e.g. "0xdeadbeef" ). |
Rlp | Utility functions for encoding and decoding Recursive Length Prefix structures. |
Value | Utility functions for displaying and parsing Ethereum Values as defined under 2.1. Value in the Ethereum Yellow Paper |
ENS | |
Ens | Utility functions for working with ENS names. |
Execution Spec | |
AccessList | Utilities & types for working with Access Lists as defined in the Execution API specification |
AccountProof | Utilities & types for working with Account Proofs as defined in the Execution API specification |
Block | Utilities & types for working with Blocks as defined in the Execution API specification |
Bloom | Utility functions for working with Bloom Filters as defined in the Execution API specification |
Fee | |
Filter | Utilities & types for working with Filters as defined in the Execution API specification |
Log | Utilities & types for working with Logs as defined in the Execution API specification |
Transaction | Utilities & types for working with Transactions as defined in the Execution API specification |
TransactionReceipt | Utilities & types for working with Transaction Receipts as defined in the Execution API specification |
TransactionRequest | Utilities & types for working with Transaction Requests as defined in the Execution API specification |
Withdrawal | Utilities & types for working with Withdrawals as defined in the Execution API specification |
JSON | |
Json | Utility functions for working with JSON (with support for bigint ). |
JSON-RPC | |
RpcRequest | Utility types & functions for working with JSON-RPC 2.0 Requests and Ethereum JSON-RPC methods as defined on the Ethereum API specification |
RpcResponse | Utility types & functions for working with JSON-RPC 2.0 Responses |
RpcSchema | Utility types for working with Ethereum JSON-RPC namespaces & schemas. |
RpcTransport | Utility functions for working with JSON-RPC Transports. |
Providers (EIP-1193) | |
Provider | Utilities & types for working with EIP-1193 Providers |
Sign-In with Ethereum (EIP-4361) | |
Siwe | Utility functions for working with EIP-4361: Sign-In with Ethereum |
Signed & Typed Data | |
PersonalMessage | Utilities & types for working with EIP-191 Personal Messages |
TypedData | Utility functions for working with EIP-712 Typed Data |
ValidatorData | Utilities & types for working with EIP-191 Validator Data |
Transaction Envelopes | |
TransactionEnvelope | Errors & Types for working with Transaction Envelopes. |
TransactionEnvelopeEip1559 | Utility functions for working with EIP-1559 Typed Transaction Envelopes |
TransactionEnvelopeEip2930 | Utility functions for working with EIP-2930 Typed Transaction Envelopes |
TransactionEnvelopeEip4844 | Utility functions for working with EIP-4844 Typed Transaction Envelopes |
TransactionEnvelopeEip7702 | Utility functions for working with EIP-7702 Typed Transaction Envelopes |
TransactionEnvelopeLegacy | Utility functions for working with Legacy Transaction Envelopes. |