naftiko: 1.0.0-alpha2 info: label: Token Trading — WalletEncode7702 description: 'Token Trading — WalletEncode7702. 1 operations. Lead operation: Encode wallet transactions. Self-contained Naftiko capability covering one Uniswap business surface.' tags: - Uniswap - WalletEncode7702 created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNISWAP_API_KEY: UNISWAP_API_KEY capability: consumes: - type: http namespace: trading-walletencode7702 baseUri: https://trade-api.gateway.uniswap.org/v1 description: Token Trading — WalletEncode7702 business capability. Self-contained, no shared references. resources: - name: wallet-encode_7702 path: /wallet/encode_7702 operations: - name: walletencode7702 method: POST description: Encode wallet transactions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: x-api-key value: '{{env.UNISWAP_API_KEY}}' placement: header exposes: - type: rest namespace: trading-walletencode7702-rest port: 8080 description: REST adapter for Token Trading — WalletEncode7702. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wallet/encode-7702 name: wallet-encode-7702 description: REST surface for wallet-encode_7702. operations: - method: POST name: walletencode7702 description: Encode wallet transactions call: trading-walletencode7702.walletencode7702 with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: trading-walletencode7702-mcp port: 9090 transport: http description: MCP adapter for Token Trading — WalletEncode7702. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: encode-wallet-transactions description: Encode wallet transactions hints: readOnly: false destructive: false idempotent: false call: trading-walletencode7702.walletencode7702 with: body: tools.body outputParameters: - type: object mapping: $.