From 8ebcbdc3c251a0b41750bdd2224c423c8a70d5b0 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Mon, 18 May 2015 15:06:43 -0700 Subject: [PATCH] [FEATURE] account_currencies in websocket tool --- js/apitool-websocket.js | 9 +++++++++ ripple-api-tool.html | 1 + tool/template-ripple-api-tool.html | 1 + 3 files changed, 11 insertions(+) diff --git a/js/apitool-websocket.js b/js/apitool-websocket.js index 4483d4a67c..2ff32fdebe 100644 --- a/js/apitool-websocket.js +++ b/js/apitool-websocket.js @@ -192,6 +192,15 @@ _description: 'Returns a list of transactions that applied to a specified account.', _link: 'rippled-apis.html#account-tx' }); + + Request('account_currencies', { + account: sample_address, + strict: true, + ledger_index: "validated", + account_index: 0, + _description: 'Returns a list of currencies the account can send or receive.', + _link: 'rippled-apis.html#account-currencies' + }); /* ---- ---- */ diff --git a/ripple-api-tool.html b/ripple-api-tool.html index fec8beff17..ebd7726883 100644 --- a/ripple-api-tool.html +++ b/ripple-api-tool.html @@ -106,6 +106,7 @@
  • account_lines
  • account_offers
  • account_tx
  • +
  • account_currencies

  • transaction_entry
  • tx
  • diff --git a/tool/template-ripple-api-tool.html b/tool/template-ripple-api-tool.html index c8d4641a96..f99bd8c51f 100644 --- a/tool/template-ripple-api-tool.html +++ b/tool/template-ripple-api-tool.html @@ -21,6 +21,7 @@
  • account_lines
  • account_offers
  • account_tx
  • +
  • account_currencies

  • transaction_entry
  • tx