Module web3

Source
Expand description

Selected Web3 types copied from the web3 crate.

The majority of the code is copied verbatim from the web3 crate 0.19.0, https://github.com/tomusdrw/rust-web3, licensed under the MIT open-source license.

Modules§

contract
Serialization logic allowing to convert between ethabi::Tokens and domain types, such as H256, U256 and Address.

Structs§

AccessListItem
Access list item
Block
The block type returned from RPC calls.
BlockHeader
The block header type returned from RPC calls.
Bytes
Raw bytes wrapper
CallRequest
Call contract request (eth_call / eth_estimateGas)
FeeHistory
The fee history type returned from eth_feeHistory call.
Filter
Filter
FilterBuilder
Log
A log produced by a transaction.
Signature
A struct that represents the components of a secp256k1 signature.
SignedTransaction
Data for offline signed transaction
SyncInfo
Information about current blockchain syncing operations.
TraceFilter
Trace filter
Transaction
Description of a Transaction, pending or in the chain.
TransactionReceipt
“Receipt” of an executed transaction: details of its execution.
ValueOrArray
Work
Miner’s work package

Enums§

BlockId
Block Identifier
BlockNumber
Block Number
SyncState
The current state of blockchain syncing operations.
TransactionCondition
Represents condition on minimum block number or block timestamp.
TransactionId
Transaction Identifier
U64Number
Number that can be either hex-encoded or decimal.

Functions§

keccak256
Compute the Keccak-256 hash of input bytes.
keccak256_concat
Hashes concatenation of the two provided hashes using keccak256.

Type Aliases§

AccessList
Access list
Index