Global Rank · of 601 Skills
estimate-transaction-fee AI Agent Skill
View Source: b-open-io/bsv-skills
SafeInstallation
npx skills add b-open-io/bsv-skills --skill estimate-transaction-fee 20
Installs
Estimate Transaction Fee
Estimate fees for BSV transactions based on size and fee rates.
When to Use
- Estimate fee before sending a transaction
- Calculate size of a transaction
- Understand fee structure
Usage
# 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 --helpSize Estimation
P2PKH transaction size formula:
- Base overhead: 10 bytes
- Per input: ~148 bytes
- Per output: ~34 bytes
Example: 1 input + 2 outputs = 10 + 148 + 68 = 226 bytes
Output Examples
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 bytesJSON output (--json):
{
"size": 226,
"rate": 1,
"fee": 226,
"feeBsv": 0.00000226
}Status
Complete
Installs
Security Audit
View Source
b-open-io/bsv-skills
More from this source
Power your AI Agents with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
How to use this skill
Install estimate-transaction-fee by running npx skills add b-open-io/bsv-skills --skill estimate-transaction-fee in your project directory. Run the install command above in your project directory. The skill file will be downloaded from GitHub and placed in your project.
No configuration needed. Your AI agent (Claude Code, Cursor, Windsurf, etc.) automatically detects installed skills and uses them as context when generating code.
The skill enhances your agent's understanding of estimate-transaction-fee, helping it follow established patterns, avoid common mistakes, and produce production-ready output.
What you get
Skills are plain-text instruction files — not executable code. They encode expert knowledge about frameworks, languages, or tools that your AI agent reads to improve its output. This means zero runtime overhead, no dependency conflicts, and full transparency: you can read and review every instruction before installing.
Compatibility
This skill works with any AI coding agent that supports the skills.sh format, including Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider, and other tools that read project-level context files. Skills are framework-agnostic at the transport level — the content inside determines which language or framework it applies to.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.