From 96e126e7e05f25c821153a0a9c0ef2ed6b763149 Mon Sep 17 00:00:00 2001 From: rmurphy23 Date: Mon, 27 Jul 2020 13:20:37 -0700 Subject: [PATCH] Changes account example to account that has a non-empty list of offers for account_offers.md --- .../account-methods/account_offers.md | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.md b/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.md index d69fa7bede..308fb452a3 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.md @@ -36,7 +36,7 @@ An example of the request format: ```sh #Syntax: account_offers account [ledger_index] [strict] -rippled account_offers r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 current strict +rippled account_offers rpP2JgiMyTF5jR5hLG3xHCPi1knBb1v9cM current strict ``` @@ -157,9 +157,21 @@ An example of a successful response: ```json { "result" : { - "account" : "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", - "ledger_current_index" : 56843824, - "offers" : [], + "account" : "rpP2JgiMyTF5jR5hLG3xHCPi1knBb1v9cM", + "ledger_current_index" : 57110969, + "offers" : [ + { + "flags" : 0, + "quality" : "1499850014.892974", + "seq" : 7916201, + "taker_gets" : { + "currency" : "BCH", + "issuer" : "rcyS4CeCZVYvTiKcxj6Sx32ibKwcDHLds", + "value" : "0.5268598580881351" + }, + "taker_pays" : "790210766" + } + ], "status" : "success", "validated" : false }