v1
latestOpenAPI 3.0.02026-07-17243469.7 KBRoutes
get/v2/route/build-next-tx
Query parameters
activeRouteIdstring required
Id of Active Route.
Headers
API-KEYstring
Response
Get next tx details of an active route
Example response
{
"status": true,
"result": {
"userTxType": "dex-swap",
"txTarget": "0x3e8cB4bd04d81498aB4b94a392c334F5328b237b",
"txData": "0xaajlafnalfnal",
"txType": "eth_sendTransaction",
"activeRouteId": 420,
"value": "10000000000000000",
"userTxIndex": 2,
"totalUserTx": 2,
"approvalData": {
"minimumApprovalAmount": "10000000000000000",
"approvalTokenAddress": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"allowanceTarget": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"owner": "0x3e8cB4bd04d81498aB4b94a392c334F5328b237b"
}
}
}