trust-wallet-api
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTrust Wallet API
Trust Wallet API
REST API at — HMAC-SHA256 authenticated. Covers token search, prices, swap quotes, market data, and security across 100+ chains.
tws.trustwallet.com部署于的REST API——采用HMAC-SHA256认证。支持100+条区块链网络的代币搜索、价格查询、兑换报价、市场数据以及安全检测功能。
tws.trustwallet.comQuick Start
快速开始
Read first for authentication, asset ID format, and the full chain list.
references/setup.md请先阅读,了解认证方式、资产ID格式以及完整的区块链网络列表。
references/setup.mdReference Guide
参考指南
Read the reference that matches the user's task:
| Task | Reference | When to read |
|---|---|---|
| Auth, chains, asset IDs | | First time setup, unknown chain/asset format |
| Token search, asset details, coin status | | "find token", "asset info", "is this chain active" |
| Swap quotes, routes, step transactions | | "swap X for Y", "bridge", "DEX quote", "swap rate" |
| Prices, trending tokens, categories | | "price of ETH", "trending", "top AI tokens", "market cap" |
| Address validation, token risk | | "is this safe", "validate address", "honeypot", "rug check" |
Read alongside any other reference if the user hasn't authenticated yet or you need chain/asset ID info.
references/setup.md根据用户的任务选择对应的参考文档:
| 任务 | 参考文档 | 阅读场景 |
|---|---|---|
| 认证、区块链网络、资产ID | | 首次配置、未知区块链/资产格式时 |
| 代币搜索、资产详情、币种状态 | | 当用户询问“查找代币”、“资产信息”、“该区块链是否可用”时 |
| 兑换报价、路由、分步交易 | | 当用户询问“将X兑换为Y”、“跨链桥接”、“DEX报价”、“兑换汇率”时 |
| 价格、热门代币、分类 | | 当用户询问“ETH价格”、“热门币种”、“顶级AI代币”、“市值”时 |
| 地址验证、代币风险检测 | | 当用户询问“是否安全”、“验证地址”、“蜜罐检测”、“跑路风险检测”时 |
如果用户尚未完成认证,或需要区块链/资产ID相关信息,请在阅读其他参考文档的同时搭配。
references/setup.md