Files
xrpl-dev-portal/assets/js/apitool-methods-ws.js

25 lines
775 B
JavaScript

Request("ACCOUNT METHODS");
Request('account_channels', {
description: "Returns information about an account's <a href='payment-channels.html'>payment channels</a>.",
link: "account_channels.html",
body: {
"id": 1,
"command": "account_channels",
"account": "rN7n7otQDd6FczFgLdSqtcsAUxDkw6fzRH",
"destination_account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
"ledger_index": "validated"
}
})
Request('account_currencies', {
description: "Retrieves a list of currencies that an account can send or receive, based on its trust lines.",
link: "account_currencies.html",
body: {
"command": "account_currencies",
"account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
"strict": true,
"ledger_index": "validated"
}
})