ActiveRoutesController_nextTx
GET/v2/route/build-next-tx
ActiveRoutesController_nextTx
Request
Query Parameters
Id of Active Route.
This will override the existing recipient if specified for the tx. !!If overridden the recipient will be change in the Database too.
bridgeSlippage between 0 - 100. Overrides the default bridge slippage in the route. NOTE - Slippage is not present for all bridges.
swapSlippage between 0 - 100. Overrides the default swap slippage in the route.
Header Parameters
Responses
- 200
Get next tx details of an active route
- application/json
- Schema
- Example (from schema)
Schema
Status of API.
true
result
object
required
Type of user transaction.
Possible values: [approve
, fund-movr
, claim
, dex-swap
, sign
]
dex-swap
Address to which transaction has to be sent.
0x3e8cB4bd04d81498aB4b94a392c334F5328b237b
Id of chain where transaction has to be sent.
Possible values: [MAINNET_CHAIN_ID
, OPTIMISM_CHAIN_ID
, BSC_CHAIN_ID
, XDAI_CHAIN_ID
, POLYGON_CHAIN_ID
, FANTOM_CHAIN_ID
, ZKSYNC_ERA_CHAIN_ID
, POLYGON_ZKEVM_CHAIN_ID
, MANTLE_CHAIN_ID
, BASE_CHAIN_ID
, MODE_CHAIN_ID
, ARBITRUM_CHAIN_ID
, AVAX_CHAIN_ID
, LINEA_CHAIN_ID
, BLAST_CHAIN_ID
, SCROLL_CHAIN_ID
, ZORA_CHAIN_ID
, AURORA_CHAIN_ID
]
137
Calldata for transaction.
0xaajlafnalfnal
Type of transaction.
Possible values: [eth_sendTransaction
, eth_signMessage
]
eth_sendTransaction
Id of Active Route.
420
Native token amount to be sent with transaction.
10000000000000000
Index of transaction in Active Route. Index of the object in the userTxs array.
2
Total number of transactions in Active Route.
2
approvalData
object
required
Minimum amount of approval needed.
10000000000000000
Address of token for which approval is required.
0x2791bca1f2de4661ed88a30c99a7a9449aa84174
Contract address that needs approval.
0x2791bca1f2de4661ed88a30c99a7a9449aa84174
Address of owner.
0x3e8cB4bd04d81498aB4b94a392c334F5328b237b
{
"status": true,
"result": {
"userTxType": "dex-swap",
"txTarget": "0x3e8cB4bd04d81498aB4b94a392c334F5328b237b",
"chainId": 137,
"txData": "0xaajlafnalfnal",
"txType": "eth_sendTransaction",
"activeRouteId": 420,
"value": "10000000000000000",
"userTxIndex": 2,
"totalUserTx": 2,
"approvalData": {
"minimumApprovalAmount": "10000000000000000",
"approvalTokenAddress": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"allowanceTarget": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"owner": "0x3e8cB4bd04d81498aB4b94a392c334F5328b237b"
}
}
}