naftiko: 1.0.0-alpha2 info: label: Ethereum JSON-RPC API description: 'Ethereum JSON-RPC API. 1 operations. Lead operation: Ethereum JSON-RPC endpoint. Self-contained Naftiko capability covering one Ethereum business surface.' tags: - Ethereum - Ethereum JSON-RPC API created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ETHEREUM_API_KEY: ETHEREUM_API_KEY capability: consumes: - type: http namespace: json-rpc baseUri: http://localhost:8545 description: Ethereum JSON-RPC API business capability. Self-contained, no shared references. resources: - name: root path: / operations: - name: jsonrpccall method: POST description: Ethereum JSON-RPC endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: json-rpc-rest port: 8080 description: REST adapter for Ethereum JSON-RPC API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1 name: root description: REST surface for root. operations: - method: POST name: jsonrpccall description: Ethereum JSON-RPC endpoint call: json-rpc.jsonrpccall with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: json-rpc-mcp port: 9090 transport: http description: MCP adapter for Ethereum JSON-RPC API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: ethereum-json-rpc-endpoint description: Ethereum JSON-RPC endpoint hints: readOnly: false destructive: false idempotent: false call: json-rpc.jsonrpccall with: body: tools.body outputParameters: - type: object mapping: $.