Hiro · Capability

Signer Metrics API — Blocks Proposals

Signer Metrics API — Blocks Proposals. 2 operations. Lead operation: Signer information for most recent block proposals. Self-contained Naftiko capability covering one Hiro business surface.

Run with Naftiko HiroBlocks Proposals

What You Can Do

GET
Getblockproposals — Signer information for most recent block proposals
/v1/signer-metrics/v1/block-proposals
GET
Getblockproposals — Signer information for most recent block proposals
/v1/signer-metrics/v1/block-proposals/{block-hash}

MCP Tools

signer-information-most-recent-block

Signer information for most recent block proposals

read-only idempotent
signer-information-most-recent-block-2

Signer information for most recent block proposals

read-only idempotent

Capability Spec

signer-metrics-blocks-proposals.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Signer Metrics API — Blocks Proposals
  description: 'Signer Metrics API — Blocks Proposals. 2 operations. Lead operation: Signer information for most recent block
    proposals. Self-contained Naftiko capability covering one Hiro business surface.'
  tags:
  - Hiro
  - Blocks Proposals
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HIRO_API_KEY: HIRO_API_KEY
capability:
  consumes:
  - type: http
    namespace: signer-metrics-blocks-proposals
    baseUri: https://api.hiro.so
    description: Signer Metrics API — Blocks Proposals business capability. Self-contained, no shared references.
    resources:
    - name: signer-metrics-v1-block_proposals
      path: /signer-metrics/v1/block_proposals
      operations:
      - name: getblockproposals
        method: GET
        description: Signer information for most recent block proposals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return
          required: true
        - name: offset
          in: query
          type: integer
          description: Number of results to skip
          required: true
    - name: signer-metrics-v1-block_proposals-block_hash
      path: /signer-metrics/v1/block_proposals/{block_hash}
      operations:
      - name: getblockproposals
        method: GET
        description: Signer information for most recent block proposals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return
          required: true
        - name: offset
          in: query
          type: integer
          description: Number of results to skip
          required: true
        - name: block_hash
          in: path
          type: string
          description: Block hash
          required: true
  exposes:
  - type: rest
    namespace: signer-metrics-blocks-proposals-rest
    port: 8080
    description: REST adapter for Signer Metrics API — Blocks Proposals. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/signer-metrics/v1/block-proposals
      name: signer-metrics-v1-block-proposals
      description: REST surface for signer-metrics-v1-block_proposals.
      operations:
      - method: GET
        name: getblockproposals
        description: Signer information for most recent block proposals
        call: signer-metrics-blocks-proposals.getblockproposals
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/signer-metrics/v1/block-proposals/{block-hash}
      name: signer-metrics-v1-block-proposals-block-hash
      description: REST surface for signer-metrics-v1-block_proposals-block_hash.
      operations:
      - method: GET
        name: getblockproposals
        description: Signer information for most recent block proposals
        call: signer-metrics-blocks-proposals.getblockproposals
        with:
          limit: rest.limit
          offset: rest.offset
          block_hash: rest.block_hash
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: signer-metrics-blocks-proposals-mcp
    port: 9090
    transport: http
    description: MCP adapter for Signer Metrics API — Blocks Proposals. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: signer-information-most-recent-block
      description: Signer information for most recent block proposals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: signer-metrics-blocks-proposals.getblockproposals
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: signer-information-most-recent-block-2
      description: Signer information for most recent block proposals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: signer-metrics-blocks-proposals.getblockproposals
      with:
        limit: tools.limit
        offset: tools.offset
        block_hash: tools.block_hash
      outputParameters:
      - type: object
        mapping: $.