Skip to main content

Fetch and decode block data

To fetch and decode block data, first extract the block RID from a given transaction RID, then use Postchain to retrieve the full block information.

Prerequisites

  • Node.js
  • Postchain client: npm install postchain-client

Demo script

Learn more