[FEATURE] websocket tool - gateway_balances method

This commit is contained in:
mDuo13
2015-07-06 19:39:58 -07:00
parent 10db16ec0f
commit f293c72081
2 changed files with 14 additions and 3 deletions

View File

@@ -221,12 +221,22 @@ var urlParams;
Request('account_currencies', { Request('account_currencies', {
account: sample_address, account: sample_address,
strict: true, strict: true,
ledger_index: "validated", ledger_index: "validated",
account_index: 0, account_index: 0,
_description: 'Returns a list of currencies the account can send or receive.', _description: 'Returns a list of currencies the account can send or receive.',
_link: 'rippled-apis.html#account-currencies' _link: 'rippled-apis.html#account-currencies'
}); });
Request('gateway_balances', {
account: sample_address,
strict: true,
hotwallet: [],
ledger_index: "validated",
account_index: 0,
_description: 'Returns a list of currencies the account can send or receive.',
_link: 'rippled-apis.html#gateway-balances'
});
/* ---- ---- */ /* ---- ---- */

View File

@@ -108,6 +108,7 @@
<li><a href='#account_offers'>account_offers</a></li> <li><a href='#account_offers'>account_offers</a></li>
<li><a href='#account_tx'>account_tx</a></li> <li><a href='#account_tx'>account_tx</a></li>
<li><a href='#account_currencies'>account_currencies</a></li> <li><a href='#account_currencies'>account_currencies</a></li>
<li><a href='#gateway_balances'>gateway_balances</a></li>
<br/> <br/>
<li><a href='#transaction_entry'>transaction_entry</a></li> <li><a href='#transaction_entry'>transaction_entry</a></li>
<li><a href='#tx'>tx</a></li> <li><a href='#tx'>tx</a></li>