package
0.0.7
Repository: https://github.com/jon4hz/web3-go.git
Documentation: pkg.go.dev

# Functions

BuildRequest creates a new RPC request struct with a random ID.
DecodeResponse decodes the top level json rpc response for a single rpc call.
DecodeResponses decodes the top level json rpc response for a batched rpc call.
EncodeClientRequest encodes parameters for a JSON-RPC client request.
EncodeClientRequests encodes an array of rpc requests.
NewRequest creates a new RPC requests struct with all attributes required.

# Structs

DecodeError : error returned when failing to decode a response.
JSONRPCError : standard JSONRPC Error.
JSONRPCMessage : standard JSONRPC 2 Response.
JSONRPCNotification : standard JSONRPC 2 Notification.
JSONRPCRequest standard JSONRPC 2 Request.