Skip to main content
POST
/
v1
/
trpc
/
v2.operations.get
curl --request POST \
  --url 'https://api.glider.fi/v1/trpc/v2.operations.get' \
  --header 'Content-Type: application/json' \
  --data '{
    "input": {
      "operationId": "op_123"
    }
  }'
{
  "result": {
    "data": {
      "operationId": "op_123",
      "state": "completed",
      "result": {
        "executionKey": "rebalance.lifi-quote.execute:portfolio-123",
        "status": "completed",
        "steps": [
          {
            "stepIndex": 0,
            "chainId": "8453",
            "userOpHash": "0xabc...",
            "recovered": false,
            "receipt": {
              "userOpHash": "0xabc...",
              "success": true,
              "receipt": {
                "transactionHash": "0xdef..."
              }
            }
          }
        ],
        "strategyInstanceId": "portfolio-123",
        "txHashes": ["0xdef..."]
      }
    }
  }
}
Fetches status for a previously submitted execute LiFi quote operation. When the operation completes, the response includes the receipts returned by the engine.
This tRPC endpoint requires an authenticated wallet session (SIWE).
curl --request POST \
  --url 'https://api.glider.fi/v1/trpc/v2.operations.get' \
  --header 'Content-Type: application/json' \
  --data '{
    "input": {
      "operationId": "op_123"
    }
  }'
{
  "result": {
    "data": {
      "operationId": "op_123",
      "state": "completed",
      "result": {
        "executionKey": "rebalance.lifi-quote.execute:portfolio-123",
        "status": "completed",
        "steps": [
          {
            "stepIndex": 0,
            "chainId": "8453",
            "userOpHash": "0xabc...",
            "recovered": false,
            "receipt": {
              "userOpHash": "0xabc...",
              "success": true,
              "receipt": {
                "transactionHash": "0xdef..."
              }
            }
          }
        ],
        "strategyInstanceId": "portfolio-123",
        "txHashes": ["0xdef..."]
      }
    }
  }
}