Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
Handlers provides a web api to the account.
func NewHandlers ¶
func NewHandlers( handleFunc func(string, func(*http.Request) (interface{}, error)) *mux.Route, log *logrus.Entry) *Handlers
NewHandlers creates a new Handlers instance.
type Transaction ¶
type Transaction struct { ID string `json:"id"` VSize int64 `json:"vsize"` Size int64 `json:"size"` Weight int64 `json:"weight"` NumConfirmations int `json:"numConfirmations"` Height int `json:"height"` Type string `json:"type"` Amount coin.FormattedAmount `json:"amount"` Fee coin.FormattedAmount `json:"fee"` FeeRatePerKb coin.FormattedAmount `json:"feeRatePerKb"` Time *string `json:"time"` Addresses []string `json:"addresses"` }
Transaction is the info returned per transaction by the /transactions endpoint.
Click to show internal directories.
Click to hide internal directories.