EthereumAPI
EthereumAPI copied to clipboard
Please add method for https support
This code supported http only. please add https method
func Call(method string, params interface{}) (*JSON2Response, error) {
j := NewJSON2RequestBlank()
j.Method = method
j.Params = params
j.ID = 1
postGet := "POST"
address := fmt.Sprintf("http://%s/", server)
data, err := j.JSONString()
if err != nil {
return nil, err
}