mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
- Switch all code samples to server_state (integer drops) - Add drops_to_xrp conversion for display in JS, Python, and Go - Add Account Management group to sidebar under Best Practices
9 lines
220 B
Markdown
9 lines
220 B
Markdown
# Calculate Reserves (JavaScript)
|
|
|
|
This code sample uses [xrpl.js](https://js.xrpl.org/) to look up and calculate an XRP Ledger account's reserve requirements.
|
|
|
|
## Usage
|
|
```bash
|
|
npm install
|
|
node calculate_reserves.js
|
|
``` |