Uniswap · Capability

Token Trading — Send

Token Trading — Send. 1 operations. Lead operation: Create send calldata. Self-contained Naftiko capability covering one Uniswap business surface.

Run with Naftiko UniswapSend

What You Can Do

POST
Createsend — Create send calldata
/v1/send

MCP Tools

create-send-calldata

Create send calldata

Capability Spec

trading-send.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Token Trading — Send
  description: 'Token Trading — Send. 1 operations. Lead operation: Create send calldata. Self-contained Naftiko capability
    covering one Uniswap business surface.'
  tags:
  - Uniswap
  - Send
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNISWAP_API_KEY: UNISWAP_API_KEY
capability:
  consumes:
  - type: http
    namespace: trading-send
    baseUri: https://trade-api.gateway.uniswap.org/v1
    description: Token Trading — Send business capability. Self-contained, no shared references.
    resources:
    - name: send
      path: /send
      operations:
      - name: createsend
        method: POST
        description: Create send calldata
        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-send-rest
    port: 8080
    description: REST adapter for Token Trading — Send. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/send
      name: send
      description: REST surface for send.
      operations:
      - method: POST
        name: createsend
        description: Create send calldata
        call: trading-send.createsend
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: trading-send-mcp
    port: 9090
    transport: http
    description: MCP adapter for Token Trading — Send. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-send-calldata
      description: Create send calldata
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: trading-send.createsend
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.