UNPKG

@hashgraphonline/standards-agent-kit

Version:

A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication. https://hol.org

16 lines (15 loc) 645 B
import { HCS10Client } from '../hcs10/HCS10Client'; import { HCSMessage, HCS11Profile } from '@hashgraphonline/standards-sdk'; export interface ConnectionMap { inboundRequests: Map<number, HCSMessage>; outboundConfirmations: Map<number, HCSMessage>; outboundRequests: Map<number, HCSMessage>; inboundConfirmations: Map<number, HCSMessage>; profileMap: Map<string, HCS11Profile>; confirmedRequestIds: Set<number>; } /** * Fetches and processes inbound/outbound messages and profiles * to provide a map of connection states. */ export declare function fetchConnectionMap(hcsClient: HCS10Client): Promise<ConnectionMap>;