Docs.rs
  • moksha-core-0.2.1
    • moksha-core 0.2.1
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ngutech21
    • Dependencies
      • anyhow ^1.0.79 normal
      • base64 ^0.21.7 normal
      • bitcoin_hashes ^0.13.0 normal
      • hex ^0.4.3 normal
      • itertools ^0.12.1 normal
      • rand ^0.8.5 normal
      • secp256k1 ^0.28.1 normal
      • serde ^1.0.196 normal
      • serde_json ^1.0.113 normal
      • serde_with ^3.6.0 normal
      • thiserror ^1.0.56 normal
      • url ^2.5.0 normal
      • utoipa ^4.2.0 normal
      • uuid ^1.7.0 normal
      • anyhow ^1.0.79 dev
      • pretty_assertions ^1.4.0 dev
      • getrandom ^0.2.11 normal
    • Versions
    • 8.81% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

moksha_core0.2.1

Module primitives

Module Items

  • Structs
  • Enums

In crate moksha_core

moksha_core

Module primitives

Source
Expand description

This module contains all the request and response objects that are used for interacting between the Mint and Wallet in Cashu. All of these structs are serializable and deserializable using serde.

Structs§

Bolt11MeltQuote
Bolt11MintQuote
CashuErrorResponse
CheckFeesRequest
CheckFeesResponse
GetMeltOnchainResponse
KeyResponse
KeysResponse
MintInfoResponse
MintLegacyInfoResponse
Nut4
Nut5
Nut7
Nut8
Nut9
Nut10
Nut11
Nut12
Nut14
Nut15
Nuts
OnchainMeltQuote
OnchainMintQuote
Parameter
PaymentMethodConfig
PaymentRequest
PostMeltBolt11Request
PostMeltBolt11Response
PostMeltOnchainRequest
PostMeltOnchainResponse
PostMeltQuoteBolt11Request
PostMeltQuoteBolt11Response
PostMeltQuoteOnchainRequest
PostMeltQuoteOnchainResponse
PostMeltRequest
PostMeltResponse
PostMintBolt11Request
PostMintBolt11Response
PostMintOnchainRequest
PostMintOnchainResponse
PostMintQuoteBolt11Request
PostMintQuoteBolt11Response
PostMintQuoteOnchainRequest
PostMintQuoteOnchainResponse
PostMintRequest
PostMintResponse
PostSplitRequest
PostSplitResponse
PostSwapRequest
PostSwapResponse

Enums§

CurrencyUnit
PaymentMethod