MCPcopy Create free account
hub / github.com/cairoeth/preconfirmations / RPCRequest

Struct RPCRequest

rpc/server/request_processor.go:26–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type RPCRequest struct {
27 logger *zap.Logger
28 client RPCProxyClient
29 jsonReq *types.JSONRPCRequest
30 jsonRes *types.JSONRPCResponse
31 rawTxHex string
32 tx *ethtypes.Transaction
33 txFrom string
34 relaySigningKey *ecdsa.PrivateKey
35 relayURL string
36 origin string
37 referer string
38 isWhitehatBundleCollection bool
39 proxyURL string
40 ethSendRawTxEntry *database.EthSendRawTxEntry
41 urlParams URLParameters
42 chainID []byte
43}
44
45func NewRPCRequest(logger *zap.Logger, client RPCProxyClient, jsonReq *types.JSONRPCRequest, relaySigningKey *ecdsa.PrivateKey, relayURL, origin, referer string, isWhitehatBundleCollection bool, proxyURL string, ethSendRawTxEntry *database.EthSendRawTxEntry, urlParams URLParameters, chainID []byte) *RPCRequest {
46 return &RPCRequest{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected