Versions in this module Expand all Collapse all v1 v1.0.0 Jul 27, 2023 Changes in this version + const AddressLength + const HashLength + type Address [AddressLength]byte + func BytesToAddress(b []byte) Address + func HexToAddress(s string) Address + func (a *Address) SetBytes(b []byte) + func (a Address) Bytes() []byte + type Hash [HashLength]byte + func BigToHash(b *big.Int) Hash + func BytesToHash(b []byte) Hash + func HexToHash(s string) Hash + func (h *Hash) SetBytes(b []byte) + func (h Hash) Bytes() []byte + type Transaction struct + Data []byte + GasLimit uint64 + GasPrice big.Int + Nonce uint64 + Signature []byte + To string + Value big.Int + func NewTransaction(nonce uint64, to string, amount *big.Int, gasLimit uint64, gasPrice *big.Int, ...) *Transaction