
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
wallet-tx-scanner
Advanced tools
Helps to quickly retrieve transactions from the blockchain knowing only the wallet address
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.
To install WalletScanner, use npm:
npm install axios wallet-scanner
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.
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.
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
This project is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
Helps to quickly retrieve transactions from the blockchain knowing only the wallet address
The npm package wallet-tx-scanner receives a total of 0 weekly downloads. As such, wallet-tx-scanner popularity was classified as not popular.
We found that wallet-tx-scanner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.