> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.to/llms.txt
> Use this file to discover all available pages before exploring further.

# Display migrated pools

> Show a migrated pool's launchpad name and icon while preserving its current pool identity.

For a migrated pool, display `migrated_from_protocol` when it is available. For example, a pool with `protocol: "RaydiumCPMM"`, `is_migration_pool: true`, and `migrated_from_protocol: "StonkFun"` should show the **StonkFun** name and icon.

Apply this rule to Pulse, Trending, search results, token details, and liquidity pool lists. The protocol values are members of the [Protocol enum](https://docs.struct.to/api-reference/discovery/enums.md).

## Pool fields

| HTTP and Address update field | Pulse and Trending row key | Meaning |
| - | - | - |
| `protocol` | `pr` | The current pool's protocol, such as `RaydiumCPMM`. |
| `is_migration_pool` | `im` | Whether this pool is a migration destination. |
| `migrated_from_protocol` | `mp` | The protocol of the bonding pool linked to this destination, such as `StonkFun`. May be absent. |
| `migrated_from_pool_id` | `mi` | The linked bonding pool's ID. May be absent. |
| `pool_id` | `p` | The current pool's ID. Use it for pool links, metrics, charts, and swaps. |

Read the origin from each returned pool. Two pools for the same token can have different origins, including on EVM chains. Do not copy an origin between pools or guess it from the token address or current exchange.

## Address lookups

[Token by address](https://docs.struct.to/api-reference/token/token-by-address.md) and [tokens by address (batch)](https://docs.struct.to/api-reference/token/tokens-by-address-batch.md) accept an optional `pool_id`. A requested bonding pool that has migrated automatically resolves to its linked destination pool. Use the returned pool ID for charts, trades, and subsequent pool operations. The destination's `migrated_from_pool_id` identifies the bonding pool that was requested.

Without a pool hint, the lookup selects the token's highest-liquidity pool. A token can have several independent launches, so preserve each result's own migration fields.

## HTTP snapshots and Address updates

Pulse, Trending, search, token address, and liquidity pool responses use the full field names. Address WebSocket updates use those names too.

```javascript theme={null}
function displayProtocol(pool) {
  return pool.is_migration_pool === true && pool.migrated_from_protocol
    ? pool.migrated_from_protocol
    : pool.protocol;
}

const protocolForLabelAndIcon = displayProtocol(pool);
```

If the origin is missing, null, or empty, fall back to `protocol`. When `is_migration_pool` is false or absent, display `protocol` even if an origin value is present. If neither protocol is available, show an unknown-protocol placeholder.

The search request's `is_migrated` option is a filter. Search response rows use `is_migration_pool` to report migration status.

## Pulse and Trending WebSocket rows

Apply the same rule to each saved row after processing its updates:

```javascript theme={null}
function displayRowProtocol(row) {
  return row.im === true && row.mp ? row.mp : row.pr;
}

const protocolForLabelAndIcon = displayRowProtocol(row);
```

Refresh the name and icon whenever `im`, `mp`, or `pr` changes, even when the pool's price and other metrics stay the same. Full row replacements can omit a previously present origin; apply replacements and field removals before calculating the display value.

## Preserve the current pool

Keep `protocol` and `pool_id` unchanged in the saved response. The display value controls names and icons; pool links, charts, and swaps continue to use the current pool. For the StonkFun example, the label is StonkFun and the current pool protocol remains RaydiumCPMM.

Use `is_migration_pool` for migration status. Pulse Migrated and Trending's `sortBy: "migrated_at"` order by the earliest known migration timestamp, independently of pool creation. This date can move earlier, but never later.

See the complete [Pulse snapshot](https://docs.struct.to/api-reference/pulse/pulse-snapshot.md) and [Trending snapshot](https://docs.struct.to/api-reference/trending/trending-snapshot.md).

## Pool and token timestamps

Pool responses distinguish three timestamps:

| Long field | Short field | Meaning |
| - | - | - |
| `created_at` | `c` | Creation of the pool identified by `pool_id`. |
| `token_created_at` | `tca` | Creation of the token identified by `address`. |
| `migrated_at` | `ma` | Earliest known migration time for the pool. |

These fields use **Unix milliseconds**. Unknown dates are omitted. Token creation is never inferred from a pool creation or migration. The same token can have multiple pools with different creation and migration times.

`token_created_at` replaces the duplicate `pool_created_at` field. Clients using short fields should read `tca` for token creation and `c` for pool creation; the old root `pc` field is removed. Nested `pc` fields used for price change or protocol configuration keep their existing meaning.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.