2024-01-17 11:59:08 -08:00

9 lines
257 B
TypeScript

import type { PeerId } from "@libp2p/interface";
import type { ShardInfo } from "./enr.js";
import type { IBaseProtocol } from "./protocols.js";
export interface IMetadata extends IBaseProtocol {
query(peerId: PeerId): Promise<ShardInfo | undefined>;
}