Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Get Account Transactions with ripple-lib

node v8.17.0
version: 2.0.0
endpointsharetweet
const RippleAPI = require('ripple-lib').RippleAPI const api = new RippleAPI({ server: 'wss://rippled.xrptipbot.com' }) api.connect().then(() => { api.getServerInfo().then(server => { console.log('Connected', server) api.getTransactions('rf8kg7r5Fc8cCszGdD2jeUZt2FrgQd76BS', { limit: 10, earliestFirst: true }).then(transactions => { console.log(transactions) api.disconnect() }).catch(console.error) }) }).catch(console.error)
Loading…

no comments

    sign in to comment