Function hdk::prelude::zome_info

source ·
pub fn zome_info() -> Result<ZomeInfo, WasmError>
Expand description

Get the zome information. There are no inputs to zome_info .

Zome information includes zome name, id and properties.

In general any holochain compatible wasm can be compiled and run in any zome so the zome info needs to be looked up at runtime to e.g. know where to send/receive call_remote rpc calls to.