Pocket Network · Arazzo Workflow

Pocket Network CometBFT Node Block Inspect

Version 1.0.0

Read node status for the latest height, fetch that block, then its ABCI results.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Web3BlockchainRPCDecentralized InfrastructurePocket NetworkGrovePathShannonCosmosPOKTArazzoWorkflows

Provider

pocket-network

Workflows

cometbft-node-block-inspect
Resolve the node's latest height, then read the block and its results.
Reads node status to learn the latest synced height, fetches the block at that height, and reads the ABCI execution results for that block.
3 steps outputs: block, latestHeight, txResults
1
getStatus
Read node status and extract the latest block height the node has synced.
2
getBlock
Fetch the CometBFT block at the latest synced height.
3
getBlockResults
Fetch the ABCI execution results (events, gas, tx_results) for the same block height.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Pocket Network CometBFT Node Block Inspect
  summary: Read node status for the latest height, fetch that block, then its ABCI results.
  description: >-
    Inspects a Shannon full node through its CometBFT RPC surface. It reads node
    status to discover the latest block height the node has synced, fetches the
    block at that height, and then fetches the ABCI execution results for the
    same block so a consumer can see both the block contents and the events,
    gas, and per-transaction results produced when it was applied. 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: consensusApi
  url: ../openapi/pocket-network-consensus-api-openapi.yml
  type: openapi
- name: statusApi
  url: ../openapi/pocket-network-status-api-openapi.yml
  type: openapi
workflows:
- workflowId: cometbft-node-block-inspect
  summary: Resolve the node's latest height, then read the block and its results.
  description: >-
    Reads node status to learn the latest synced height, fetches the block at
    that height, and reads the ABCI execution results for that block.
  inputs:
    type: object
    properties: {}
  steps:
  - stepId: getStatus
    description: >-
      Read node status and extract the latest block height the node has synced.
    operationId: getCometbftStatus
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latestHeight: $response.body#/result/sync_info/latest_block_height
  - stepId: getBlock
    description: >-
      Fetch the CometBFT block at the latest synced height.
    operationId: getCometbftBlock
    parameters:
    - name: height
      in: query
      value: $steps.getStatus.outputs.latestHeight
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      block: $response.body#/result/block
  - stepId: getBlockResults
    description: >-
      Fetch the ABCI execution results (events, gas, tx_results) for the same
      block height.
    operationId: getCometbftBlockResults
    parameters:
    - name: height
      in: query
      value: $steps.getStatus.outputs.latestHeight
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      txResults: $response.body#/result/txs_results
  outputs:
    latestHeight: $steps.getStatus.outputs.latestHeight
    block: $steps.getBlock.outputs.block
    txResults: $steps.getBlockResults.outputs.txResults

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-cometbft-node-block-inspect-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.