Type Alias nostr_types::Fee

source ·
pub type Fee = FeeV1;
Expand description

Fee

Aliased Type§

struct Fee {
    pub amount: usize,
    pub unit: String,
    pub kinds: Vec<EventKindOrRange>,
    pub period: Option<usize>,
}

Fields§

§amount: usize

Amount of the fee

§unit: String

Unit of the amount

§kinds: Vec<EventKindOrRange>

Kinds of events

§period: Option<usize>

Period purchase lasts for