Versions in this module Expand all Collapse all v1 v1.0.8 Jan 31, 2019 v1.0.7 Dec 14, 2018 v1.0.6 Nov 9, 2018 v1.0.5 Nov 8, 2018 v1.0.4 Nov 8, 2018 v1.0.3 Nov 7, 2018 v1.0.2 Nov 7, 2018 v1.0.1 Oct 26, 2018 v1.0.0 Oct 13, 2018 Changes in this version + type BlockByHashResponse struct + Bits string + ChainWork string + Confirmations int + Hash string + Height int + IsMainChain bool + MerkleRoot string + NextBlockHash string + PoolInfo interface{} + PreviousBlockHash string + Reward string + Size int + Time int + Tx []string + Version int + type BlockchainDataSyncStatusResponse struct + BlockchainHeight int + Error string + Height int + Status string + SyncPercentage int + Type string + type Client struct + HC *http.Client + Payload string + Token string + URL string + func NewClient(opts *ConfigOpts) (*Client, error) + func (c *Client) BalanceForAddress(address string) (int, error) + func (c *Client) GeneratePayload() + func (c *Client) GetBlockByHash(blockHash string) (*BlockByHashResponse, error) + func (c *Client) GetBlockchainSyncStatus() (*BlockchainDataSyncStatusResponse, error) + func (c *Client) GetInformation() (*InformationResponse, error) + func (c *Client) GetLastBlockHash() (*LastBlockHashResponse, error) + func (c *Client) GetRateLimit() (*RateLimitResponse, error) + func (c *Client) TransactionByHash(txHash string) (*TransactionByHashResponse, error) + func (c *Client) TransactionsForAddress(address string) (*TransactionsForAddressResponse, error) + type ConfigOpts struct + APIVersion string + Blockchain string + DigitalCurrency string + Token string + type InformationResponse struct + Info struct{ ... } + type LastBlockHashResponse struct + LastBlockHash string + SyncTipHash string + type RateLimitResponse struct + Message struct{ ... } + type TransactionByHashResponse struct + BlockHash string + BlockHeight int + BlockTime int + Confirmations int + Fees float64 + Locktime int + Size int + Time int + TxID string + TxLock bool + ValueIn float64 + ValueOut float64 + Version int + Vin []struct{ ... } + Vout []struct{ ... } + type TransactionsForAddressResponse struct + PagesTotal int + Transactions []TransactionByHashResponse