[][src]Module ethers_core::types

Ethereum related datatypes

Structs

Block

The block type returned from RPC calls. This is generic over a TX type which will be either the hash or the

Bloom

Bloom hash type with 256 bytes (2048 bits) size.

Bytes

Wrapper type around Vec to deserialize/serialize "0x" prefixed ethereum hex strings

Filter

Filter for

H160

Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.

H256

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

Log

A log produced by a transaction.

PrivateKey

A private key on Secp256k1

PublicKey

A secp256k1 Public Key

Signature

An ECDSA signature

Transaction

Details of a signed transaction

TransactionReceipt

"Receipt" of an executed transaction: details of its execution.

TransactionRequest

Parameters for sending a transaction

TxHash

A transaction Hash

U64

Little-endian large integer type

U128

Little-endian large integer type

U256

Little-endian large integer type

Enums

BlockId

A Block Hash or Block Number

BlockNumber

A block Number (or tag - "latest", "earliest", "pending")

NameOrAddress

ENS name or Ethereum Address. Not RLP encoded/serialized if it's a name

TxError

An error which may be thrown when attempting to sign a transaction with missing fields

ValueOrArray

Union type for representing a single value or a vector of values inside a filter

Type Definitions

Address
Selector