Skip to content

pxbee/tulip-data

Repository files navigation

tulip-data

This is a collection of utilities to query data of xdai and other networks

Supported Queries

The below all return a Promise that resolves with the requested results.

  1. tulipData.wallet.tokenBalances({user_address}) Gets token balances of all tokens listed on honeyswap.
  2. tulipData.wallet.poolBalances({user_address}) Gets lp balance and information of honeyswap lps.

Example

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))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published