Documentation
¶
Index ¶
Constants ¶
View Source
const RPCDefaultErrorId = "error"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthRPCCommon ¶
type EthRPCError ¶
type EthRPCError struct {
EthRPCCommon
Error *RPCProviderError `json:"error"`
}
func NewRPCError ¶
func NewRPCError(id any, err *RPCProviderError) *EthRPCError
type EthRPCRequest ¶
type EthRPCRequest struct {
EthRPCCommon
Method string `json:"method"`
Params any `json:"params"`
}
type EthRPCResult ¶
type EthRPCResult struct {
EthRPCCommon
Result any `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.