Jump to content

Guest1

Silver Member
  • Content Count

    714
  • Joined

  • Last visited

  • Days Won

    3

Guest1 last won the day on October 29 2018

Guest1 had the most liked content!

4 Followers

About Guest1

  • Rank
    Advanced

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have the following javascript code to obtain wallet XRP balance. I would like to filter this balance by only 1 destination tag so that I get the wallet balance just for that specific destination tag. Does anyone know how to do this in javascript by modifying the code below? ------------------------------------ const RippleAPI = require('ripple-lib').RippleAPI; const api = new RippleAPI({ server: 'wss://s.altnet.rippletest.net:51233' }); const myAddress1 = <XRP wallet address>; api.connect().then(() => { console.log('getting account info for', myAddress1); return api.getAccountInfo(myAddress1); }) .then(info => { console.log(info); console.log('getAccountInfo done'); }) .then(() => { return api.disconnect(); }) .then(() => { console.log('done and disconnected.'); }) .catch(console.error);
×
×
  • Create New...