pub trait DataAvailabilitySized {
// Required method
fn estimated_da_size(&self) -> u64;
}
Available on crate features
node-api
and node
only.Expand description
Helper trait that allows attaching an estimated data availability size.
Required Methods§
Sourcefn estimated_da_size(&self) -> u64
fn estimated_da_size(&self) -> u64
Get the estimated data availability size of the transaction.
Note: it is expected that this value will be cached internally.