-
I’m developing a Reth extension that monitors and reacts to transactions meeting specific conditions. As part of this, I need to insert transactions into the pool within the components of the ExExContext. However, since there are multiple transaction rust types involved, I’m unsure which one is appropriate to use when constructing a new transaction for insertion. Currently, I’m using alloy::rpc::types::TransactionRequest to construct a transaction as shown below:
If I’m misunderstanding how |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
this should be doable via reth/crates/transaction-pool/src/traits.rs Lines 1064 to 1070 in 3fc463c see also: reth/crates/rpc/rpc-eth-api/src/helpers/transaction.rs Lines 366 to 372 in 3fc463c |
Beta Was this translation helpful? Give feedback.
-
sorry @djm07073, forgot to follow up here added this as part of an example: |
Beta Was this translation helpful? Give feedback.
this should be doable via
reth/crates/transaction-pool/src/traits.rs
Lines 1064 to 1070 in 3fc463c
see also:
reth/crates/rpc/rpc-eth-api/src/helpers/transaction.rs
Lines 366 to 372 in 3fc463c