Optionaloptions: { networkType?: "mainnet" | "testnet" | "regtest" }Analyze potential compression savings for witness data Can achieve 2-8% savings on data-heavy stamp operations
Calculate batch transaction fee with amortization using normalized satsPerVB Achieves 5-15% savings through intelligent batching
Calculate optimal dust threshold based on network conditions using normalized satsPerVB Dynamically adjusts to current fee environment
OptionalfeeRate: numberCalculate RBF (Replace By Fee) fee
Calculate RBF fee bump with stamp-specific considerations using normalized satsPerVB Optimizes fee bumps for stamp transactions
OptionalfeeRates: { high: number; low: number; medium: number; urgent?: number }Calculate accurate transaction size with witness data
Estimate fee for transaction with enhanced calculation
Get dynamic dust thresholds based on fee rates
OptionalfeeRate: numberGet current fee rates with historical context
Calculate input type specific sizes
OptionalwitnessScript: Buffer<ArrayBufferLike>Get normalized fee rates for all priority levels
Get fee estimation for specific transaction parameters
Calculate output type specific sizes
OptionalscriptSize: numberValidate if output value is above dust threshold
OptionalfeeRate: numberPredict fees for multi-step stamp operations Provides accurate cost estimates for complex workflows
Suggest optimizations for given transaction Provides actionable recommendations for cost reduction
Test connection to current fee provider
Advanced fee calculator with stamp-specific optimizations