Skip to main content
POST
https://api.glider.fi
/
v1
/
trpc
/
executeLifiQuote.execute
curl --request POST \
  --url 'https://api.glider.fi/v1/trpc/executeLifiQuote.execute' \
  --header 'Content-Type: application/json' \
  --data '{
    "input": {
      "strategyInstanceId": "portfolio-123",
      "chainId": "8453",
      "route": {
        "id": "lifi-route-id",
        "fromChainId": 8453,
        "toChainId": 8453,
        "steps": [
          {
            "id": "step-0",
            "action": {
              "fromChainId": 8453,
              "toChainId": 8453
            }
          }
        ]
      },
      "requestId": "optional-request-id"
    }
  }'
{
  "result": {
    "data": {
      "runId": "rebalance.lifi-quote.execute:portfolio-123",
      "status": "pending"
    }
  }
}
Executes a LiFi route supplied by the client. The route must target the portfolio vault address (or the portfolio owner address) and only reference chains where the portfolio has vaults with active session keys.
This tRPC endpoint requires an authenticated wallet session (SIWE).
curl --request POST \
  --url 'https://api.glider.fi/v1/trpc/executeLifiQuote.execute' \
  --header 'Content-Type: application/json' \
  --data '{
    "input": {
      "strategyInstanceId": "portfolio-123",
      "chainId": "8453",
      "route": {
        "id": "lifi-route-id",
        "fromChainId": 8453,
        "toChainId": 8453,
        "steps": [
          {
            "id": "step-0",
            "action": {
              "fromChainId": 8453,
              "toChainId": 8453
            }
          }
        ]
      },
      "requestId": "optional-request-id"
    }
  }'
{
  "result": {
    "data": {
      "runId": "rebalance.lifi-quote.execute:portfolio-123",
      "status": "pending"
    }
  }
}