Documentation ¶
Index ¶
Constants ¶
View Source
const ( Register ActionType = "register" Unregister ActionType = "unregister" UnspentUtxo EventType = "unspentUtxo" SpentUtxo EventType = "spentUtxo" )
Variables ¶
View Source
var (
ErrInvalidEventType = errors.New("invalid event type")
)
Functions ¶
Types ¶
type ActionType ¶
type ActionType string
type GeneralMessageResponse ¶
type GeneralMessageResponse struct {
Message string `json:"message"`
}
type MessageErrorResponse ¶
type MessageErrorResponse struct {
ErrorMessage string `json:"errorMessage"`
}
type OnChainEventResponse ¶
type SubscriptionRequestHttp ¶
type SubscriptionRequestWs ¶
type SubscriptionRequestWs struct { ActionType ActionType `json:"actionType"` EventTypes []EventType `json:"eventTypes"` DescriptorWallet string `json:"descriptorWallet"` StartBlockHeight int `json:"startBlockHeight"` }
Click to show internal directories.
Click to hide internal directories.