Module hdk::info

source ·
Expand description

Request contextual information from the Holochain host.

The Holochain host has additional runtime context that the WASM may find useful and cannot produce for itself including:

  • The calling agent
  • The current app (bundle of DNAs)
  • The current DNA
  • The current Zome
  • The function call itself


Trivial wrapper for __agent_info host function. Agent info input struct is () so the function call simply looks like this:
@todo Not implemented
Get the DNA information. There are no inputs to dna_info .
Get the zome information. There are no inputs to zome_info .