mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-07 05:15:48 +00:00
Merge pull request #2261 from arihantkothari/fix_amm_info
Fix amm_info documentation page
This commit is contained in:
@@ -83,7 +83,7 @@ _([AMM amendment][] :not_enabled:が必要です。)_
|
|||||||
{
|
{
|
||||||
"result": {
|
"result": {
|
||||||
"amm": {
|
"amm": {
|
||||||
"amm_account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
"account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
||||||
"amount": "296890496",
|
"amount": "296890496",
|
||||||
"amount2": {
|
"amount2": {
|
||||||
"currency": "TST",
|
"currency": "TST",
|
||||||
@@ -140,7 +140,7 @@ _([AMM amendment][] :not_enabled:が必要です。)_
|
|||||||
{
|
{
|
||||||
"result": {
|
"result": {
|
||||||
"amm": {
|
"amm": {
|
||||||
"amm_account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
"account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
||||||
"amount": "296890496",
|
"amount": "296890496",
|
||||||
"amount2": {
|
"amount2": {
|
||||||
"currency": "TST",
|
"currency": "TST",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
html: amm_info.html
|
html: amm_info.html
|
||||||
parent: path-and-order-book-methods.html
|
parent: path-and-order-book-methods.html
|
||||||
blurb: Get info about an Automted Market Maker (AMM) instance.
|
blurb: Get info about an Automated Market Maker (AMM) instance.
|
||||||
status: not_enabled
|
status: not_enabled
|
||||||
labels:
|
labels:
|
||||||
- Decentralized Exchange
|
- Decentralized Exchange
|
||||||
@@ -83,7 +83,7 @@ An example of a successful response:
|
|||||||
{
|
{
|
||||||
"result": {
|
"result": {
|
||||||
"amm": {
|
"amm": {
|
||||||
"amm_account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
"account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
||||||
"amount": "296890496",
|
"amount": "296890496",
|
||||||
"amount2": {
|
"amount2": {
|
||||||
"currency": "TST",
|
"currency": "TST",
|
||||||
@@ -140,7 +140,7 @@ An example of a successful response:
|
|||||||
{
|
{
|
||||||
"result": {
|
"result": {
|
||||||
"amm": {
|
"amm": {
|
||||||
"amm_account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
"account": "rp9E3FN3gNmvePGhYnf414T2TkUuoxu8vM",
|
||||||
"amount": "296890496",
|
"amount": "296890496",
|
||||||
"amount2": {
|
"amount2": {
|
||||||
"currency": "TST",
|
"currency": "TST",
|
||||||
@@ -207,7 +207,7 @@ The `amm` field is an object describing the current status of an Automated Marke
|
|||||||
|
|
||||||
| Field | Type | Description |
|
| Field | Type | Description |
|
||||||
|-----------------|---------------------|-------------|
|
|-----------------|---------------------|-------------|
|
||||||
| `amm_account` | String | The [Address][] of the AMM Account. |
|
| `account` | String | The [Address][] of the AMM Account. |
|
||||||
| `amount` | [Currency Amount][] | The total amount of one asset in the AMM's pool. (Note: This could be `asset` _or_ `asset2` from the request.) |
|
| `amount` | [Currency Amount][] | The total amount of one asset in the AMM's pool. (Note: This could be `asset` _or_ `asset2` from the request.) |
|
||||||
| `amount2` | [Currency Amount][] | The total amount of the other asset in the AMM's pool. (Note: This could be `asset` _or_ `asset2` from the request.) |
|
| `amount2` | [Currency Amount][] | The total amount of the other asset in the AMM's pool. (Note: This could be `asset` _or_ `asset2` from the request.) |
|
||||||
| `asset_frozen` | Boolean | _(Omitted for XRP)_ If `true`, the `amount` currency is currently [frozen](freezes.html). |
|
| `asset_frozen` | Boolean | _(Omitted for XRP)_ If `true`, the `amount` currency is currently [frozen](freezes.html). |
|
||||||
|
|||||||
Reference in New Issue
Block a user