npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

blockradar-sdk

v1.0.4

Published

BlockRadar Node.js SDK written in TypeScript

Readme

Blockradar Node.js SDK 🚀

GitHub stars npm total downloads npm version License

A powerful SDK to interact with Blockradar APIs seamlessly.

🌟 Features

  • Wallet Management: Manage, and interact with wallets.
  • Asset Management: Retrieves the assets associated with a specific wallet, add assets to wallet and more.
  • Address Operations: Retrieve addresses associated with a specific wallet, withdrawal and more.
  • Transactions Management: Fetch transactions, initiate a sweep of assets and more.
  • AML(Anti Money Laundering) Module: Perform an anti-money laundering (AML) lookup for a given address and blockchain.
  • Auto Settlements Module: Add a beneficiary to a specific wallet, fetch beneficiaries, and more.
  • Asset Recovery Module: Calculates and returns the estimated network fee and more.
  • Payment Links Module: create a payment link, retrieve links, and more.
  • Custom Smart Contracts: Interacting with smart contracts on the blockchain.
  • Miscellaneous Module: Additional operations & utilities.
  • Easy-to-Use API: Designed for Node.js developers.
  • Type Safety: Fully typed methods for params & responses.

📦 Installation

npm install blockradar-sdk

🚀 Quick Start

const BlockRadar = require("blockradar-sdk");

// 👇🏽 for ES6 & TS

import BlockRadar from "blockradar-sdk";

// ----- Initialize the SDK ----------

const sdk = new BlockRadar(process.env.API_KEY, "<wallet_id>");

async function main() {
  const wallet = await sdk.wallet.retrieve();
  console.log("Wallet:", wallet);

  const balance = await sdk.address.getBalance({ addressId: "<addressid>" });
  console.log("Balance:", balance);
}

main();

📂 Modules Overview

1️⃣ Wallet Module

Retrieve wallet information

(async () => {
  const wallet = await sdk.wallet.retrieve();
  console.log("Wallet: ", wallet);
})();

Update wallet information

(async () => {
  const wallet = await sdk.wallet.updateWallet({ name: "", description: "" });
  console.log("Update wallet: ", wallet);
})();

2️⃣ Asset Module

Retrieve assets associated with a specific wallet

(async () => {
  const assets = await sdk.asset.getWalletAssets();
  console.log("Wallet assets: ", assets);
})();

📌 Development Progress

| Features & Tasks | Status | Notes | | ---------------------------------- | -------------- | -------------------------------------- | | BlockRadar API implementation | ✅ Done | Supports creating and managing wallets, address operations, payment links, etc | | README Docs | 🔄 In Progress | SDK usage docs | | Tests | 🔄 In Progress | Tests for each module | | Types & interfaces | 🔄 In Progress | Types & interfaces for all function params & responses | | Github workflow for npm package CD | ❌ Not Done | Planned for future updates |


👨‍💻 Contributing – We Welcome PRs! 🤝

We love contributions! If you have suggestions, bug reports, or improvements, feel free to open an issue or submit a pull request (PR).

📌 How to Contribute

Follow these simple steps to fork, edit, and submit a PR:

1️⃣ Fork the Repository

Click the "Fork" button at the top right of the repo to create your own copy.

2️⃣ Clone Your Fork

Once forked, clone the repo to your local machine:

git clone https://github.com/your-username/repo-name.git
cd repo-name

3️⃣ Create a New Branch

Before making changes, create a new branch:

git checkout -b feature-or-bugfix-name

4️⃣ Make Your Changes & Commit

Edit the code, then commit your changes:

git add .
git commit -m "feat: Add awesome new feature"

5️⃣ Push to Your Fork

git push origin feature-or-bugfix-name

6️⃣ Open a Pull Request (PR)

  • Go to the original repo on GitHub.
  • Click "Compare & pull request".
  • Add a clear title and description of your changes.
  • Click "Create pull request"! 🎉

✅ Contribution Guidelines

✔ Keep PRs focused on one feature or fix.

✔ Follow the project’s code style & linting rules.

✔ Link any related issues in the PR description.

✔ Be respectful & collaborative in discussions.


📜 License

MIT License