Function hdk::chain::get_agent_activity[][src]

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

Query the headers of a remote agent’s chain.

The agent activity is only the headers of their source chain. The agent activity is held by the neighbourhood centered on 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.