pub trait TransactionBuilderExt<Tx>where
    Tx: IntoChecked,
{ fn finalize_checked(
        &mut self,
        height: Word,
        params: &ConsensusParameters,
        gas_costs: &GasCosts
    ) -> Checked<Tx>; fn finalize_checked_basic(
        &mut self,
        height: Word,
        params: &ConsensusParameters
    ) -> Checked<Tx>; }
Expand description

Extension trait for fuel_tx::TransactionBuilder adding finalization methods

Required Methods§

source

fn finalize_checked(
    &mut self,
    height: Word,
    params: &ConsensusParameters,
    gas_costs: &GasCosts
) -> Checked<Tx>

Finalize the builder into a Checked<Tx> of the correct type

source

fn finalize_checked_basic(
    &mut self,
    height: Word,
    params: &ConsensusParameters
) -> Checked<Tx>

Finalize the builder into a Checked<Tx> of the correct type, with basic checks only

Implementations on Foreign Types§

source§

impl<Tx: ExecutableTransaction> TransactionBuilderExt<Tx> for TransactionBuilder<Tx>where
    Self: Finalizable<Tx>,
    Checked<Tx>: CheckPredicates,

source§

fn finalize_checked(
    &mut self,
    height: Word,
    params: &ConsensusParameters,
    gas_costs: &GasCosts
) -> Checked<Tx>

source§

fn finalize_checked_basic(
    &mut self,
    height: Word,
    params: &ConsensusParameters
) -> Checked<Tx>

Implementors§