v1

latestOpenAPI 3.0.02026-07-17243469.7 KB
Routes

get/v2/route/active-routes

Query parameters

activeRouteIdstring required

Id of the Active Route.

Headers

API-KEYstring

Response

Get active route details using active route id

successboolean required

Status of API response.

Example response

{
  "success": true,
  "result": {
    "activeRouteId": 420,
    "userAddress": "0x3e8cB4bd04d81498aB4b94a392c334F5328b237b",
    "totalUserTx": 3,
    "fromChainId": 137,
    "toChainId": 56,
    "fromAssetAddress": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
    "toAssetAddress": "0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3",
    "fromAmount": "100000000",
    "toAmount": "100000000",
    "routeStatus": "PENDING",
    "currentUserTxIndex": 1642009930239,
    "fromAsset": {
      "name": "USD Coin",
      "address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
      "icon": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
      "decimals": 6,
      "symbol": "USDC"
    },
    "toAsset": {
      "name": "USD Coin",
      "address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
      "icon": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
      "decimals": 6,
      "symbol": "USDC"
    }
  }
}