Versions in this module Expand all Collapse all v1 v1.1.0 Jul 30, 2019 v1.0.0 Mar 18, 2019 Changes in this version + func BytesToHex(data []byte) string + func CopyBytes(b []byte) (copiedBytes []byte) + func HexToBytes(hex string) []byte + func HexToString(hex string) string + func IsHex(hex string) bool + func ToBytes(data interface{}) ([]byte, error) + type Address [addressLength]byte + func NewAddress(data []byte) (result Address) + func StringToAddress(s string) (addr Address) + func (addr *Address) String() string + type Block struct + Bloom Hash + Difficulty *big.Int + ExtraData Hash + GasLimit *big.Int + GasUsed *big.Int + Hash Hash + Miner Address + Nonce Hash + Number *big.Int + ParentHash Hash + Sha3Uncles Hash + Size *big.Int + StateRoot Hash + Timestamp *big.Int + TotalDifficulty *big.Int + TransactionRoot Hash + Transactions []Hash + Uncles []Hash + type Hash [hashLength]byte + func NewHash(data []byte) (result Hash) + func StringToHash(s string) (hash Hash) + func (hash *Hash) String() string + type Log struct + Address Address + BlockHash Hash + BlockNumber *big.Int + Data []byte + LogIndex uint64 + Topics Topics + TransactionHash Hash + TransactionIndex uint64 + type SyncStatus struct + CurrentBlock *big.Int + HighestBlock *big.Int + Result bool + StartingBlock *big.Int + type Topic struct + Data []byte + type Topics []Topic + type Transaction struct + BlockHash Hash + BlockNumber *big.Int + Data []byte + From Address + Gas *big.Int + GasPrice *big.Int + Hash Hash + Nonce Hash + To Address + TransactionIndex uint64 + Value *big.Int + func (tx *Transaction) String() string + type TransactionReceipt struct + BlockHash Hash + BlockNumber *big.Int + ContractAddress Address + CumulativeGasUsed *big.Int + GasUsed *big.Int + Hash Hash + Logs []Log + TransactionIndex uint64 + func (tx *TransactionReceipt) String() string + type TransactionRequest struct + Data []byte + From Address + Gas *big.Int + GasPrice *big.Int + To Address + Value *big.Int + func (tx *TransactionRequest) String() string + type Transactions struct + func NewTransactions(nonce uint64, to Address, amount *big.Int, gasLimit uint64, gasPrice *big.Int, ...) *Transactions + func (tx *Transactions) EncodeRLP(w io.Writer) error