mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
amm_info - fix asset/asset2 request parameter type
This commit is contained in:
@@ -66,8 +66,8 @@ The request includes the following parameters:
|
||||
|:--------------|:-----------------|:----------|-------------|
|
||||
| `account` | String - [Address][] | No | Show only LP Tokens held by this liquidity provider. |
|
||||
| `amm_account` | String - [Address][] | No | The address of the AMM's special AccountRoot. (This is the `issuer` of the AMM's LP Tokens.) |
|
||||
| `asset` | Object or String | No | One of the assets of the AMM to look up, as an object with `currency` and `issuer` fields (omit `issuer` for XRP), like [currency amounts][Currency Amount]. |
|
||||
| `asset2` | Object or String | No | The other of the assets of the AMM, as an object with `currency` and `issuer` fields (omit `issuer` for XRP), like [currency amounts][Currency Amount]. |
|
||||
| `asset` | Object | No | One of the assets of the AMM to look up, as an object with `currency` and `issuer` fields (omit `issuer` for XRP), like [currency amounts][Currency Amount]. |
|
||||
| `asset2` | Object | No | The other of the assets of the AMM, as an object with `currency` and `issuer` fields (omit `issuer` for XRP), like [currency amounts][Currency Amount]. |
|
||||
|
||||
You must specify _either_ `amm_account` or both `asset` and `asset2`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user