package
0.0.0-20230228105525-4827941876c6
Repository: https://github.com/node-real/go-ethlibs.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeParams generates JSONRPC parameters from its inputs, and should be used for complex dynamic data which may fail to marshal, in which case the error is propagated to the caller.
MakeRequest builds a Request from all its parts, but returns an error if the params cannot be marshalled.
No description provided by the author
No description provided by the author
MakeParams can be used to generate JSONRPC Params field from well-known data, which should not fail.
MustRequest builds a request from all its parts but panics if the params cannot be marshaled, so should only be used with well-known parameter data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RequestHandlerFunc is a helper for handling JSONRPC Requests over HTTP It can be used by microservices to handle JSONRPC methods.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
ID represents a JSON-RPC 2.0 request ID, which may be either a string or number (or null, which is unsupported).
No description provided by the author
RawResponse keeps Result and Error as unparsed JSON It is meant to be used to deserialize JSONPRC responses from downstream components while Response is meant to be used to craft our own responses to clients.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
Currently NotificationParams are always a JSON object, but this may change, in which case the code around NotificationParams will need to be updated.
Params is an ARRAY of json.RawMessages.
No description provided by the author