naftiko: 1.0.0-alpha2 info: label: Stacks Blockchain API — Search description: 'Stacks Blockchain API — Search. 1 operations. Lead operation: Search. Self-contained Naftiko capability covering one Hiro business surface.' tags: - Hiro - Search created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HIRO_API_KEY: HIRO_API_KEY capability: consumes: - type: http namespace: stacks-blockchain-search baseUri: https://api.hiro.so description: Stacks Blockchain API — Search business capability. Self-contained, no shared references. resources: - name: extended-v1-search-id path: /extended/v1/search/{id} operations: - name: searchbyid method: GET description: Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: include_metadata in: query type: boolean description: This includes the detailed data for purticular hash in the response - name: id in: path type: string description: The hex hash string for a block or transaction, account address, or contract address required: true exposes: - type: rest namespace: stacks-blockchain-search-rest port: 8080 description: REST adapter for Stacks Blockchain API — Search. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/extended/v1/search/{id} name: extended-v1-search-id description: REST surface for extended-v1-search-id. operations: - method: GET name: searchbyid description: Search call: stacks-blockchain-search.searchbyid with: include_metadata: rest.include_metadata id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: stacks-blockchain-search-mcp port: 9090 transport: http description: MCP adapter for Stacks Blockchain API — Search. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search description: Search hints: readOnly: true destructive: false idempotent: true call: stacks-blockchain-search.searchbyid with: include_metadata: tools.include_metadata id: tools.id outputParameters: - type: object mapping: $.