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.
- TxParams
- Transaction options shared across cast commands that submit on-chain transactions.
EnumsΒ§
- Sender
Kind - Different sender kinds used by
CastTxBuilder.
FunctionsΒ§
- decode_
custom_ πerror - decode_
execution_ πrevert - Helper function that tries to decode custom error name and inputs from error payload data.
- fill_
transaction_ πgas_ fees - Fills gas price or EIP-1559 fee fields from the provider and validates the final pair.
- 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