Versions in this module Expand all Collapse all v1 v1.2.0 Jun 10, 2021 Changes in this version + func NormalizeTx(srcTx *Tx) (types.Tx, bool) + func NormalizeTxs(srcTxs []Tx) (txs types.Txs) + type Client struct + func (c *Client) GetBlockByNumber(num int64) ([]Tx, error) + func (c *Client) GetCurrentBlock() (int64, error) + func (c *Client) GetTxsOfAddress(address string) ([]Tx, error) + type DeliveredAmount struct + Currency string + Issuer string + Value string + type LedgerInfo struct + LedgerIndex int64 + Transactions []Tx + type LedgerResponse struct + Ledger LedgerInfo + type Meta struct + DeliveredAmount interface{} + TransactionResult TransactionResult + type Payment struct + Account string + Destination string + DestinationTag int64 + Fee types.Amount + Flags uint64 + Sequence uint64 + SigningPubKey string + TransactionType TransactionType + TxnSignature string + 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 Response struct + Count uint64 + Marker string + Result string + Transactions []Tx + type TransactionResult string + type TransactionType string + type Tx struct + Date string + Hash string + LedgerHash string + LedgerIndex uint64 + Meta Meta + Payment Payment