Versions in this module Expand all Collapse all v0 v0.1.1 Sep 18, 2019 v0.1.0 Sep 12, 2019 Changes in this version + const CLIENT + const VERSION + func Close() + func EthBlockNumber() (height string, err error) + func EthBlockNumberInt64() (height int64, err error) + func EthBlockNumberResponse() (response string, err error) + func EthGetBalance(address string, blockParameter string) (response string, err error) + func EthGetBlockByNumberResponse(height int64) (response string, err error) + func EthGetTransactionByHashResponse(hash string) (response string, err error) + func EthGetTransactionReceiptResponse(hash string) (response string, err error) + func EthProtocolVersionResponse() (response string, err error) + type Account struct + EncryptedKey string + WalletAddress string + func NewAccount(accountID, pass string) (*Account, error) + type Block struct + Difficulty string + Number string + Transactions []*Transaction + func EthGetBlockByNumber(height int64) (*Block, error) + type EthClient struct + type GethConfig struct + Dashboard dashboard.Config + Eth eth.Config + Node node.Config + Shh whisper.Config + func Config() GethConfig + type JSONRPC struct + ID uint8 + JSONRPC string + Method string + Params []interface{} + type RPCResponse struct + Error *ResultError + ID uint8 + JSONRPCVersion string + Result interface{} + type ResultError struct + Code int + Message string + type Token struct + Decimals uint8 + Name string + Symbol string + func QueryTokenInfo(chain, tokenAddress string) (*Token, error) + type Transaction struct + BlockHash string + BlockNumber string + ChainID string + From string + Gas string + GasPrice string + Hash string + Input string + Nonce string + PublicKey string + R string + Raw string + S string + StandardV string + To string + TransactionIndex string + V string + Value string + func EthGetTransactionByHash(hash string) (*Transaction, error) + type TransactionReceipt struct + ContractAddress string + GasUsed string + Hash string + Height string + Status string + func EthGetTransactionReceipt(hash string) (*TransactionReceipt, error) + func (r *TransactionReceipt) Success() bool