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::Token
s and domain types, such asH256
,U256
andAddress
.
Structs§
- Access
List Item - Access list item
- Block
- The block type returned from RPC calls.
- Block
Header - The block header type returned from RPC calls.
- Bytes
- Raw bytes wrapper
- Call
Request - Call contract request (eth_call / eth_estimateGas)
- FeeHistory
- The fee history type returned from
eth_feeHistory
call. - Filter
- Filter
- Filter
Builder - Log
- A log produced by a transaction.
- Signature
- A struct that represents the components of a secp256k1 signature.
- Signed
Transaction - Data for offline signed transaction
- Sync
Info - Information about current blockchain syncing operations.
- Trace
Filter - Trace filter
- Transaction
- Description of a Transaction, pending or in the chain.
- Transaction
Receipt - “Receipt” of an executed transaction: details of its execution.
- Value
OrArray - Work
- Miner’s work package
Enums§
- BlockId
- Block Identifier
- Block
Number - Block Number
- Sync
State - The current state of blockchain syncing operations.
- Transaction
Condition - Represents condition on minimum block number or block timestamp.
- Transaction
Id - 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§
- Access
List - Access list
- Index