Trait fuel_tx::Chargeable
source · pub trait Chargeable {
// Required methods
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§
sourcefn metered_bytes_size(&self) -> usize
fn metered_bytes_size(&self) -> usize
Used for accounting purposes when charging byte based fees.