TRON
Quick Start
- Sign up at tron.network and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
TRON payment integration
| Provider ID | tron |
| Category | Crypto & Blockchain |
| Website | tron.network |
Supported operations: Payments Payouts Status
Configuration
Required Parameters
| Parameter | Description |
|---|---|
need_auth | determines, whether additional is needed authentication transactions |
Example Configuration
{
"provider": "tron",
"provider_params": {
"need_auth": true
}
}
Payment Flow
Payments (cryptocurrency acceptance)
If need_auth = true:
- Generation addresses: user is provided a wallet address
- Signature data: is being created signature from
tx_id:wallet_address - User sends: cryptocurrency on specified address
- Transmission tx_hash: user passes hash transactions
- Checks:
- AML check source address
- Uniqueness tx_hash (not used previously)
- Pending confirmation in blockchain
- Check parameters transactions (from, to, amount)
- Rate: current rate is obtained via
Fx.find_fx_rate_value - Validation: amount compliance is verified considering exchange rate
If need_auth = false:
Simplified process without requirements tx_hash.
Payouts
- Retrieval private key: from secure storage
- Creation transactions: in blockchain Tron
- Signature: private key
- Sending: via Tron API
- Pending: confirmation in blockchain
Type transactions
TRX (native coin)
- Used standard TransferContract
- Direct transfer TRX between addresses
TRC-20 tokens (USDT etc..)
- Used smart contract call
- TriggerSmartContract with method
transfer - Contract address required token
AML check
For incoming transactions is processed:
(source_addr, "tron", env)
If address not passes verification - transaction is declined.