Versions in this module Expand all Collapse all v0 v0.0.1 Sep 6, 2021 Changes in this version + func BigIntFromHex(h string) *big.Int + func EstimateGas(ctx context.Context, client *ethclient.Client, from common.Address, ...) (fee *big.Int, limit uint64, err error) + func HexFormat(s string) string + func HexToUint64(hex string) (uint64, error) + func NewTransaction(ctx context.Context, client *ethclient.Client, rpcAddr, private, to string, ...) (trx *types.Transaction, err error) + func PendingNonceAt(rpc, address string) (uint64, error) + func SignByPrivateKey(hexKey, msg string) ([]byte, error) + func VerifySign(hexAddr, msg string, sig []byte) (bool, error) + type BaseResp struct + Error Error + Id int32 + JsonRpc string + Result interface{} + func (b *BaseResp) Request(url, method string) error + type Error struct + Code int + Message string