[FEATURE]: Add transaction and receipt lookup RPC methods

オープン
#176 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Thushara3005 がすでに取り組んでいます。

2026年11月12日 から。

  • #184 @Thushara3005 による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Start by locating the JSON-RPC server and the code that handles transaction submission, block queries, and account balances. Trace how transactions and receipts are stored and serialized, then add lookup methods that return the requested data or null. Done means tests cover existing transactions and receipts, unknown hashes, and continued operation of existing RPC methods.

索引モデルが issue の本文から書いたものです。

説明

enhancement
Description

I noticed that MiniChain's RPC server currently supports sending transactions and querying blocks and account balances. However, there are no RPC methods to look up a transaction or its receipt using a transaction hash.

This would be useful for developers building wallets, explorers, or applications on top of MiniChain, as they need a way to check transaction details and execution status.

Proposed Changes

Add two RPC methods:

  • mc_getTransactionByHash(txHash) – Returns the transaction details for the given hash, or null if it is not found.
  • mc_getTransactionReceipt(txHash) – Returns the corresponding receipt, including status, gas used, logs, and contract address, or null if no receipt is available.
Expected Outcome

Developers should be able to retrieve transaction details and execution results directly through MiniChain's JSON-RPC interface.

Testing
  • Test lookup of an existing transaction.
  • Test lookup of an existing transaction receipt.
  • Test unknown transaction hashes.
  • Ensure existing RPC methods continue to work.

I would like to work on this feature if the maintainers consider it useful.

主要言語
Python
スター
12
フォーク
27
平均マージ
2分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

StabilityNexus/MiniChain のほかの issue

StabilityNexus/MiniChain の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。