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 + Balance int64 + FundedCount int + FundedSum int64 + SpentSum int64 + TxCount int + type Block struct + AvgFee float64 + Height int + ID string + MedianFee float64 + Size int + Timestamp int64 + TotalFees int64 + TxCount int + Weight int + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient(cfg Config) *Client + func (c *Client) GetAddress(ctx context.Context, address string) (*Address, error) + func (c *Client) GetBlock(ctx context.Context, hash string) (*Block, error) + func (c *Client) GetBlocks(ctx context.Context, limit int) ([]*Block, error) + func (c *Client) GetFees(ctx context.Context) (*Fees, error) + func (c *Client) GetPrice(ctx context.Context) (*Price, error) + func (c *Client) GetTransaction(ctx context.Context, txid 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 Fees struct + EconomyFee int + FastestFee int + HalfHourFee int + HourFee int + MinimumFee int + type Price struct + Rates map[string]int64 + Time int64 + type Transaction struct + BlockHeight int + Confirmed bool + Fee int64 + Size int + TXID string + VinCount int + VoutCount int + Weight int