Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SoChainBitcoinAPI ¶
type SoChainBitcoinAPI struct { Proxified bool // contains filtered or unexported fields }
func GetSoChainBitcoinAPI ¶
func GetSoChainBitcoinAPI() SoChainBitcoinAPI
func (SoChainBitcoinAPI) GetHTTPGetMethod ¶
func (api SoChainBitcoinAPI) GetHTTPGetMethod() func(string) (string, error)
func (SoChainBitcoinAPI) GetUTXO ¶
func (api SoChainBitcoinAPI) GetUTXO(publicKey string) ([]insight.Tx, error)
func (SoChainBitcoinAPI) GetWalletBalance ¶
func (api SoChainBitcoinAPI) GetWalletBalance(publicKey string) (insight.WalletBalance, error)
type Tx ¶
type UtxoResponse ¶
type WalletBalance ¶
type WalletBalance struct { Network string `json:"network"` Address string `json:"address"` ConfirmedBalance float64 `json:"confirmed_balance,string"` UnconfirmedBalance float64 `json:"unconfirmed_balance,string"` }
func (WalletBalance) ConvertToInsightWalletBalance ¶
func (wb WalletBalance) ConvertToInsightWalletBalance() insight.WalletBalance
type WalletBalanceResponse ¶
type WalletBalanceResponse struct { Status string `json:"status"` Data *WalletBalance `json:"data"` }
Click to show internal directories.
Click to hide internal directories.