Versions in this module Expand all Collapse all v0 v0.3.0 Jan 24, 2022 Changes in this version + func DecodeTx(data []byte) (*types.Transaction, error) + func EncodeTx(tx *types.Transaction) ([]byte, error) + func HexToPrivKey(key string) (*ecdsa.PrivateKey, []byte, error) + func NewTx(nonce uint64, to *common.Address, amount *big.Int, gasLimit uint64, ...) *types.Transaction + func PrivKeyToAddr(key *ecdsa.PrivateKey) common.Address + func SignTx(tx *types.Transaction, chainID *big.Int, key *ecdsa.PrivateKey) (*types.Transaction, error)