Pocket Network · Capability

Pocket Network Shannon — Blocks

Query Shannon blocks via the Cosmos REST surface served by Grove's public mainnet endpoint. Lead operation: getLatestShannonBlock. Self-contained Naftiko capability for Shannon block queries.

Run with Naftiko Pocket NetworkShannonCosmosBlocks

What You Can Do

GET
Getlatestshannonblock — Get Latest Shannon Block
/v1/blocks/latest
GET
Getshannonblockbyheight — Get Shannon Block By Height
/v1/blocks/{height}

MCP Tools

pocket-network-get-latest-block

Get Latest Shannon Block

read-only idempotent
pocket-network-get-block-by-height

Get Shannon Block By Height

read-only idempotent

Capability Spec

shannon-blocks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pocket Network Shannon — Blocks
  description: 'Query Shannon blocks via the Cosmos REST surface served by Grove''s public mainnet
    endpoint. Lead operation: getLatestShannonBlock. Self-contained Naftiko capability for Shannon
    block queries.'
  tags:
  - Pocket Network
  - Shannon
  - Cosmos
  - Blocks
  created: '2026-05-25'
  modified: '2026-05-25'
binds: []
capability:
  consumes:
  - type: http
    namespace: shannon-blocks
    baseUri: https://shannon-grove-api.mainnet.poktroll.com
    description: Shannon block-query capability.
    resources:
    - name: blocks-latest
      path: /cosmos/base/tendermint/v1beta1/blocks/latest
      operations:
      - name: getlatestshannonblock
        method: GET
        description: Get Latest Shannon Block
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: blocks-by-height
      path: /cosmos/base/tendermint/v1beta1/blocks/{height}
      operations:
      - name: getshannonblockbyheight
        method: GET
        description: Get Shannon Block By Height
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: height
          in: path
          type: integer
          required: true
    authentication:
      type: none
  exposes:
  - type: rest
    namespace: shannon-blocks-rest
    port: 8080
    description: REST adapter for Shannon block queries.
    resources:
    - path: /v1/blocks/latest
      name: blocks-latest
      operations:
      - method: GET
        name: getlatestshannonblock
        description: Get Latest Shannon Block
        call: shannon-blocks.getlatestshannonblock
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/blocks/{height}
      name: blocks-by-height
      operations:
      - method: GET
        name: getshannonblockbyheight
        description: Get Shannon Block By Height
        call: shannon-blocks.getshannonblockbyheight
        with:
          height: rest.path.height
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: shannon-blocks-mcp
    port: 9090
    transport: http
    tools:
    - name: pocket-network-get-latest-block
      description: Get Latest Shannon Block
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shannon-blocks.getlatestshannonblock
      outputParameters:
      - type: object
        mapping: $.
    - name: pocket-network-get-block-by-height
      description: Get Shannon Block By Height
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: shannon-blocks.getshannonblockbyheight
      with:
        height: tools.height
      outputParameters:
      - type: object
        mapping: $.