Skip to content

Commit

Permalink
Deploying to gh-pages from @ d246f51 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan1844 committed Jul 8, 2024
1 parent b70cfb1 commit ca81a5a
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 54 deletions.
8 changes: 7 additions & 1 deletion api/http/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,13 @@
<div class="section" itemprop="articleBody">

<h1 id="http-api">HTTP API<a class="headerlink" href="#http-api" title="Permanent link">&para;</a></h1>
<p>This article introduces FullNode's HTTP APIs and their usage.</p>
<p>This article introduces FullNode's HTTP APIs and their usage. </p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Although TRON has avoided XSS by setting the Content-Type of HTTP APIs to application/json, there are a few APIs that don't have input validation. To better protect user data security, we recommend that you correctly encode any data from APIs before they use it in any UI. </p>
<p>Here is a typical XSS protection method: Encode all data from the APIs in HTML. Use methods such as <code>encodeURIComponent()</code> or <code>escape()</code> to encode the data, which can convert special characters into their HTML entities and prevent them from being interpreted as HTML code by the browser. </p>
<p>Please be sure to implement XSS protection for all data from the APIs to ensure the security of user data. We understand that you may need more information about XSS protection. It is recommended that you refer to the following resources: <a href="https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html">OWASP XSS Prevention Cheat Sheet</a>.</p>
</div>
<p>First, Let's explain the selection of the address format in the HTTP API: Account addresses of the TRON network have two formats: HexString format and Base58 format. The Fullnode HTTP API supports address format selection. Users can set the address format through the <code>visible</code> parameter. The default value is <code>false</code> and the address format in the parameter and return value is hex format. When <code>visible</code> is set to <code>true</code>, the address format in the parameter and return value are in Base58 format. If the parameter format does not match the <code>visible</code> setting, an error will be reported. Setting method:</p>
<ul>
<li>For HTTP GET API or the api needs no parameter: by adding <code>visible=true</code> parameter to the url
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="welcome-to-the-java-tron-user-manual">Welcome to the Java-tron user manu

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

Large diffs are not rendered by default.

102 changes: 51 additions & 51 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,257 +2,257 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://tronprotocol.github.io/documentation-en/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/glossary/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/api/http/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/api/rpc/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/architecture/database/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/architecture/event/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/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-en/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-en/contracts/compiler/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/contracts/contract/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/contracts/trc20/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/contracts/tvm/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/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-en/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-en/developers/contribution/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/developers/demo/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/developers/deployment/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/developers/governance/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/developers/gpg/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/developers/incentives/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/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-en/developers/litefullnode/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/developers/resources/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/developers/tips/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/faq/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/introduction/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/introduction/dpos/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/introduction/overview/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/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-en/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-en/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-en/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-en/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-en/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-en/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-en/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-en/releases/history/</loc>
<lastmod>2024-06-26</lastmod>
<lastmod>2024-07-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://tronprotocol.github.io/documentation-en/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-en/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-en/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-en/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-en/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-en/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-en/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-en/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 ca81a5a

Please sign in to comment.