Skip to content

API Reference

ABI
AbiUtilities & types for working with Application Binary Interfaces (ABIs)
AbiConstructorUtilities & types for working with Constructors on ABIs.
AbiErrorUtilities & types for working with Errors on ABIs.
AbiEventUtilities & types for working with Events on ABIs.
AbiFunctionUtilities & types for working with Functions on ABIs.
AbiItemUtilities & types for working with ABI Items
AbiParametersUtilities & types for encoding, decoding, and working with ABI Parameters
Addresses
AddressUtility functions for working with Ethereum addresses.
ContractAddressUtility functions for computing Contract Addresses.
Authorization (EIP-7702)
AuthorizationUtility functions for working with EIP-7702 Authorization lists & tuples.
Blobs (EIP-4844)
BlobsUtility functions for working with EIP-4844 Blobs.
KzgUtility functions for working with KZG Commitments.
Crypto
AesGcmUtilities & types for working with AES-GCM encryption. Internally uses the Web Crypto API.
BlsUtility functions for BLS12-381 cryptography.
BlsPointUtility functions for working with BLS12-381 points.
HashUtility functions for hashing (keccak256, sha256, etc).
HdKeyUtility functions for generating and working with BIP-32 HD Wallets.
MnemonicUtility functions for generating and working with BIP-39 mnemonics.
P256Utility functions for NIST P256 ECDSA cryptography.
PublicKeyUtility functions for working with ECDSA public keys.
Secp256k1Utility functions for secp256k1 ECDSA cryptography.
SignatureUtility functions for working with ECDSA signatures.
WebAuthnP256Utility functions for NIST P256 ECDSA cryptography using the Web Authentication API
WebCryptoP256Utility functions for NIST P256 ECDSA cryptography using the Web Crypto API
Data
Base58Utility functions for working with Base58 values.
Base64Utility functions for working with RFC-4648 Base64.
BytesA set of Ethereum-related utility functions for working with Uint8Array instances.
HexA set of Ethereum-related utility functions for working with hexadecimal string values (e.g. "0xdeadbeef").
RlpUtility functions for encoding and decoding Recursive Length Prefix structures.
ValueUtility functions for displaying and parsing Ethereum Values as defined under 2.1. Value in the Ethereum Yellow Paper
ENS
EnsUtility functions for working with ENS names.
Execution Spec
AccessListUtilities & types for working with Access Lists as defined in the Execution API specification
AccountProofUtilities & types for working with Account Proofs as defined in the Execution API specification
BlockUtilities & types for working with Blocks as defined in the Execution API specification
BloomUtility functions for working with Bloom Filters as defined in the Execution API specification
Fee
FilterUtilities & types for working with Filters as defined in the Execution API specification
LogUtilities & types for working with Logs as defined in the Execution API specification
TransactionUtilities & types for working with Transactions as defined in the Execution API specification
TransactionReceiptUtilities & types for working with Transaction Receipts as defined in the Execution API specification
TransactionRequestUtilities & types for working with Transaction Requests as defined in the Execution API specification
WithdrawalUtilities & types for working with Withdrawals as defined in the Execution API specification
JSON
JsonUtility functions for working with JSON (with support for bigint).
JSON-RPC
RpcRequestUtility types & functions for working with JSON-RPC 2.0 Requests and Ethereum JSON-RPC methods as defined on the Ethereum API specification
RpcResponseUtility types & functions for working with JSON-RPC 2.0 Responses
RpcSchemaUtility types for working with Ethereum JSON-RPC namespaces & schemas.
RpcTransportUtility functions for working with JSON-RPC Transports.
Providers (EIP-1193)
ProviderUtilities & types for working with EIP-1193 Providers
Sign-In with Ethereum (EIP-4361)
SiweUtility functions for working with EIP-4361: Sign-In with Ethereum
Signed & Typed Data
PersonalMessageUtilities & types for working with EIP-191 Personal Messages
TypedDataUtility functions for working with EIP-712 Typed Data
ValidatorDataUtilities & types for working with EIP-191 Validator Data
Transaction Envelopes
TransactionEnvelopeErrors & Types for working with Transaction Envelopes.
TransactionEnvelopeEip1559Utility functions for working with EIP-1559 Typed Transaction Envelopes
TransactionEnvelopeEip2930Utility functions for working with EIP-2930 Typed Transaction Envelopes
TransactionEnvelopeEip4844Utility functions for working with EIP-4844 Typed Transaction Envelopes
TransactionEnvelopeEip7702Utility functions for working with EIP-7702 Typed Transaction Envelopes
TransactionEnvelopeLegacyUtility functions for working with Legacy Transaction Envelopes.