Skip to main content

ActiveRoutesController_getActiveRouteStatus

GET 

https://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​

Get status of an active route

Schema

    status booleanrequired

    Status of API.

    result stringrequired

    Possible values: [READY,PENDING,COMPLETED,FAILED]

Loading...