getho.io api client written in golang
To install getho-go, simply execute the following command in a terminal from your $GOPATH:
go get github.com/popshootjapan/getho-go
gethoClient := getho.New("<YOUR DOMAIN>", nil)
input := &getho.EthGetBalanceInput{
    Address:        "0x5c66b0d82df26e8FE165Be6628F5f5e1f1bccD5C",
    BlockParameter: getho.NewBlockParameter("latest"),
}
req, resp := gethoClient.EthGetBalanceRequest(input)
_ = req.Call()
fmt.Println(res.Result)
// => 0x7759d50972e9800
NOTE: Please DO NOT call a lot of requests.
$ go test *_test.go -v
- Error handling
 - Decode all result parameters
 
web3_clientVersionnet_versionnet_listeningnet_peerCounteth_gasPriceeth_blockNumbereth_getBalanceeth_getTransactionCounteth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_sendRawTransactioneth_calleth_estimateGaseth_getBlockByHasheth_getBlockByNumbereth_getTransactionByHasheth_getTransactionReceipt
getho-go is available under the MIT license. See the LICENSE file for more info.