{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-zos-computer-api-swap-x402-create",
  "title": "ZOS Computer \u00b7 Cross-Chain Swap Creation",
  "url": "https://api.zos.computer/api/swap-x402/create",
  "category": "finance",
  "summary": "Initiate cross-chain atomic swaps between ZEC and SOL with specified amounts, recipient addresses, and refund protection.",
  "seo": {
    "title": "ZEC-SOL Cross-Chain Swap API | ZOS x402",
    "description": "Create atomic swaps between Zcash and Solana. Pay 0.01 USDC per swap initiation. Specify amount, currencies, and addresses."
  },
  "use_cases": [
    "Execute ZEC to SOL cross-chain swaps",
    "Initiate atomic swaps with refund protection",
    "Bridge privacy-focused Zcash to Solana ecosystem"
  ],
  "ideal_buyer": "Users needing privacy-preserving cross-chain swaps between Zcash and Solana.",
  "example_prompt": "Create a swap to exchange 10 ZEC for SOL and send it to my Solana address.",
  "example_request_body": {
    "amount": 10,
    "fromCurrency": "ZEC",
    "refundAddress": "string",
    "recipientAddress": "string"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 0.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x25d887ce7a35172c62febfd67a1856f20faebb00",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "10000",
      "max_timeout_seconds": 60,
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST"
        },
        "output": {
          "input": {
            "body": {
              "amount": {
                "type": "number",
                "required": true,
                "description": "Amount to exchange"
              },
              "toCurrency": {
                "type": "string",
                "required": true,
                "description": "Target currency (ZEC or SOL)"
              },
              "fromCurrency": {
                "type": "string",
                "required": true,
                "description": "Source currency (ZEC or SOL)"
              },
              "refundAddress": {
                "type": "string",
                "required": false,
                "description": "Refund address if exchange fails"
              },
              "refundExtraId": {
                "type": "string",
                "required": false,
                "description": "Extra ID for refund address if needed"
              },
              "recipientAddress": {
                "type": "string",
                "required": true,
                "description": "Destination wallet address"
              }
            },
            "type": "http",
            "method": "POST"
          },
          "output": {
            "type": "object",
            "properties": {
              "swap": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "userId": {
                    "type": "string"
                  },
                  "toAmount": {
                    "type": "number"
                  },
                  "createdAt": {
                    "type": "string"
                  },
                  "updatedAt": {
                    "type": "string"
                  },
                  "fromAmount": {
                    "type": "number"
                  },
                  "toCurrency": {
                    "type": "string"
                  },
                  "fromCurrency": {
                    "type": "string"
                  },
                  "depositAddress": {
                    "type": "string"
                  },
                  "recipientAddress": {
                    "type": "string"
                  }
                }
              },
              "success": {
                "type": "boolean"
              },
              "exchange": {
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "string"
                  },
                  "amountTo": {
                    "type": "string"
                  },
                  "depositAddress": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "api-zos-computer",
    "host": "api.zos.computer",
    "title": "api.zos.computer",
    "description": "An API origin at api.zos.computer. The host is currently returning a 502 Bad Gateway error, so specific capabilities cannot be determined from available information.",
    "url": "https://api.zos.computer",
    "favicon": "https://zos.computer/images/logo.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-zos-computer-api-swap-x402-create",
    "url": "https://x402all.com/resource/api-zos-computer-api-swap-x402-create",
    "name": "ZOS Computer \u00b7 Cross-Chain Swap Creation",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-zos-computer-api-swap-x402-create",
      "@type": "Offer",
      "price": "0.01",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.010000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.zos.computer/api/swap-x402/create",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-zos-computer",
      "url": "https://api.zos.computer",
      "name": "api.zos.computer",
      "@type": "Organization"
    },
    "identifier": "api-zos-computer-api-swap-x402-create",
    "description": "Create atomic swaps between Zcash and Solana. Pay 0.01 USDC per swap initiation. Specify amount, currencies, and addresses.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-zos-computer-api-swap-x402-create",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-zos-computer-api-swap-x402-create"
}
