Merge pull request #1704 from XRPLF/amm_api_updates

amm_info updates
This commit is contained in:
Rome Reginelli
2023-01-27 18:37:57 -08:00
committed by GitHub
10 changed files with 303 additions and 159 deletions

View File

@@ -197,6 +197,26 @@ Request('ledger_entry - AccountRoot', {
}
})
Request('ledger_entry - AMM', {
description: "Returns a single Automated Market Maker object in its raw ledger format.",
link: "ledger_entry.html#get-amm-object",
status: "not_enabled",
body: {
"id": "example_get_amm",
"command": "ledger_entry",
"amm": {
"asset": {
"currency": "XRP"
},
"asset2": {
"currency" : "TST",
"issuer" : "rP9jPyP5kyvFRb6ZiRghAGw5u8SGAmU4bd"
}
},
"ledger_index": "validated"
}
})
Request('ledger_entry - DirectoryNode', {
description: "Returns a directory object in its raw ledger format.",
link: "ledger_entry.html#get-directorynode-object",