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

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Privacy Policy

|

Media Kit

|

Copyright 2024 Iron Fish.