Function darkfi::runtime::import::util::get_object_size

source ยท
pub(crate) fn get_object_size(ctx: FunctionEnvMut<'_, Env>, idx: u32) -> i64
Expand description

Returns the size (number of bytes) of an object in the object store specified by index idx.

Permissions: deploy, metadata, exec