Skip to content

feat: tx command —> full transaction inspector (v1.1.0) - #10

Merged
devdavidejesus merged 1 commit into
mainfrom
feat/tx-command
Jul 26, 2026
Merged

feat: tx command —> full transaction inspector (v1.1.0)#10
devdavidejesus merged 1 commit into
mainfrom
feat/tx-command

Conversation

@devdavidejesus

Copy link
Copy Markdown
Owner

What's new

  • btc-toolkit tx <txid> —> the most-used explorer query, now in the terminal: confirmation status and block, fee and fee rate (sat/vB), total input/output, size/weight/vsize, version, locktime
  • Flags coinbase and RBF-signaling (BIP 125) transactions
  • Reuses the existing fetch_transaction client — zero new HTTP code
  • --json for scripting, --network testnet supported

Verification

  • 9 new tests (71 total), all mocked —> including an input − output = fee consistency check
  • Verified against live mainnet: confirmed transaction with exact fee, fee-rate, and vsize match vs mempool.space

- New 'btc-toolkit tx <txid>' subcommand: status, block, fee,
  fee rate (sat/vB), total input/output, size/weight/vsize,
  version, locktime
- Detects and flags coinbase and RBF-signaling (BIP 125) txs
- Reuses fetch_transaction from opreturn module — zero new HTTP code
- 9 new tests (71 total) incl. input-output=fee consistency check
- Verified against live mainnet (confirmed tx, exact fee/vsize match)
- Version bump to 1.1.0
@devdavidejesus
devdavidejesus merged commit f859051 into main Jul 26, 2026
4 checks passed
@devdavidejesus
devdavidejesus deleted the feat/tx-command branch July 26, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant