Read pool positions
get_pool_positionsEverything an account has in pools, as the console's "Your pool positions" section shows it: every native pool unit it holds (only when the unit and its pool name each other on the ledger) with what the units redeem for now, the share of the pool, which DEX lists the pool and the APR it reports, and how one unit's value changed over 7 and 30 days (geometric mean of its tokens, read from the ledger as it was then); and every Ociswap Precision position (concentrated-liquidity NFTs, only collections minted by a real PrecisionPool that names them) with the fees it can claim now and what withdrawing returns, both simulated with the real transactions, and whether each position is in range (out of range — price below or above its tick bounds — it earns no fees until the price comes back; withdrawing and adding with a new range is the fix). Use build_dex_manifest to act on them, build_pool_manifest "redeem" for native units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account address (account_…) | |
| network | Yes | Radix network: "mainnet" (production) or "stokenet" (testnet) | mainnet |