API Reference

Returns a list of pools, with basic blockchain info, for matching queries.

📘

You May Want To Know

Not exactly what you were looking for? The /projects endpoints include more data for pools such as market statistics. Go to Projects

"use strict";
const Shards = require("web3-shards");

const shards = Shards.API.Ethereum.V1;
shards.configure({
    apiKey: "YOUR_API_KEY", // Join the discord to get your api key. https://discord.com/invite/kJd8W7Nh7e
    maxRequestsPerSecond:5, // client-side limiter to prevent accidental burning
    logger: 1               // 0=none,1=errors,2=verbose
});

const getPool = async function() {
    const resp = await shards.pools.searchPool("shiba");
    console.log(resp)
}

getPool();
Language
Click Try It! to start a request and see the response here!