stacks-monitoring-sdk
v1.0.0
Published
Advanced monitoring and automation SDK for Stacks L2 interactions
Maintainers
Readme
@richiey1/stacks-monitoring-sdk
Advanced monitoring and automation SDK for Stacks L2 interactions. This package provides robust logic for nonce tracking, transaction monitoring, and automated fee adjustment.
Features
- Nonce Tracking: Accurate nonce management for high-volume accounts.
- Transaction Monitoring: Track the status of transactions from pending to confirmed/failed.
- Dynamic Fee Estimation: Estimate optimal fees based on network congestion.
Installation
npm install @richiey1/stacks-monitoring-sdkUsage
import {
trackNonce,
monitorTransaction,
estimateOptimalFee,
} from "@richiey1/stacks-monitoring-sdk";
// Track nonce
const nonce = await trackNonce("SP...");
// Monitor transaction
const status = await monitorTransaction("0x...");
// Estimate fee
const fee = await estimateOptimalFee();