Versions in this module Expand all Collapse all v0 v0.8.2 Jan 25, 2019 v0.8.1 Dec 31, 2018 v0.8.0 Dec 19, 2018 v0.7.1 Dec 7, 2018 v0.7.0 Nov 19, 2018 v0.6.2 Nov 6, 2018 v0.6.1 Oct 22, 2018 v0.6.0 Sep 25, 2018 v0.5.3 Sep 10, 2018 v0.5.2 Aug 21, 2018 Changes in this version type EthRPCClient + func (rpc *EthRPCClient) EthGetTransactionReceipt(hash string) (*Transaction, error) v0.5.0 Jul 25, 2018 v0.4.0 Jun 30, 2018 Changes in this version + type Block struct + Difficulty big.Int + ExtraData string + GasLimit int + GasUsed int + Hash string + LogsBloom string + Miner string + Nonce string + Number int + ParentHash string + Sha3Uncles string + Size int + StateRoot string + Timestamp int + TotalDifficulty big.Int + Transactions []Transaction + TransactionsRoot string + Uncles []string + type EthError struct + Code int + Message string + func (err EthError) Error() string + type EthRPCClient struct + Debug bool + func NewEthRPCClient(url string, options ...func(rpc *EthRPCClient)) *EthRPCClient + func (rpc *EthRPCClient) Call(method string, params ...interface{}) (json.RawMessage, error) + func (rpc *EthRPCClient) EthGetBlockByHash(hash string, withTransactions bool) (*Block, error) + func (rpc *EthRPCClient) EthGetBlockByNumber(number int, withTransactions bool) (*Block, error) + func (rpc *EthRPCClient) EthGetTransactionByBlockHashAndIndex(blockHash string, transactionIndex int) (*Transaction, error) + func (rpc *EthRPCClient) EthGetTransactionByBlockNumberAndIndex(blockNumber, transactionIndex int) (*Transaction, error) + func (rpc *EthRPCClient) EthGetTransactionByHash(hash string) (*Transaction, error) + func (rpc *EthRPCClient) EthSyncing() (*Syncing, error) + func (rpc *EthRPCClient) Web3ClientVersion() (string, error) + func (rpc *EthRPCClient) Web3Sha3(data []byte) (string, error) + type JsonBlockWithTransactions struct + Difficulty hexBig + ExtraData string + GasLimit hexInt + GasUsed hexInt + Hash string + LogsBloom string + Miner string + Nonce string + Number hexInt + ParentHash string + Sha3Uncles string + Size hexInt + StateRoot string + Timestamp hexInt + TotalDifficulty hexBig + Transactions []JsonTransaction + TransactionsRoot string + Uncles []string + type JsonBlockWithoutTransactions struct + Difficulty hexBig + ExtraData string + GasLimit hexInt + GasUsed hexInt + Hash string + LogsBloom string + Miner string + Nonce string + Number hexInt + ParentHash string + Sha3Uncles string + Size hexInt + StateRoot string + Timestamp hexInt + TotalDifficulty hexBig + Transactions []string + TransactionsRoot string + Uncles []string + type JsonSyncing struct + CurrentBlock hexInt + HighestBlock hexInt + IsSyncing bool + StartingBlock hexInt + type JsonTransaction struct + BlockHash string + BlockNumber *hexInt + From string + Gas hexInt + GasPrice hexBig + Hash string + Input string + Nonce hexInt + To string + TransactionIndex *hexInt + Value hexBig + type ProxyBlock interface + type Syncing struct + CurrentBlock int + HighestBlock int + IsSyncing bool + StartingBlock int + func (s *Syncing) UnmarshalJSON(data []byte) error + type Transaction struct + BlockHash string + BlockNumber *int + From string + Gas int + GasPrice big.Int + Hash string + Input string + Nonce int + To string + TransactionIndex *int + Value big.Int + func (t *Transaction) UnmarshalJSON(data []byte) error + type TrxInput struct + Data string + From string + Gas int + GasPrice *big.Int + Nonce int + To string + Value *big.Int + func (t TrxInput) MarshalJSON() ([]byte, error)