Skip to content

Index

ClassDescription
AbiCoderThe AbiCoder is a low-level class responsible for encoding JavaScript values into binary data and decoding binary data into JavaScript values.
BaseContractAn interface for objects which have an address, and can resolve it asyncronously.
BlockA Block represents the data associated with a full block on Ethereum.
ConstructorFragmentA Fragment which represents a constructor.
ContractA [[BaseContract]] with no type guards on its methods or events.
ContractTransactionReceiptA ContractTransactionReceipt includes the parsed logs from a [[TransactionReceipt]].
ContractTransactionResponseA ContractTransactionResponse will return a [[ContractTransactionReceipt]] when waited on.
ErrorDescriptionWhen using the [[Interface-parseError]] to automatically match an error for a call result for parsing, an ErrorDescription is returned.
ErrorFragmentA Fragment which represents a //Custom Error//.
EventFragmentA Fragment which represents an Event.
EventLogAn EventLog contains additional properties parsed from the [[Log]].
FallbackFragmentA Fragment which represents a method.
FeeDataA FeeData wraps all the fee-related values associated with the network.
FragmentAn abstract class to represent An individual fragment from a parse ABI.
FunctionFragmentA Fragment which represents a method.
InterfaceAn Interface abstracts many of the low-level details for encoding and decoding the data on the blockchain.
LogA Log in Ethereum represents an event that has been included in a transaction using the LOG* opcodes, which are most commonly used by Solidity’s emit for announcing events.
LogDescriptionWhen using the [[Interface-parseLog]] to automatically match a Log to its event for parsing, a LogDescription is returned.
NamedFragmentAn abstract class to represent An individual fragment which has a name from a parse ABI.
NetworkA Network provides access to a chain’s properties and allows for plug-ins to extend functionality.
NetworkPluginA NetworkPlugin provides additional functionality on a [[Network]].
ParamTypeEach input and output of a [[Fragment]] is an Array of ParamType.
ProviderResolver-
ResultA [[Result]] is a sub-class of Array, which allows accessing any of its values either positionally by its index or, if keys are provided by its name.
SignatureA Signature
SPRegistryService-
StructFragmentA Fragment which represents a structure.
TransactionDescriptionWhen using the [[Interface-parseTransaction]] to automatically match a transaction data to its function for parsing, a TransactionDescription is returned.
TransactionReceiptA TransactionReceipt includes additional information about a transaction that is only available after it has been mined.
TransactionResponseA TransactionResponse includes all properties about a transaction that was sent to the network, which may or may not be included in a block.
TypedThe Typed class to wrap values providing explicit type information.
InterfaceDescription
AbortSignal-
AbortSignal-
AddEventListenerOptions-
AddressableAn interface for objects which have an address, and can resolve it asyncronously.
ArrayIterator-
ArrayLike-
AsyncIterable-
AsyncIterator-
Authorization-
AuthorizationRequest-
BaseContractMethodA Contract method can be called directly, or used in various ways.
BlockParamsa BlockParams encodes the minimal required properties for a formatted block.
CallExceptionErrorThis Error indicates a transaction reverted.
ConcatArray-
ContractEvent-
ContractInterfaceA Contract with no method constraints.
ContractMethodA contract method on a Contract.
ContractRunnerA ContractRunner is a generic interface which defines an object capable of interacting with a Contract on the network.
ContractTransactionWhen populating a transaction this type is returned.
DeferredTopicFilterWhen creating a filter using the contract.filters, this is returned.
EthersErrorAll errors in Ethers include properties to assist in machine-readable errors.
Event-
Event-
EventEmitterableAn EventEmitterable behaves similar to an EventEmitter except provides async access to its methods.
EventFilterAn EventFilter allows efficiently filtering logs (also known as events) using bloom filters included within blocks.
EventInit-
EventListener-
EventListenerObject-
EventListenerOptions-
EventTarget-
EventTarget-
FilterA Filter allows searching a specific range of blocks for mathcing logs.
FilterByBlockHashA FilterByBlockHash allows searching a specific block for mathcing logs.
Iterable-
Iterator-
IteratorReturnResult-
IteratorYieldResult-
JsonFragmentA fragment for a method, event or error in a JSON ABI format.
JsonFragmentTypeA Type description in a JSON ABI format.
KzgLibraryA KZG Library with the necessary functions to compute BLOb commitments and proofs.
LogParamsa LogParams encodes the minimal required properties for a formatted log.
MinedBlockAn Interface to indicate a [[Block]] has been included in the blockchain. This asserts a Type Guard that necessary properties are non-null.
MinedTransactionResponseA MinedTransactionResponse is an interface representing a transaction which has been mined and allows for a type guard for its property values being defined.
NameResolverAn interface for any object which can resolve an ENS name.
OverridesThe overrides for a contract transaction.
PDPOfferingPDP offering details (decoded from productData)
PDPServiceInfoPDP service info returned from getPDPService
PreparedTransactionRequestA PreparedTransactionRequest is identical to a [[TransactionRequest]] except all the property types are strictly enforced.
PromiseLike-
ProviderA Provider is the primary method to interact with the read-only content on Ethereum.
ProviderRegistrationInfoProvider registration info for new providers
ServicePriceInfoService price information
ServiceProductPolymorphic service product interface
SignerA Signer represents an account on the Ethereum Blockchain, and is most often backed by a private key represented by a mnemonic or residing on a Hardware Wallet.
StorageManagerDownloadOptionsDownload options Currently empty, reserved for future options
StorageManagerUploadOptionsUpload options for StorageManager.upload() - the all-in-one upload method
TransactionLikeA TransactionLike is an object which is appropriate as a loose input for many operations which will populate missing properties of a transaction.
TransactionReceiptParamsa TransactionReceiptParams encodes the minimal required properties for a formatted transaction receipt.
TransactionRequestA TransactionRequest is a transactions with potentially various properties not defined, or with less strict types for its values.
TransactionResponseParamsa TransactionResponseParams encodes the minimal required properties for a formatted transaction response.
TypedBigIntA Typed that represents a numeric value.
TypedDataA Typed that represents a binary sequence of data as bytes.
TypedDataDomainThe domain for an [[link-eip-712]] payload.
TypedDataFieldA specific field of a structured [[link-eip-712]] type.
TypedStringA Typed that represents a UTF-8 sequence of bytes.
WrappedFallbackA Fallback or Receive function on a Contract.
Type AliasDescription
_AbortSignal-
_Event-
_EventTarget-
AccessListAn ordered collection of [[AccessList]] entries.
AccessListEntryA single [[AccessList]] entry of storage keys (slots) for an address.
AccessListishAny ethers-supported access list structure.
AddressLikeAnything that can be used to return or resolve an address.
ArrayBufferLike-
AuthorizationLike-
BigNumberishAny type that can be used where a big number is needed.
BlobLikeA BLOb object that can be passed for [[link-eip-4844]] transactions.
BlockTagA BlockTag specifies a specific block.
BuiltinIteratorReturnDefines the TReturn type used for built-in iterators produced by Array, Map, Set, and others. This is undefined when strictBuiltInIteratorReturn is true; otherwise, this is any.
BytesLikeAn object that can be used to represent binary data.
CallExceptionActionThe action that resulted in the call exception.
CallExceptionTransactionThe related transaction that caused the error.
CombinedCallbacks-
ContractEventArgsEach argument of an event is nullable (to indicate matching //any//.
ContractEventNameThe name for an event used for subscribing to Contract events.
ContractMethodArgsArguments to a Contract method can always include an additional and optional overrides parameter, and each parameter can optionally be [[Typed]].
DataHexStringA [[HexString]] whose length is even, which ensures it is a valid representation of binary data.
ErrorCodeAll errors emitted by ethers have an ErrorCode to help identify and coalesce errors to simplify programmatic analysis.
ExcludeExclude from T those types that are assignable to U
FlatArray-
FormatTypeThe format to serialize the output as.
FragmentTypeThe type of a [[Fragment]].
InterfaceAbiAn InterfaceAbi may be any supported ABI format.
IteratorResult-
KzgLibraryLikeA KZG Library with any of the various API configurations. As the library is still experimental and the API is not stable, depending on the version used the method names and signatures are still in flux.
ListenerA callback function called when a an event is triggered.
NetworkishA Networkish can be used to allude to a Network, by specifing: - a [[Network]] object - a well-known (or registered) network name - a well-known (or registered) chain ID - an object with sufficient details to describe a network
NumericAny type that can be used where a numeric value is needed.
OmitConstruct a type with the properties of T except for those in type K.
OrphanFilterAn Orphan Filter allows detecting when an orphan block has resulted in dropping a block or transaction or has resulted in transactions changing order.
ParamTypeWalkAsyncFuncWhen walking asynchronously a [[ParamType]], this is called on each component.
ParamTypeWalkFuncWhen walking a [[ParamType]], this is called on each component.
PartialMake all properties in T optional
PickFrom T, pick a set of properties whose keys are in the union K
PostfixOverridesArguments to a Contract method can always include an additional and optional overrides parameter.
ProviderEventA ProviderEvent provides the types of events that can be subscribed to on a [[Provider]].
RecordConstruct a type with a set of properties K of type T
SignatureLikeA SignatureLike
TopicFilterA TopicFilter provides a struture to define bloom-filter queries.
VariableDescription
AbortSignal-
Contract_base-
Event-
EventTarget-
get arrayLength(): null | number;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:132

Returns the length of the array type or -1 if it is dynamic.

Throws if the type is not an array.

null | number


get date():
| null
| Date;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/provider.d.ts:428

The [[link-js-date]] this block was included at.

| null | Date


get tupleName(): null | string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:126

Returns the tuple name, if this is a tuple. Throws otherwise.

null | string