Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullWallet ¶
type FullWallet struct {
PrivateKey *ec.PrivateKey `json:"privateKey,omitempty"`
WalletAddress string `json:"walletAddress,omitempty"`
LastSync time.Time `json:"lastSync"`
}
func CreateWallet ¶
func CreateWallet(wif string) (*FullWallet, error)
func (*FullWallet) Sync ¶
func (f *FullWallet) Sync() ([]UTXO, error)
type UtxosResponse ¶
type UtxosResponse struct {
Utxos []UTXO `json:"unspent"`
}
Click to show internal directories.
Click to hide internal directories.