Skip to main content

Module nut17

Module nut17 

Source
Expand description

Specific Subscription for the cdk crate

Modules§

ws
Websocket types

Structs§

Params
Subscription Parameter according to the standard
SupportedMethods
Supported WS Methods
SupportedSettings
Check state Settings

Enums§

Error
Parsing error
Kind
Kind
NotificationId
A parsed notification
NotificationPayload
Subscription response
WsCommand
WebSocket commands supported by the Cashu mint

Constants§

MAX_CUSTOM_KIND_LEN
Maximum length in bytes of a NUT-17 custom subscription kind.
MAX_FILTER_LEN
Maximum length in bytes of a NUT-17 subscription filter.
MAX_SUBSCRIPTION_ID_LEN
Maximum length in bytes of a NUT-17 subscription ID.

Functions§

deserialize_payload_for_kind
Deserialize a notification payload using the subscription kind that produced it.