Documentation ¶
Overview ¶
Package nut05 contains structs as defined in NUT-05
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostMeltBolt11Request ¶
type PostMeltBolt11Request struct { Quote string `json:"quote"` Inputs cashu.Proofs `json:"inputs"` Outputs cashu.BlindedMessages `json:"outputs,omitempty"` }
type PostMeltQuoteBolt11Response ¶
type PostMeltQuoteBolt11Response struct { Quote string `json:"quote"` Amount uint64 `json:"amount"` FeeReserve uint64 `json:"fee_reserve"` State State `json:"state"` Paid bool `json:"paid"` // DEPRECATED: use state instead Expiry uint64 `json:"expiry"` Preimage string `json:"payment_preimage,omitempty"` Change cashu.BlindedSignatures `json:"change,omitempty"` }
func (*PostMeltQuoteBolt11Response) MarshalJSON ¶ added in v0.2.0
func (quoteResponse *PostMeltQuoteBolt11Response) MarshalJSON() ([]byte, error)
func (*PostMeltQuoteBolt11Response) UnmarshalJSON ¶ added in v0.2.0
func (quoteResponse *PostMeltQuoteBolt11Response) UnmarshalJSON(data []byte) error
type TempQuote ¶ added in v0.2.0
type TempQuote struct { Quote string `json:"quote"` Amount uint64 `json:"amount"` FeeReserve uint64 `json:"fee_reserve"` State string `json:"state"` Paid bool `json:"paid"` // DEPRECATED: use state instead Expiry uint64 `json:"expiry"` Preimage string `json:"payment_preimage,omitempty"` Change cashu.BlindedSignatures `json:"change,omitempty"` }
Click to show internal directories.
Click to hide internal directories.