ActiveRoutesController_getActiveRouteStatus
GEThttps://api.socket.tech/v2/route/prepare
ActiveRoutesController_getActiveRouteStatus
Request​
Query Parameters
activeRouteId stringrequired
Id of Active Route.
Example: 420
userTxIndex stringrequired
Index of the userTxs in the Active Route. Every active route will have a userTxs array. userTxIndex is the index of the object in the userTxs array.
Example: 2
txHash string
Transaction hash that relates to the userTxIndex. Each object in the userTxs is a transaction that has to be done by the user to progress in the route. If all the transactions are completed in the route, it will be marked complete.
Example: 0x66b41ab61c3fd3a20649b9a722e69bdab58706c0
signature string
Signature to be sent in case the next transaction is dependant on the signature.
Example: xyz
Header Parameters
API-KEY string
Responses​
- 200
Get status of an active route
- application/json
- Schema
- Example (from schema)
Schema
status booleanrequired
Status of API.
result stringrequired
Possible values: [READY
,PENDING
,COMPLETED
,FAILED
]
{
"status": true,
"result": "PENDING"
}
Loading...