Documentation
¶
Index ¶
Constants ¶
View Source
const ( RPCTypeEthereum = uint8(iota) RPCTypeFilecoin RPCTypeSolana )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCRequestBody ¶
type RPCRequestBody struct { Jsonrpc string `json:"jsonrpc"` Method string `json:"method"` Params []interface{} `json:"params"` ID int `json:"id"` }
func NewRPCRequestBody ¶
func NewRPCRequestBody(method string) *RPCRequestBody
Click to show internal directories.
Click to hide internal directories.