Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(logger *zap.Logger, txSource sources.TransactionSource, traceSource sources.TraceSource, mempool sources.MemPoolSource, blockSource sources.BlockHeadersSource) func(http.ResponseWriter, *http.Request, int, bool) error
Types ¶
type JsonRPCRequest ¶
type JsonRPCResponse ¶
type JsonRPCResponse struct { ID uint64 `json:"id,omitempty"` JSONRPC string `json:"jsonrpc,omitempty"` Method string `json:"method,omitempty"` Result json.RawMessage `json:"result,omitempty"` Params json.RawMessage `json:"params,omitempty"` }
Click to show internal directories.
Click to hide internal directories.