Versions in this module Expand all Collapse all v1 v1.2.0 Jun 10, 2021 Changes in this version + func NormalizeTx(srcTx *Tx) (tx types.Tx, ok bool) + func NormalizeTxs(srcTxs []Tx) types.Txs + type Client struct + func (c *Client) GetTxsOfAddress(address string, num int) (txPage *TxPage, err error) + type Platform struct + func Init(api string) *Platform + func (p *Platform) Coin() coin.Coin + func (p *Platform) GetTxsByAddress(address string) (types.Txs, error) + type Tx struct + BlockHash string + BlockNumber uint64 + BlockTimestamp int64 + ContractAddr string + FromAddr string + NrgConsumed int + ToAddr string + TransactionHash string + TransactionTimestamp int64 + Value json.Number + type TxPage struct + Content []Tx