#601

Globales Ranking · von 601 Skills

estimate-transaction-fee AI Agent Skill

Quellcode ansehen: b-open-io/bsv-skills

Safe

Installation

npx skills add b-open-io/bsv-skills --skill estimate-transaction-fee

20

Installationen

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 --help

Size 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 bytes

JSON output (--json):

{
  "size": 226,
  "rate": 1,
  "fee": 226,
  "feeBsv": 0.00000226
}

Status

Complete

Installationen

Installationen 20
Globales Ranking #601 von 601

Sicherheitsprüfung

ath Safe
socket Safe
Warnungen: 0 Bewertung: 90
snyk Low
EU EU-Hosted Inference API

Power your AI Agents with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

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

So verwenden Sie diesen Skill

1

Install estimate-transaction-fee by running npx skills add b-open-io/bsv-skills --skill estimate-transaction-fee in your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert.

2

Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.

3

Der Skill verbessert das Verständnis Ihres Agenten für estimate-transaction-fee, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.

Was Sie erhalten

Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.

Kompatibilität

Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.

Data sourced from the skills.sh registry and GitHub. Install counts and security audits are updated regularly.

EU Made in Europe

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.

App herunterladen:

Kundensupport