mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
JS: Add account_info RPC method.
This commit is contained in:
@@ -747,6 +747,14 @@ Remote.prototype.request_transaction_entry = function (hash, current) {
|
|||||||
.tx_hash(hash);
|
.tx_hash(hash);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Remote.prototype.request_account_info = function (accountID) {
|
||||||
|
var request = new Request(this, 'account_info');
|
||||||
|
|
||||||
|
request.message.ident = UInt160.json_rewrite(accountID);
|
||||||
|
|
||||||
|
return request;
|
||||||
|
};
|
||||||
|
|
||||||
// --> account_index: sub_account index (optional)
|
// --> account_index: sub_account index (optional)
|
||||||
// --> current: true, for the current ledger.
|
// --> current: true, for the current ledger.
|
||||||
Remote.prototype.request_account_lines = function (accountID, account_index, current) {
|
Remote.prototype.request_account_lines = function (accountID, account_index, current) {
|
||||||
|
|||||||
Reference in New Issue
Block a user