Alchemy · Capability

Alchemy Gas Manager API — Paymaster

Alchemy Gas Manager API — Paymaster. 1 operations. Lead operation: Alchemy Gas Manager Sponsor User Operation. Self-contained Naftiko capability covering one Alchemy business surface.

Run with Naftiko AlchemyPaymaster

What You Can Do

POST
Sponsoruseroperation — Alchemy Gas Manager Sponsor User Operation
/v1/sponsoruseroperation

MCP Tools

alchemy-gas-manager-sponsor-user

Alchemy Gas Manager Sponsor User Operation

Capability Spec

gas-manager-paymaster.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Alchemy Gas Manager API — Paymaster
  description: 'Alchemy Gas Manager API — Paymaster. 1 operations. Lead operation: Alchemy Gas Manager Sponsor User Operation.
    Self-contained Naftiko capability covering one Alchemy business surface.'
  tags:
  - Alchemy
  - Paymaster
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ALCHEMY_API_KEY: ALCHEMY_API_KEY
capability:
  consumes:
  - type: http
    namespace: gas-manager-paymaster
    baseUri: https://manage.g.alchemy.com/api
    description: Alchemy Gas Manager API — Paymaster business capability. Self-contained, no shared references.
    resources:
    - name: sponsorUserOperation
      path: /sponsorUserOperation
      operations:
      - name: sponsoruseroperation
        method: POST
        description: Alchemy Gas Manager Sponsor User Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ALCHEMY_API_KEY}}'
  exposes:
  - type: rest
    namespace: gas-manager-paymaster-rest
    port: 8080
    description: REST adapter for Alchemy Gas Manager API — Paymaster. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sponsoruseroperation
      name: sponsoruseroperation
      description: REST surface for sponsorUserOperation.
      operations:
      - method: POST
        name: sponsoruseroperation
        description: Alchemy Gas Manager Sponsor User Operation
        call: gas-manager-paymaster.sponsoruseroperation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gas-manager-paymaster-mcp
    port: 9090
    transport: http
    description: MCP adapter for Alchemy Gas Manager API — Paymaster. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: alchemy-gas-manager-sponsor-user
      description: Alchemy Gas Manager Sponsor User Operation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gas-manager-paymaster.sponsoruseroperation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.