chain/followChainStream

Follows the chain from a given sequence and streams blocks from chain connects and disconnects. If wait is set to false the stream will end when it reaches the head of the chain (true by default).

Request 

{
  head?: string | null
  serialized?: boolean
  wait?: boolean
} | undefined

Response 

{
  type: 'connected' | 'disconnected' | 'fork'
  head: {
    sequence: number
  }
  block: RpcBlock & {
    /**
     * @deprecated this can be derived from the type
     */
    main: boolean
  }
}

RPC Objects:

  • RpcBlock
View on Github

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
  • Ledger App

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Terms and Conditions

|

Privacy Policy

|

Media Kit

|

Copyright 2025 Iron Fish.