Submit Deposit Transaction
Broadcasts a signed TRX transfer transaction to the TRON network. This is a public endpoint - no authentication is required. The transaction must send TRX to the platform address with a valid user memo embedded in the data field.
POST
/api/v1/deposit/submitMemo is required
The signed transaction must send TRX to the exact platform address with the user memo hex in the data field. Transactions without a valid memo cannot be credited.
Request body
signed_txobjectREQUIREDSigned TRON transaction object from TronWeb
signed_tx.txIDstringREQUIREDTransaction hash
signed_tx.raw_dataobjectREQUIREDTransaction data including the data field with user memo hex
signed_tx.signaturestring[]REQUIREDArray of transaction signatures
Validations
The following checks are performed before broadcasting:
- Destination address must match the platform deposit address
- Transaction data field must contain a valid user memo
- Memo must belong to a registered user
- Transaction format must be a valid signed TRX transfer
Request examples
curl -X POST https://merx.exchange/api/v1/deposit/submit \
-H "Content-Type: application/json" \
-d '{
"signed_tx": {
"txID": "390fd51f...",
"raw_data": { "data": "7573725f61316232..." },
"signature": ["abc123..."]
}
}'Response
200Transaction submitted
{
"tx_id": "390fd51f...",
"status": "pending"
}Response fields
tx_idstringTRON transaction hashstatusstringTransaction status (pending)Errors
VALIDATION_ERROR (400)errorOPTIONALMissing memo, wrong destination address, or invalid transaction format
BROADCAST_FAILED (502)errorOPTIONALTRON network rejected the transaction