pub fn agent_info() -> ExternResult<AgentInfo>
Expand description
Trivial wrapper for __agent_info
host function.
Agent info input struct is ()
so the function call simply looks like this:
ⓘlet agent_info = agent_info()?;
the AgentInfo
is the current agent’s original pubkey/address that they joined the network with
and their most recent pubkey/address.