Skip to main content
Module

x/capi/mod.ts>known.PeerInfo

[WIP] A framework for crafting interactions with Substrate chains
Latest
interface known.PeerInfo
import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { PeerInfo } = known;

Network Peer information

Properties

peerId: string

Peer ID

roles: string

Roles

best_hash: string

Peer best block hash

best_number: number

Peer best block number