Module ethcontract::transaction [−][src]
Expand description
Implementation for setting up, signing, estimating gas and sending transactions on the Ethereum network.
Re-exports
pub use self::gas_price::GasPrice;
Modules
Transaction confirmation implementation. This is a re-implementation of
web3
confirmation future to fix issues with development nodes like Ganache
where the transaction gets mined right away, so waiting for 1 confirmation
would require another transaction to be sent so a new block could mine.
Additionally, waiting for 0 confirmations in web3
means that the tx is
just sent to the mem-pool but does not wait for it to get mined. Hopefully
some of this can move upstream into the web3
crate.
Implementation of gas price estimation.
Structs
Data used for building a transaction that modifies the blockchain. These transactions can either be sent to be signed locally by the node or can be signed offline.
Enums
The account type used for signing the transaction.
The condition on which a transaction’s SendFuture
gets resolved.
Represents a prepared and optionally signed transaction that is ready for
sending created by a TransactionBuilder
.
Represents the result of a sent transaction that can either be a transaction
hash, in the case the transaction was not confirmed, or a full transaction
receipt if the TransactionBuilder
was configured to wait for confirmation
blocks.