Endpoint returning simple data about blocks in a range of block numbers

"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 getBlocks = async function() {
    const resp = await shards.blocks.getBlocksInBlockRange(14159230, 14159264);
    console.log(resp)
}

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