Available on crate feature
node-bindings only.Expand description
Ethereum execution-layer client bindings.
§alloy-node-bindings
Ethereum execution-layer client bindings.
Modules§
Structs§
- Anvil
- Builder for launching
anvil. - Anvil
Instance - An anvil CLI instance. Will close the instance when dropped.
- Geth
- Builder for launching
geth. - Geth
Instance - A geth instance. Will close the instance when dropped.
- Reth
- Builder for launching
reth. - Reth
Instance - A Reth instance. Will close the instance when dropped.
Enums§
- Node
Error - Errors that can occur when working with the node instance.
Constants§
- EIP1559_
FEE_ ESTIMATION_ DEFAULT_ PRIORITY_ FEE - The default max priority fee per gas, used in case the base fee is within a threshold.
- EIP1559_
FEE_ ESTIMATION_ PAST_ BLOCKS - The number of blocks from the past for which the fee rewards are fetched for fee estimation.
- EIP1559_
FEE_ ESTIMATION_ PRIORITY_ FEE_ TRIGGER - The threshold for base fee below which we use the default priority fee, and beyond which we estimate an appropriate value for priority fee.
- EIP1559_
FEE_ ESTIMATION_ REWARD_ PERCENTILE - The default percentile of gas premiums that are fetched for fee estimation.
- EIP1559_
FEE_ ESTIMATION_ THRESHOLD_ MAX_ CHANGE - The threshold max change/difference (in %) at which we will ignore the fee history values under it.
- NODE_
DIAL_ LOOP_ TIMEOUT - Timeout for waiting for the node to add a peer.
- NODE_
STARTUP_ TIMEOUT - How long we will wait for the node to indicate that it is ready.
- WEI_
IN_ ETHER - 1 Ether = 1e18 Wei == 0x0de0b6b3a7640000 Wei