Back to all APIs
DLT Transaction Validator
Validate DLT transaction structure against UAE VARA regulations — checks address formats, hash encoding, value constraints, prohibited assets, AML thresholds, and chain ID compliance
Category: Identity & SecurityEndpoint:
/api/v1/dlt/validateAvg Response
<150ms
Uptime SLA
99.99%
Free Tier
1,000/mo
Quick Start
JavaScript / TypeScript
javascript
// Validate a DLT transaction using fetchconst response = await fetch('https://khaleejiapi.dev/api/v1/dlt/validate', { method: 'POST', headers: { 'Authorization': '******', 'Content-Type': 'application/json', }, body: JSON.stringify({ transaction: { txHash: '0xabc1230000000000000000000000000000000000000000000000000000000001', from: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', to: '0xAbCdEf0123456789AbCdEf0123456789AbCdEf01', value: '100000', currency: 'AED', chainId: 1, type: 'transfer', timestamp: new Date().toISOString(), }, }),}); const { data } = await response.json();console.log(data.valid); // true / falseconsole.log(data.verdict); // "VALID" | "VALID_WITH_WARNINGS" | "INVALID"for (const issue of data.issues) { console.log(`[${issue.severity}] ${issue.code}: ${issue.message}`);}Python
python
import requests resp = requests.post( "https://khaleejiapi.dev/api/v1/dlt/validate", headers={"Authorization": "******"}, json={ "transaction": { "txHash": "0xabc1230000000000000000000000000000000000000000000000000000000001", "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "to": "0xAbCdEf0123456789AbCdEf0123456789AbCdEf01", "value": "100000", "currency": "AED", "chainId": 1, } },) data = resp.json()["data"]print(f"Valid: {data['valid']} ({data['verdict']})")for issue in data["issues"]: print(f" [{issue['severity']}] {issue['code']}: {issue['message']}")cURL
curl
curl -X POST "https://khaleejiapi.dev/api/v1/dlt/validate" \ -H "Authorization: ******" \ -H "Content-Type: application/json" \ -d '{ "transaction": { "txHash": "0xabc1230000000000000000000000000000000000000000000000000000000001", "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "to": "0xAbCdEf0123456789AbCdEf0123456789AbCdEf01", "value": "100000", "currency": "AED", "chainId": 1 } }'