Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Address struct + Address string + FinalBalance int64 + TotalReceived int64 + TotalSent int64 + TxCount int + type Block struct + BlockIndex int + Hash string + Height int + Time int64 + TxCount int + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) GetAddress(ctx context.Context, address string, limit int) (*Address, error) + func (c *Client) GetLatestBlock(ctx context.Context) (*Block, error) + func (c *Client) GetStats(ctx context.Context) (*Stats, error) + func (c *Client) GetTicker(ctx context.Context, currency string) ([]*Price, error) + func (c *Client) GetTransaction(ctx context.Context, hash string) (*Transaction, error) + type Config struct + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Price struct + Buy float64 + Currency string + Last float64 + Sell float64 + Symbol string + type Stats struct + BlockHeight int + Difficulty float64 + HashRate float64 + MarketPriceUSD float64 + MinutesBetweenBlocks float64 + TotalBitcoins float64 + TradeVolumeBTC float64 + type Transaction struct + BlockHeight int + Fee int64 + Hash string + InputCount int + InputSum int64 + OutputCount int + OutputSum int64 + Time int64