API General Description
API Format Conventions, Supported Tokens, and Risk Scoring Reference
Wallet Address Format Conventions
- TRON wallet addresses are case-sensitive for letters.
- ETH wallet addresses use lowercase letters.
API Request Header
Attribute Name | Required/Optional | Type | Description |
---|---|---|---|
Content-Type | Required | String | multipart/form-data |
X-API-KEY | Required | String | Assigned API-KEY by the platform. |
API Format Conventions
All request parameters must be constructed in the form of form-data, encrypted using RSA public key, and submitted in Base64 encoding. The encrypted data should be submitted as the data parameter.
Additionally, the data parameter in the response is also encrypted, and developers need to decrypt it to obtain the plaintext content.
Request Format
Encryption Process
-
Use the RSA public key provided by the platform to encrypt the request parameters.
-
The encrypted data must be Base64-encoded and submitted as the data parameter.
Decryption Process
-
After the platform receives the encrypted data parameter, it will decrypt it using the corresponding private key.
-
The data parameter in the response is also encrypted, and developers need to decrypt it using the public key to retrieve the plaintext.
Java Encryption Code Example
Below is an example of using an RSA public key to encrypt data in Java:
Java Decryption Code Example
Below is an example of using an RSA public key to decrypt response data in Java:
Notes
Public/Private Key Management: The platform will assign an RSA public key to each merchant. Please store it securely to prevent leaks. The private key is strictly managed by the platform, and merchants do not need to manage it.
Base64 Encoding: The results of encryption and decryption must be Base64-encoded to ensure data integrity during transmission.
Supported Tokens
Token | Chain | Support Status |
---|---|---|
USDT | TRC20 | ✅ Supported |
USDT | ERC20 | ✅ Supported |
USDT | BEP20 | ⏳ Under Development |
PHT | TRC20 | ✅ Supported |
PHT | ERC20 | ✅ Supported |
USDC | ERC20 | ✅ Supported |
USDC | BEP20 | ⏳ Under Development |
ETH | ERC20 | ⏳ Under Development |
ETH | BEP20 | ⏳ Under Development |
Risk Scoring Reference
-
🟢 Low Risk:
0 ~ 30
, no risk or low risk. -
🟡 Medium Risk:
31 ~ 64
, may have transactions with medium or high-risk addresses. -
🟠 High Risk:
65 ~ 84
, recommended to isolate. -
🔴 Severe Risk:
85 ~ 100
, immediate isolation is recommended.