Module ethane::types[][src]

Collects all the needed Ethereum types

This module provides custom types, but also re-exports some types from ethereum_types.

Structs

Block

Standard block type

BlockHeader

BlockHeader returned by subscription

Bloom

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

Bytes

A type for hex values of arbitrary length

Call

Call object for querying data

Filter

A filter object to listen for events

FilterSubscription

Filter object used in subscriptions

GasCall

Used to estimate gas

H64
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

Contains information about events

SignedTransaction

A wrapper for a signed transaction

SyncInfoSubscription

Wrapper for node synchronization info in a subscription

SyncStatus

Status object containing information about node synchronization

Transaction

A pending or processed transaction

TransactionReceipt

Transaction receipt of a processed transaction

TransactionRequest

Used for creating transactions

TxPoolContent

Content of the transaction pool

TxPoolInspect

Content of transaction pool in debug view

TxPoolStatus

Status of the transaction pool

U64

Little-endian large integer type

U128

Little-endian large integer type

U256

Little-endian large integer type

Enums

BlockParameter

Information about block number, defaults to BlockParameter::Latest

HashOrLog

Wrapper to allow filter RPCs to return a transaction hash or a log object

PrivateKey

Wrapper for private keys to allow for 0x-prefixed and plain serialization

SyncInfo

Wrapper for node synchronization info

TransactionOrHash

Wrapper to allow returned blocks to contain complete transactions or hashes

ValueOrVec

Wrapper to allow a single value or a list of values