AMM pool
get_ammAMM pool reserves and trading fee for an asset pair. When to use: To read AMM pool depth and fee for a pair. Prefer another tool: It does not estimate slippage or compare venues (use the slippage page for the CLOB vs AMM comparison); a pair without a pool returns 404. Example: get_amm {"a":"XRP","b":"USD.rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First asset: `XRP` (no issuer) or `CODE.issuer` with a valid classic-address issuer (e.g. `USD.rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh`) | |
| b | Yes | Second asset: `XRP` (no issuer) or `CODE.issuer` with a valid classic-address issuer (e.g. `USD.rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh`) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| asset_a | Yes | ||
| asset_b | Yes | ||
| reserve_a | Yes | Decimal string | |
| reserve_b | Yes | Decimal string | |
| trading_fee | Yes | Decimal string |