External Transfer
External transfer is the process of sending funds from a TrexWallet account to an external blockchain address. This operation involves blockchain interaction, network fees, and may require additional confirmations.
Key Steps
- User initiates a withdrawal to an external address.
- System checks user balance, permissions, and AML/KYC status.
- Withdrawal request is queued and processed by the blockchain module.
- Network fee is calculated and deducted.
- Transaction is broadcast to the blockchain.
- Status is updated after confirmations.
Example API Call
External transfers reuse the withdraw endpoint:
POST /trex/v1/wallet/create_withdraw
Content-Type: application/json
Cookie: sid=...
{
"currency": "USDT",
"tokenNetwork": 2,
"amount": 50.0,
"fee": 1.0,
"address": "0xABCDEF..."
}
Identity comes from the authenticated session. tokenNetwork selects the terminal, and the
matching Outcome tariff is applied automatically. fee must match the server-quoted withdrawal
fee. See Withdrawal for the full contract including memo, partnerInfo, and
confirmation flow.