feat: add assignment 3 #12
Open
Chibey-max wants to merge 1 commit intoBlockheaderWeb3-Community:as-w2-d1from
Open
feat: add assignment 3 #12Chibey-max wants to merge 1 commit intoBlockheaderWeb3-Community:as-w2-d1from
Chibey-max wants to merge 1 commit intoBlockheaderWeb3-Community:as-w2-d1from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JSON-RPC 2.0 Specification
A lightweight, stateless remote procedure call (RPC) protocol encoded in JSON.
Core Concepts
Transport Independent: Works over HTTP, WebSockets, or TCP.
Stateless: No session data is persisted between requests.
Bidirectional: Supports client-to-server and server-to-client calls.
📩 Message Structures
1. Request
2. Success Response
3. Error Response
🛠 Interaction Types
Standard: Request with an
idexpects a Response.Notification: Request without an
id. No response is sent.Batch: An array of requests sent together; handled for efficiency.
⚠️ Standard Error Codes
Code | Definition -- | -- -32700 | Parse error (Invalid JSON) -32600 | Invalid Request object -32601 | Method not found -32602 | Invalid parameters -32603 | Internal server error