This small node app fetches all transactions for an account and returns the results in CSV (when called from the command line) or as a parsed object (when used as a node module).
Uses xrplcluster.com full history nodes.
npm install
If you are new to anything code / nodejs related:
2:30
@ https://www.youtube.com/watch?v=9gVK6fp3UOonpm install
node index.js {account}
eg.
node index.js rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY
node index.js {account} > {somefile}
eg.
node index.js rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY > export.csv
Import app
and call as function.
Call: app(account, callback)
. See example use in index.js
Ready to use: dist/index.html
Get the browserified version from the dist
folder, and see run as module
.
Ready to use: https://cdn.jsdelivr.net/npm/xrpl-tx-export/dist/xrpl-tx-export.js
Sample: https://jsfiddle.net/WietseWind/vtL3msaw
Build for the browser using npm run build
if working from source.