---
title: "Get Pol Migration"
method: GET
path: "/v1/api/pol/migrations/{chain_id}/{account_address}"
tags: ["pol"]
---

# Get Pol Migration

`GET /v1/api/pol/migrations/{chain_id}/{account_address}`

## Request

- Base URL: `https://api.arcadia.finance` (the document declares no server; this is the origin it was published from)
- URL: `https://api.arcadia.finance/v1/api/pol/migrations/{chain_id}/{account_address}`
- Auth: none declared

On-demand migration bundle for one Arcadia account: the POL config plus the
ready-to-sign Slipstream V1/V2 → V3 migration flashAction calldata.

The FE calls this only when the user opens a "Migrate to Slipstream V3" card
(discovered via the cheap `flow_id` field on `/pol/configs/by-wallet`). It
runs the config's bound flow — the only place a flow executes (on-chain reads
+ Tenderly sim) — so plain POL customers never touch this path.

404 when the account has no pending migration; 400 when the config is
misauthored (unknown `flow_id` or `flow_params` mismatch).

## Path parameters

- `chain_id` integer, required
- `account_address` union, required
  - string
  - string, binary

## Response `200`

Successful Response

- POLMigrationBundle: Combined payload for the on-demand migration endpoint: the POL config the FE already understands, plus the ready-to-sign migration flashAction calldata produced by running the config's bound flow against `account_address`. The FE fires `migration.calldata` as step 1 (the V1/V2→V3 pool move) and builds the `setAssetManagers` call from `config` as step 2.
  - `config` POLConfigResponse, required
    - `chain_id` integer, required
    - `symbol` string, nullable
    - `name` string, required
    - `token_address` string, required
    - `config` object, required
    - `whitelist` string[], required
    - `target_accounts` string[], required
    - `sort_order` integer, required
    - `flow_id` string, nullable
  - `account_address` string, required
  - `flow_id` string, required
  - `migration` object, required

## Other responses

- `400`: Bad Request
- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/arcadia/apis/arcadia-finance-api.md) · [All operations](https://skmtc.dev/arcadia/apis/arcadia-finance-api/llms.txt) · [OpenAPI document](https://skmtc.dev/arcadia/apis/arcadia-finance-api/revisions/3866e1abd35b?raw)
