pub trait OpAttributes: PayloadBuilderAttributes {
type Transaction: SignedTransaction;
// Required methods
fn no_tx_pool(&self) -> bool;
fn sequencer_transactions(&self) -> &[WithEncoded<Self::Transaction>];
}
Expand description
Attributes for the OP payload builder.
Required Associated Types§
Sourcetype Transaction: SignedTransaction
type Transaction: SignedTransaction
Primitive transaction type.
Required Methods§
Sourcefn no_tx_pool(&self) -> bool
fn no_tx_pool(&self) -> bool
Whether to use the transaction pool for the payload.
Sourcefn sequencer_transactions(&self) -> &[WithEncoded<Self::Transaction>]
fn sequencer_transactions(&self) -> &[WithEncoded<Self::Transaction>]
Sequencer transactions to include in the payload.