# Pool Module

\
🔄 Method Migration<br>

```diff
- sdk.Pool.getSuiTransactionResponse(previousTx)
+ sdk.FullClient.getSuiTransactionResponse(previousTx)

- sdk.Pool.getPoolsWithPage([], 'all', true)
+ sdk.Pool.getPoolsWithPage('all', true)
+ sdk.Pool.getAssignPools([])

export type Pool = {
- poolAddress: string
+ id: string
- coinTypeA: string
+ coin_type_a: string
- coinTypeB: string
+ coin_type_b: string
...
}
```

\
❌ Removed Methods

| Removed                            | Replacement               |
| ---------------------------------- | ------------------------- |
| ~~`getPoolImmutables`~~            | getPoolImmutablesWithPage |
| ~~`getPools`~~                     | getPoolsWithPage          |
| ~~`creatPoolsTransactionPayload`~~ | createPoolPayload         |
| ~~`creatPoolTransactionPayload`~~  | createPoolPayload         |

\
✏️ Renamed Methods

| Old Method                      | New Method           |
| ------------------------------- | -------------------- |
| createPoolTransactionPayload    | createPoolPayload    |
| createPoolTransactionRowPayload | createPoolRowPayload |
