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;
}

Required Methods§

source

fn fee_checked_from_tx( &self, params: &ConsensusParameters ) -> Option<TransactionFee>

source

fn check_without_signatures( &self, block_height: u64, parameters: &ConsensusParameters ) -> Result<(), Error>

source

fn id(&self) -> Bytes32

source

fn maturity(&self) -> u64

source

fn with_maturity(self, maturity: u64) -> Self

source

fn gas_price(&self) -> u64

source

fn with_gas_price(self, gas_price: u64) -> Self

source

fn gas_limit(&self) -> u64

source

fn with_gas_limit(self, gas_price: u64) -> Self

source

fn with_tx_params(self, tx_params: TxParameters) -> Self

source

fn metered_bytes_size(&self) -> usize

source

fn inputs(&self) -> &Vec<Input>

source

fn inputs_mut(&mut self) -> &mut Vec<Input>

source

fn with_inputs(self, inputs: Vec<Input>) -> Self

source

fn outputs(&self) -> &Vec<Output>

source

fn outputs_mut(&mut self) -> &mut Vec<Output>

source

fn with_outputs(self, output: Vec<Output>) -> Self

source

fn witnesses(&self) -> &Vec<Witness>

source

fn witnesses_mut(&mut self) -> &mut Vec<Witness>

source

fn with_witnesses(self, witnesses: Vec<Witness>) -> Self

Implementors§