Trait fuel_tx::Chargeable

source ·
pub trait Chargeable {
    fn price(&self) -> Word;
    fn limit(&self) -> Word;
    fn metered_bytes_size(&self) -> usize;
}
Expand description

Means that the blockchain charges fee for the transaction.

Required Methods

Returns the gas price.

Returns the gas limit.

Used for accounting purposes when charging byte based fees.

Implementors