builder library

Classes

AuthorizationBuilder
A high-level builder responsible for constructing EIP-7702 authorization messages for an externally owned account (EOA).
Eip7702Base
Base interface for components that require an Eip7702Context.
Eip7702Context
Holds the shared configuration and network environment used by all EIP-7702 builders, transaction utilities, and signing workflows.
SetCodeTxBuilder
A builder responsible for constructing type 0x04 EIP-7702 transactions that update an externally owned account’s code to the designated delegation stub.

Mixins

Eip7702Common
A mixin that provides shared utilities and convenience methods for EIP-7702 builders and components.

Properties

baseAuthCost BigInt
Gas cost charged per authorization tuple in an EIP-7702 setCode transaction.
final

Functions

create7702Context({required String rpcUrl, required HexString delegateAddress, GasTransformFn? transformer}) Eip7702Context
Creates an Eip7702Context with a managed Web3Client instance.

Typedefs

GasTransformFn = BigInt Function(BigInt)
Function signature for transforming an estimated gas value.