Pocket Network · Arazzo Workflow

Pocket Network Shannon Block Explorer

Version 1.0.0

Read the latest Shannon block height, then fetch that exact block by height.

1 workflow 1 source API 1 provider
View Spec View on GitHub Web3BlockchainRPCDecentralized InfrastructurePocket NetworkGrovePathShannonCosmosPOKTArazzoWorkflows

Provider

pocket-network

Workflows

shannon-block-explorer
Resolve the latest Shannon height and fetch the block at that height.
Reads the latest committed block to discover the current height, then fetches the same block addressed explicitly by its height value.
2 steps outputs: blockHeader, latestHeight
1
getLatestBlock
Read the most recently committed Shannon block and extract its height from the block header.
2
getBlockAtHeight
Fetch the Shannon block addressed explicitly by the height resolved from the latest block.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Pocket Network Shannon Block Explorer
  summary: Read the latest Shannon block height, then fetch that exact block by height.
  description: >-
    A minimal block-explorer flow for the Pocket Network Shannon chain. It first
    reads the most recently committed CometBFT block from the Cosmos REST
    surface to learn the current chain height, then re-fetches the block at that
    specific height so a consumer has a stable, height-addressed copy of the
    block. Each step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: blocksApi
  url: ../openapi/pocket-network-blocks-api-openapi.yml
  type: openapi
workflows:
- workflowId: shannon-block-explorer
  summary: Resolve the latest Shannon height and fetch the block at that height.
  description: >-
    Reads the latest committed block to discover the current height, then
    fetches the same block addressed explicitly by its height value.
  inputs:
    type: object
    properties: {}
  steps:
  - stepId: getLatestBlock
    description: >-
      Read the most recently committed Shannon block and extract its height
      from the block header.
    operationId: getLatestShannonBlock
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latestHeight: $response.body#/block/header/height
  - stepId: getBlockAtHeight
    description: >-
      Fetch the Shannon block addressed explicitly by the height resolved from
      the latest block.
    operationId: getShannonBlockByHeight
    parameters:
    - name: height
      in: path
      value: $steps.getLatestBlock.outputs.latestHeight
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      blockId: $response.body#/block_id
      blockHeader: $response.body#/block/header
  outputs:
    latestHeight: $steps.getLatestBlock.outputs.latestHeight
    blockHeader: $steps.getBlockAtHeight.outputs.blockHeader

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/pocket-network-shannon-block-explorer-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.