# Functions

BuildJsonHTTPRequest creates JSON RPC http request using provided url, method and parameters.
BuildJsonHttpRequestWithBody creates JSON RPC http request using provided url and request body.
JSONRPCCall calls JSONRPCCallWithContext with the default context.
JSONRPCCallWithContext executes a 2.0 JSON RPC HTTP Post Request to the provided URL with the provided method and parameters, which is compatible with the Ethereum JSON RPC Server.
NewResponse returns Success/Error response object.
NewRPCError creates a new error instance to be returned by the RPC endpoints.
NewRPCErrorWithData creates a new error instance with data to be returned by the RPC endpoints.
NewServer returns the JsonRPC server.

# Constants

AccessDeniedCode error code when requests are denied.
DefaultErrorCode rpc default error code.
InvalidParamsErrorCode error code for invalid parameters.
InvalidRequestErrorCode error code for invalid requests.
NotFoundErrorCode error code for not found objects.
ParserErrorCode error code for parsing errors.
RevertedErrorCode error code for reverted txs.

# Structs

Config represents the configuration of the json rpc.
ErrorObject is a jsonrpc error.
Handler manage services to handle jsonrpc requests Services are public structures containing public methods matching the name of the jsonrpc method.
Request is a jsonrpc request.
Response is a jsonrpc success response.
RPCError represents an error returned by a JSON RPC endpoint.
Server is an API backend to handle RPC requests.
Service implementation of a service an it's name.

# Interfaces

Error interface.