naftiko: 1.0.0-alpha2 info: label: Chainlens — Transaction-Controller description: 'Chainlens — Transaction-Controller. 2 operations. Lead operation: Chainlens Retrieve transactions by address or block.. Self-contained Naftiko capability covering one Chainlens business surface.' tags: - Chainlens - Transaction-Controller created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CHAINLENS_API_KEY: CHAINLENS_API_KEY capability: consumes: - type: http namespace: chainlens-transaction-controller baseUri: '' description: Chainlens — Transaction-Controller business capability. Self-contained, no shared references. resources: - name: transactions path: /transactions operations: - name: findtransactions method: GET description: Chainlens Retrieve transactions by address or block. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string required: true - name: transactions-transactionHash path: /transactions/{transactionHash} operations: - name: gettransaction method: GET description: Chainlens Retrieve a transaction by its hash. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionHash in: path type: string description: The hash identifying the transaction. required: true exposes: - type: rest namespace: chainlens-transaction-controller-rest port: 8080 description: REST adapter for Chainlens — Transaction-Controller. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/transactions name: transactions description: REST surface for transactions. operations: - method: GET name: findtransactions description: Chainlens Retrieve transactions by address or block. call: chainlens-transaction-controller.findtransactions with: query: rest.query outputParameters: - type: object mapping: $. - path: /v1/transactions/{transactionhash} name: transactions-transactionhash description: REST surface for transactions-transactionHash. operations: - method: GET name: gettransaction description: Chainlens Retrieve a transaction by its hash. call: chainlens-transaction-controller.gettransaction with: transactionHash: rest.transactionHash outputParameters: - type: object mapping: $. - type: mcp namespace: chainlens-transaction-controller-mcp port: 9090 transport: http description: MCP adapter for Chainlens — Transaction-Controller. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: chainlens-retrieve-transactions-address-block description: Chainlens Retrieve transactions by address or block. hints: readOnly: true destructive: false idempotent: true call: chainlens-transaction-controller.findtransactions with: query: tools.query outputParameters: - type: object mapping: $. - name: chainlens-retrieve-transaction-its-hash description: Chainlens Retrieve a transaction by its hash. hints: readOnly: true destructive: false idempotent: true call: chainlens-transaction-controller.gettransaction with: transactionHash: tools.transactionHash outputParameters: - type: object mapping: $.