get https://api.web3shards.io/v1/coinranker/list/trending
Displays up to the top 15 tokens, pre-sorted for your convenience, calculated by CoinRanker
"use strict";
const Shards = require("web3-shards");
const shards = Shards.API.Ethereum.V1;
shards.configure({
apiKey: "YOUR_API_KEY", // Sign up at web3shards.io/console
maxRequestsPerSecond:5, // client-side limiter to prevent accidental burning
logger: 1 // 0=none,1=errors,2=verbose
});
const getList = async function() {
const resp = await shards.coinranker.getTrendingList();
console.log(resp)
}
getList();