Structsยง
- Cast
TxBuilder - Builder type constructing generic TransactionRequest from cast send/mktx inputs.
- Cast
TxSender - Init
State - Initial state.
- Input
State - State with known input for the transaction.
- Send
TxOpts - ToState
- State with known TxKind.
- TxBuilder
Inner ๐ - The state-independent part of
CastTxBuilder. - TxParams
- Transaction options shared across cast commands that submit on-chain transactions.
Enumsยง
- Sender
Kind - Different sender kinds used by
CastTxBuilder.
Functionsยง
- apply_
poll_ ๐interval - Applies the
--poll-interval(in seconds) to a providerโs receipt polling when one was given. - decode_
custom_ ๐error - Tries to decode a custom error name and inputs from revert data.
- fill_
transaction_ ๐gas_ fees - Fills gas price or EIP-1559 fee fields from the provider and validates the final pair.
- read_
only_ ๐sender - Resolves the sender of a read-only request: the browser wallet address when
--browseris set, otherwise the wallet options. Also returns whether the browser wallet was used. - resolve_
send_ ๐signer - Resolves the sending signer, falling back to the wallet options, and validates it against an
explicit
--from. - validate_
authorizations ๐ - Validates that
sendercan resolve every EIP-7702 authorization. - validate_
from_ address - Prevents a misconfigured hwlib from sending a transaction that defies user-specified โfrom