naftiko: 1.0.0-alpha2 info: label: Chainlens — Contract-Internal-Transactions-Controller description: 'Chainlens — Contract-Internal-Transactions-Controller. 1 operations. Lead operation: Chainlens Retrieve contract internal transactions by its address hash.. Self-contained Naftiko capability covering one Chainlens business surface.' tags: - Chainlens - Contract-Internal-Transactions-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-contract-internal-transactions-controller baseUri: '' description: Chainlens — Contract-Internal-Transactions-Controller business capability. Self-contained, no shared references. resources: - name: contracts-addressHash-internal-transactions path: /contracts/{addressHash}/internal-transactions operations: - name: findcontracttransactions2 method: GET description: Chainlens Retrieve contract internal transactions by its address hash. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: addressHash in: path type: string description: The address hash identifying the contract. required: true - name: query in: query type: string required: true exposes: - type: rest namespace: chainlens-contract-internal-transactions-controller-rest port: 8080 description: REST adapter for Chainlens — Contract-Internal-Transactions-Controller. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contracts/{addresshash}/internal-transactions name: contracts-addresshash-internal-transactions description: REST surface for contracts-addressHash-internal-transactions. operations: - method: GET name: findcontracttransactions2 description: Chainlens Retrieve contract internal transactions by its address hash. call: chainlens-contract-internal-transactions-controller.findcontracttransactions2 with: addressHash: rest.addressHash query: rest.query outputParameters: - type: object mapping: $. - type: mcp namespace: chainlens-contract-internal-transactions-controller-mcp port: 9090 transport: http description: MCP adapter for Chainlens — Contract-Internal-Transactions-Controller. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: chainlens-retrieve-contract-internal-transactions description: Chainlens Retrieve contract internal transactions by its address hash. hints: readOnly: true destructive: false idempotent: true call: chainlens-contract-internal-transactions-controller.findcontracttransactions2 with: addressHash: tools.addressHash query: tools.query outputParameters: - type: object mapping: $.