alloy
alloy copied to clipboard
[Feature] Add a method `build_raw_transaction` in CallBuilder
Component
contract
Describe the feature you would like
In CallBuilder it would be nice to have a method:
build_raw_transaction
The goal of this method would be to build the raw transaction from the given parameters in Bytes.
The transaction built shouldn't be signed and the caller should handle the signing the transaction.
Additional context
This feature can be useful if we don't want just to directly send
the transaction but do some "lower level" stuff.
Additionally, we may want to send a transaction using multiple different wallets and not only the one in Provider