Function hdk::prelude::must_get_agent_activity
source · [−]pub fn must_get_agent_activity(
author: HoloHash<Agent>,
filter: ChainFilter<HoloHash<Action>>
) -> Result<Vec<RegisterAgentActivity, Global>, WasmError>
Expand description
The chain this filter produces on the given agents chain must be fetched before the validation can be completed. This allows for deterministic validation of chain activity by making a hash bounded range of an agents chain into a dependency for something that is being validated.
Check the ChainFilter
docs for more info.