Skip to content

MIP-16: JSON RPC Query Methods - #88

Merged
QEDK merged 17 commits into
mainfrom
mip-json-rpc-query-methods
Sep 23, 2026
Merged

QEDK merged 17 commits into
mainfrom
mip-json-rpc-query-methods

Conversation

@typedarray

@typedarray typedarray commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

EDIT: Discussion continued in #89.


Introduces five new JSON-RPC methods that enable efficient queries for raw chain history data:

  • eth_queryBlocks
  • eth_queryTransactions
  • eth_queryLogs
  • eth_queryTraces
  • eth_queryTransfers

@typedarray
typedarray force-pushed the mip-json-rpc-query-methods branch from bb2f8a8 to 0e68d23 Compare September 21, 2026 18:08
@typedarray
typedarray force-pushed the mip-json-rpc-query-methods branch from 0e68d23 to e492970 Compare September 21, 2026 18:09
@typedarray typedarray changed the title Draft MIP - JSON RPC Query Methods Draft MIP: JSON RPC Query Methods Sep 21, 2026
@QEDK
QEDK marked this pull request as ready for review September 22, 2026 11:00
Copilot AI lite review requested due to automatic review settings September 22, 2026 11:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The spec has a couple of wire-protocol ambiguities (notably the JSON-RPC params shape and array ordering tie-breaks) that could lead to incompatible client/server implementations.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 Medium severity

Open (2)
What changed in this PR

This PR adds a new Monad Improvement Proposal (MIP-16) specifying five new eth_query* JSON-RPC methods intended to support efficient, filterable, joinable, and paginated access to historical chain data.

Changes:

  • Adds MIP-16 defining common request/response shapes, error codes, pagination/reorg handling, and method-specific filters/fields/orderings.
  • Specifies five new query methods: eth_queryBlocks, eth_queryTransactions, eth_queryLogs, eth_queryTraces, eth_queryTransfers.
File Description
MIPs/​MIP-16.md Introduces the full draft specification for the five JSON-RPC query methods, including shared semantics and per-method schemas.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread MIPs/MIP-16.md
Comment thread MIPs/MIP-16.md Outdated

@QEDK QEDK left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes required.

Comment thread MIPs/MIP-16.md Outdated
Comment thread MIPs/MIP-16.md
Comment thread MIPs/MIP-16.md Outdated
Comment thread MIPs/MIP-16.md Outdated
Comment thread MIPs/MIP-16.md Outdated
Comment thread MIPs/MIP-16.md
Comment thread MIPs/MIP-16.md Outdated
Comment thread MIPs/MIP-16.md Outdated
Comment thread MIPs/MIP-16.md Outdated
@QEDK

QEDK commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

cc @Baltoli @kjcamann for review.

@QEDK QEDK changed the title Draft MIP: JSON RPC Query Methods MIP-16: JSON RPC Query Methods Sep 22, 2026
Comment thread MIPs/MIP-16.md
Comment thread MIPs/MIP-16.md

@kjcamann kjcamann left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. I think this could be re-implemented by someone else with no ambiguity from reading this. I could not find anything to nitpick.

Comment thread MIPs/MIP-16.md
Comment thread MIPs/MIP-16.md Outdated

@QEDK QEDK left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@QEDK
QEDK merged commit 8507afa into main Sep 23, 2026
4 checks passed
@QEDK
QEDK deleted the mip-json-rpc-query-methods branch September 23, 2026 18:19
@typedarray

Copy link
Copy Markdown
Contributor Author

Please visit #89 for continued discussion and review.

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.

7 participants