This is a collection of utilities to query data of xdai and other networks
The below all return a Promise that resolves with the requested results.
tulipData.wallet.tokenBalances({user_address})
Gets token balances of all tokens listed on honeyswap.tulipData.wallet.poolBalances({user_address})
Gets lp balance and information of honeyswap lps.
const tulipData = require('tulip-data'); // common js
// or
import tulipData from 'tulip-data'; // es modules
// query and log resolved results
tulipData.wallet.tokenBalances
.then(list => console.log(list))