Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wallet-tx-scanner

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wallet-tx-scanner

Helps to quickly retrieve transactions from the blockchain knowing only the wallet address

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

WalletScanner

WalletScanner is a JavaScript library that allows you to retrieve transaction data for a given wallet address on various blockchain networks. It uses API keys to interact with the blockchain network APIs and provides a simple way to fetch transaction information.

Installation

To install WalletScanner, use npm:

npm install axios wallet-scanner

Usage

First, require the WalletScanner module and create an instance:

const WalletScanner = require('wallet-scanner');
const walletScanner = new WalletScanner();

Then, you can use the getTransactions method to fetch transactions for a specific wallet address and blockchain network:

const address = 'your_wallet_address';
const network = 'ethereum'; // or 'tron', 'polygon', 'bsc', 'optimism', 'arbitrum', etc.

const result = await walletScanner.getTransactions(address, network); console.log(result);

The method returns an object with properties success, message, and data. The success property indicates whether the request was successful or not. If success is true, the data property contains the result of the transaction list. If success is false, the message property contains an error message.

API Keys

Please note that this library requires API keys to access blockchain network APIs. You need to provide API keys for different blockchain networks by initializing the protectedKeys object inside the WalletScanner constructor.

Contributing

Contributions to the WalletScanner library are welcome. Feel free to submit issues and pull requests on the GitHub repository: https://github.com/your-username/wallet-scanner

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Keywords

FAQs

Package last updated on 04 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc