pub trait Transaction: Into<FuelTransaction> {
Show 20 methods
// Required methods
fn fee_checked_from_tx(
&self,
params: &ConsensusParameters
) -> Option<TransactionFee>;
fn check_without_signatures(
&self,
block_height: u64,
parameters: &ConsensusParameters
) -> Result<(), Error>;
fn id(&self) -> Bytes32;
fn maturity(&self) -> u64;
fn with_maturity(self, maturity: u64) -> Self;
fn gas_price(&self) -> u64;
fn with_gas_price(self, gas_price: u64) -> Self;
fn gas_limit(&self) -> u64;
fn with_gas_limit(self, gas_price: u64) -> Self;
fn with_tx_params(self, tx_params: TxParameters) -> Self;
fn metered_bytes_size(&self) -> usize;
fn inputs(&self) -> &Vec<Input> ⓘ;
fn inputs_mut(&mut self) -> &mut Vec<Input> ⓘ;
fn with_inputs(self, inputs: Vec<Input>) -> Self;
fn outputs(&self) -> &Vec<Output> ⓘ;
fn outputs_mut(&mut self) -> &mut Vec<Output> ⓘ;
fn with_outputs(self, output: Vec<Output>) -> Self;
fn witnesses(&self) -> &Vec<Witness> ⓘ;
fn witnesses_mut(&mut self) -> &mut Vec<Witness> ⓘ;
fn with_witnesses(self, witnesses: Vec<Witness>) -> Self;
}