memeswap.fun
Developers

Tuyến cho con người và cho tác nhân.

Draft for counsel review. These endpoints support the first-party beta interface and may change without notice. They are not a supported public trading API. The canonical machine-readable description is OpenAPI 3.1 JSON.

Có trong bản beta hiện tại

GET /api/tokensCác dòng thị trường của token đã niêm yết và bối cảnh cập nhật.
GET /api/token/:chain/:addressHồ sơ thị trường và rủi ro chi tiết đã lưu.
GET /api/chainsSiêu dữ liệu của các chuỗi được hỗ trợ.
GET /api/portfolioSố dư chỉ đọc cho một địa chỉ công khai EVM hoặc Solana do bên gọi cung cấp.
GET /api/quoteBáo giá của nhà cung cấp cho một lệnh hoán đổi được hỗ trợ.
POST /api/buildDữ liệu giao dịch chưa ký, gắn với một báo giá trước đó và một địa chỉ ví công khai.
GET /api/xquoteBáo giá tuyến xuyên chuỗi và dữ liệu giao dịch chưa ký khi có.
GET /api/xstatusTrạng thái hiện tại của giao dịch cầu nối theo báo cáo của nhà cung cấp.
POST /api/solrpcCác lệnh đọc Solana trong danh sách cho phép và việc chuyển tiếp có giới hạn các giao dịch đã ký.

Xác thực và ranh giới ký

Các tuyến beta hiện tại không xác thực người dùng API và không nhận thông tin xác thực API từ bên gọi. Địa chỉ ví công khai là dữ liệu đầu vào để định tuyến, không phải bằng chứng sở hữu. Máy chủ có thể dùng quyền truy cập nhà cung cấp của riêng nó ở phía trong, nhưng những thông tin xác thực đó không bao giờ nằm trong hợp đồng yêu cầu hay phản hồi công khai.

/api/build constructs unsigned material only. It does not authorize, sign, submit or confirm a transaction. A compatible caller-controlled wallet must show and sign the exact transaction. /api/solrpc is the narrow exception for submission: it can forward already-signed Solana bytes after verifying signatures, enforcing the 1,232-byte transaction limit, requiring preflight and bounding retries. It cannot create a signature, change the signed message or authorize the transaction.

Giới hạn tần suất và độ mới

Limits are in-memory fixed windows of 60 seconds, identified by the Cloudflare client address when present and otherwise the socket address. /api/quote, /api/build and /api/xquote share 60 requests per client and 1,200 globally per window. Portfolio cache misses allow 12 per client and 300 globally. Solana RPC reads allow 60/1,200, single signed submissions 6/120, and signed batches of 2–10 transactions 2/20. Exhausted budgets return HTTP 429; process restarts reset the counters. These are current implementation limits, not service guarantees.

The token list is rebuilt at most once every 10 seconds. Identical portfolio requests can reuse a response for 30 seconds. Non-RPC application JSON responses carry Cache-Control: no-store, but internal reuse still applies and source market, profile, RPC and provider observations have independent timestamps and can be older. Quotes, transaction material, prices and bridge statuses can become stale before use; request a fresh quote and verify current chain state in the signing wallet.

Rủi ro và tính sẵn sàng

Providers can be unavailable, routes can disappear, price coverage can be missing, and thin or adversarial markets can make estimates misleading. Token scores and risk fields are heuristics, not audits or safety guarantees. Validate recipient, chain, assets, amounts, approvals, fees, slippage and calldata before signing. See Safety, Fees and the Risk Disclosure.

Trạng thái MCP: đang phát triển

Hiện chưa có điểm cuối MCP công khai nào của MemeSwap được triển khai. Phạm vi dự kiến chỉ gồm các lệnh đọc phục vụ nghiên cứu, báo giá và dựng giao dịch chưa ký. Nó sẽ không giữ bí mật của ví, không ký thông điệp, không gửi lệnh gọi hợp đồng không giới hạn và không cung cấp công cụ thực thi giao dịch chung. Mô hình phân quyền, tên công cụ, gói SDK và cam kết dịch vụ đều chưa phải là cam kết công khai.

Phí và quyền truy cập

Việc ràng buộc phí, siêu dữ liệu OAuth, gói SDK và cam kết dịch vụ chưa được cung cấp công khai. Đừng xây hệ thống chạy thật dựa trên các điểm cuối chưa có tài liệu.

Bảo mật

Report vulnerabilities privately to [email protected]. Agentic Labs LLC, San Antonio, Texas 78261.