chain/exportChainStream

Exports the chain as a stream of blocks.

If the start and stop sequences are provided, only the blocks between the start and stop will be returned.

Request 

{
  start?: number | null
  stop?: number | null
} | undefined

Response 

{
  start: number
  stop: number
  block?: RpcBlockHeader & {
    main: boolean
    head: boolean
    latest: boolean
    /**
     * @deprecated Please use sequence instead
     */
    seq: number
    /**
     * @deprecated Please use previousBlockHash instead
     */
    prev: string
  }
}

RPC Objects:

  • RpcBlockHeader
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.