This skill should be used when the user asks to "estimate transaction fee", "calculate BSV fee", "fee per byte", "transaction cost", or needs to estimate fees based on transaction size and current rates.
From bsv-skillsnpx claudepluginhub b-open-io/claude-plugins --plugin bsv-skillsThis skill is limited to using the following tools:
scripts/estimate.test.tsscripts/estimate.tsGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Estimate fees for BSV transactions based on size and fee rates.
# Estimate by size
bun run skills/estimate-transaction-fee/scripts/estimate.ts --size 226
# Estimate from raw tx hex
bun run skills/estimate-transaction-fee/scripts/estimate.ts --tx <hex>
# Estimate by inputs/outputs
bun run skills/estimate-transaction-fee/scripts/estimate.ts --inputs 2 --outputs 3
# Custom fee rate
bun run skills/estimate-transaction-fee/scripts/estimate.ts --size 226 --rate 2
# JSON output
bun run skills/estimate-transaction-fee/scripts/estimate.ts --size 226 --json
# Show help
bun run skills/estimate-transaction-fee/scripts/estimate.ts --help
P2PKH transaction size formula:
Example: 1 input + 2 outputs = 10 + 148 + 68 = 226 bytes
Default output:
Fee Estimation
==============
Size: 226 bytes
Rate: 1 sat/byte
Fee: 226 satoshis (0.00000226 BSV)
With --inputs/--outputs (shows breakdown):
Fee Estimation
==============
Size: 226 bytes
Rate: 1 sat/byte
Fee: 226 satoshis (0.00000226 BSV)
Breakdown:
- Inputs (1): ~148 bytes
- Outputs (2): ~68 bytes
- Overhead: ~10 bytes
JSON output (--json):
{
"size": 226,
"rate": 1,
"fee": 226,
"feeBsv": 0.00000226
}
Complete