Versions in this module Expand all Collapse all v0 v0.1.0 Nov 9, 2021 Changes in this version + type BalanceRequest struct + Address common.Address + ContractAddress common.Address + type HistoricalBalanceRequest struct + Address common.Address + BlockNo int64 + ContractAddress common.Address + type HistoricalSupplyRequest struct + BlockNo int64 + ContractAddress common.Address + type TokenInfo struct + BitcoinTalk string + Blog string + BlueCheckmark bool + ContractAddress common.Address + Description string + Discord string + Divisor uint + Email string + Facebook string + Github string + LinkedIn string + Reddit string + Slack string + Symbol string + Telegram string + TokenName string + TokenPriceUSD decimal.Decimal + TokenType string + TotalSupply *big.Int + Twitter string + WeChat string + Website string + Whitepaper string + type TokensClient struct + API *httpapi.APIClient + func (c *TokensClient) GetAccountBalance(ctx context.Context, req *BalanceRequest) (*big.Int, error) + func (c *TokensClient) GetHistoricalBalance(ctx context.Context, req *HistoricalBalanceRequest) (*big.Int, error) + func (c *TokensClient) GetHistoricalSupply(ctx context.Context, req *HistoricalSupplyRequest) (*big.Int, error) + func (c *TokensClient) GetTokenInfo(ctx context.Context, contractAddr common.Address) (result []TokenInfo, err error) + func (c *TokensClient) GetTotalSupply(ctx context.Context, contractAddr common.Address) (*big.Int, error)