Last updated 1 year ago
Was this helpful?
Get a chain-by-chain breakdown of a transaction's overall progress
a tracker request object
The object for a initializing transaction tracking request
The object for a transaction tracking request
A complete breakdown of a transaction's overall progress. First request will return some pending statuses. Subsequent requests will update has the transaction is mined.
POST /tracker/v2/txn HTTP/1.1 Host: dev-api.thorswap.net Accept: */*
A complete breakdown of a transaction's overall progress
{ "done": true, "status": "text", "result": { "quoteId": "text", "firstTransactionHash": "text", "estimatedDuration": 1, "currentLegIndex": 1, "legs": [ { "chain": "text", "hash": "text", "provider": "text", "txnType": "text", "fromAsset": "text", "fromAssetImage": "text", "fromAmount": "text", "toAsset": "text", "toAssetImage": "text", "toAmount": "text", "updateTimestamp": 1, "estimatedDuration": 1, "status": "text" } ] } }
Simple endpoint to check tracker health
OK - Health check successful
No content
GET /tracker/health HTTP/1.1 Host: dev-api.thorswap.net Accept: */*