Versions in this module Expand all Collapse all v1 v1.2.0 Jun 10, 2021 Changes in this version + func NormalizeTx(srcTx Transaction) types.Tx + func NormalizeTxs(srcTxs []Transaction) types.Txs + type Block struct + Hash string + Height int64 + Timestamp int64 + type BlockRequest struct + BlockIdentifier int64 + type Client struct + func (c *Client) GetBlockByNumber(num int64) (*[]Transaction, error) + func (c *Client) GetCurrentBlock() (int64, error) + func (c *Client) GetTrxOfAddress(address string) (*[]Transaction, error) + type Platform struct + func Init(api string) *Platform + func (p *Platform) Coin() coin.Coin + func (p *Platform) CurrentBlockNumber() (int64, error) + func (p *Platform) GetBlockByNumber(num int64) (*types.Block, error) + func (p *Platform) GetTxsByAddress(address string) (types.Txs, error) + type Transaction struct + Amount string + Block uint64 + Date int64 + ErrorMsg string + Fee string + From string + Hash string + Sequence uint64 + Success bool + To string + type TransactionsByAddressRequest struct + Address string