pub trait Transaction: Into<FuelTransaction> + Send {
Show 16 methods // Required methods fn fee_checked_from_tx( &self, params: &ConsensusParameters ) -> Option<TransactionFee>; fn check_without_signatures( &self, block_height: u32, parameters: &ConsensusParameters ) -> Result<(), Error>; fn id(&self, params: &ConsensusParameters) -> Bytes32; fn maturity(&self) -> u32; fn with_maturity(self, maturity: u32) -> 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<FuelInput>; fn outputs(&self) -> &Vec<Output>; 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: u32, parameters: &ConsensusParameters ) -> Result<(), Error>

source

fn id(&self, params: &ConsensusParameters) -> Bytes32

source

fn maturity(&self) -> u32

source

fn with_maturity(self, maturity: u32) -> 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<FuelInput>

source

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

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§