Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrImportAddress = fmt.Errorf("fail to import address")
)
View Source
var (
ErrNoTxForAddr = fmt.Errorf("no transaction for the address")
)
Functions ¶
This section is empty.
Types ¶
type DaemonAgent ¶
type DaemonAgent struct {
// contains filtered or unexported fields
}
func NewDaemonAgent ¶
func NewDaemonAgent(apiUrl, username, password string) *DaemonAgent
func (DaemonAgent) ListAllUnspent ¶ added in v0.6.2
func (da DaemonAgent) ListAllUnspent() (map[string]tx.UTXOs, error)
func (DaemonAgent) WatchAddress ¶ added in v0.6.2
func (da DaemonAgent) WatchAddress(addr string) error
type ErrQueryFailure ¶
type ErrQueryFailure struct {
// contains filtered or unexported fields
}
func (ErrQueryFailure) Error ¶
func (e ErrQueryFailure) Error() string
type RPCParam ¶
type RPCParam struct {
Method string `json:"method"`
Params []interface{} `json:"params"`
}
type RPCResponse ¶
type RPCResponse struct {
Result json.RawMessage `json:"result"`
Error *RPCError `json:"error"`
}
type ReceivedAddress ¶
Click to show internal directories.
Click to hide internal directories.