Versions in this module Expand all Collapse all v1 v1.2.0 Jun 10, 2021 Changes in this version + const BNBAsset + type AccountMeta struct + Balances []TokenBalance + type Client struct + func InitClient(url, apiKey string) Client + func (c Client) FetchAccountMeta(address string) (AccountMeta, error) + func (c Client) FetchLatestBlockNumber() (int64, error) + func (c Client) FetchTokens() (Tokens, error) + func (c Client) FetchTransactionsByAddressAndTokenID(address, tokenID string) ([]Tx, error) + func (c Client) FetchTransactionsInBlock(blockNumber int64) (TransactionsInBlockResponse, error) + type NodeInfoResponse struct + SyncInfo struct{ ... } + type Platform struct + func Init(api, apiKey, stakingApi string) *Platform + func (p *Platform) Coin() coin.Coin + func (p *Platform) CurrentBlockNumber() (int64, error) + func (p *Platform) GetActiveValidators() (blockatlas.StakeValidators, error) + func (p *Platform) GetBlockByNumber(num int64) (*types.Block, error) + func (p *Platform) GetDelegations(address string) (blockatlas.DelegationsPage, error) + func (p *Platform) GetDetails() blockatlas.StakingDetails + func (p *Platform) GetTokenListByAddress(address string) ([]types.Token, error) + func (p *Platform) GetTokenListIdsByAddress(address string) ([]string, error) + func (p *Platform) GetTokenTxsByAddress(address, token string) (types.Txs, error) + func (p *Platform) GetTxsByAddress(address string) (types.Txs, error) + func (p *Platform) GetValidators() (blockatlas.ValidatorPage, error) + func (p *Platform) UndelegatedBalance(address string) (string, error) + type SubTransactions struct + BlockHeight int + FromAddr string + ToAddr string + TxAsset string + TxFee string + TxHash string + TxType string + Value string + type Token struct + Name string + OriginalSymbol string + Owner string + Symbol string + TotalSupply string + type TokenBalance struct + Free string + Frozen string + Locked string + Symbol string + type Tokens []Token + type TransactionData struct + OrderData struct{ ... } + type TransactionsByAddressAndAssetResponse struct + Txs []Tx + type TransactionsInBlockResponse struct + BlockHeight int + Tx []Tx + type Tx struct + BlockHeight int + Code int + Data string + FromAddr interface{} + Memo string + OrderID string + Sequence int + Source int + SubTransactions []SubTransactions + TimeStamp time.Time + ToAddr interface{} + TxAsset string + TxFee string + TxHash string + TxType TxType + Value string + type TxType string + const CancelOrder + const NewOrder + const Transfer