RpcPeerResponse

export type RpcPeerResponse = {
  state: string
  connectionWebSocket: ConnectionState
  connectionWebSocketError: string
  connectionWebRTC: ConnectionState
  connectionWebRTCError: string
  connections: number
  identity: string | null
  version: number | null
  head: string | null
  sequence: number | null
  work: string | null
  agent: string | null
  name: string | null
  address: string | null
  port: number | null
  error: string | null
  networkId: number | null
  genesisBlockHash: string | null
  features: Features | null
}

export type ConnectionState = Connection['state']['type'] | ''

Usage:

  • peer/getPeer
  • peer/getPeers

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.

Use

  • Node App
  • Node CLI
  • Mine
  • Block Explorer
  • Ecosystem

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Privacy Policy

|

Media Kit

|

Copyright 2024 Iron Fish.