Skip to content

Commit

Permalink
Deploying to gh-pages from @ ef4cb10 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan1844 committed Jul 8, 2024
1 parent 14a7dd5 commit b58fd0f
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 54 deletions.
6 changes: 6 additions & 0 deletions api/http/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,12 @@

<h1 id="http-api">HTTP API 接口<a class="headerlink" href="#http-api" title="Permanent link">&para;</a></h1>
<p>本章节介绍节点的HTTP API及其用法。</p>
<div class="admonition 注意">
<p class="admonition-title">注意</p>
<p>尽管波场(TRON)通过将 HTTP API 的 Content-Type 设置为 application/json 避免了 XSS 攻击,但仍有一些 API 没有输入验证。为了更好地保护用户数据安全,我们建议您在使用 API 的任何数据之前,先对其进行正确编码。</p>
<p>以下是一种典型的 XSS 防护方法:对来自 API 的所有数据在 HTML 中进行编码。使用诸如 <code>encodeURIComponent()</code><code>escape()</code> 等方法对数据进行编码,这可以将特殊字符转换为其 HTML 实体,防止浏览器将其解释为 HTML 代码。</p>
<p>请务必为来自 API 的所有数据实施 XSS 防护,以确保用户数据的安全。我们了解您可能需要有关 XSS 防护的更多信息。建议您参考以下资源:<a href="https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html">OWASP XSS Prevention Cheat Sheet</a></p>
</div>
<p>首先,对HTTP API中地址格式的选择进行说明:TRON网络账户地址格式有两种:HexString格式和Base58格式。节点HTTP API支持地址格式选择,用户可以通过visible参数设置地址格式,默认值为false,参数及返回值中的地址格式均为hex格式,当visible设置为true时,参数及返回值中的地址格式均为Base58格式。如果参数格式与visible设置不匹配,将会报错。设置方式:</p>
<ul>
<li>对于GET方式请求接口或者不需要参数的查询接口,通过在url中增加参数<code>visible=true</code>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,5 @@ <h1 id="java-tron">欢迎访问Java-tron用户手册!<a class="headerlink" href=

<!--
MkDocs version : 1.3.0
Build Date UTC : 2024-06-26 06:22:06.031282+00:00
Build Date UTC : 2024-07-08 12:22:06.731239+00:00
-->
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

104 changes: 52 additions & 52 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,262 +2,262 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://tronprotocol.github.io/documentation-zh/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/glossary/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/api/http/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/api/rpc/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/architecture/database/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/architecture/event/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/clients/tron-grid/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/clients/wallet-cli-command/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/clients/wallet-cli/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/contracts/compiler/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/contracts/contract/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/contracts/trc20/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/contracts/tvm/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/advanced-configuration/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/archive-manifest/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/code-structure/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/contribution/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/demo/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/deployment/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/governance/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/gpg/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/incentives/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/issue-workflow/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/java-tron/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/litefullnode/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/resources/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/run-in-idea/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/developers/tips/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/faq/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/getting_started/getting_started_with_javatron/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/introduction/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/introduction/dpos/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/introduction/overview/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/account/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/dex/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/multi-signatures/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/resource/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/shielded-TRC20-contract/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/shielded-transaction/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/sr/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/system-contracts/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/trc10/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/mechanism-algorithm/trondex/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/releases/history/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/releases/signature_verification/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/releases/upgrade-instruction/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/using_javatron/backup_restore/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/using_javatron/connecting_to_tron/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/using_javatron/installing_javatron/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/using_javatron/metrics/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/using_javatron/private_network/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-zh/using_javatron/toolkit/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit b58fd0f

Please sign in to comment.