Function hdk::chain::get_agent_activity

source ·
pub fn get_agent_activity(
    agent: AgentPubKey,
    query: ChainQueryFilter,
    request: ActivityRequest
) -> ExternResult<AgentActivity>
Expand description

Query the actions of a remote agent’s chain.

The agent activity is only the actions of their source chain. The agent activity is held by the neighbourhood of the agent’s public key, rather than a content hash like the rest of the DHT.

The agent activity can be filtered with ChainQueryFilter like a local chain query.