Class SubscriptionModule

Hierarchy

Index

Constructors

constructor

Methods

listActiveSubscriptionsByAuthor

  • listActiveSubscriptionsByAuthor(authorId: string, count?: number): Promise<SubscriptionObject[]>

listActiveSubscriptionsByConsumer

  • listActiveSubscriptionsByConsumer(consumerId: string, count?: number): Promise<SubscriptionObject[]>

listSubscriptionsByAuthor

  • listSubscriptionsByAuthor(authorId: string, count?: number): Promise<SubscriptionObject[]>

listSubscriptionsByConsumer

  • listSubscriptionsByConsumer(consumerId: string, count?: number): Promise<SubscriptionObject[]>

setAutomaticRenewalOfSubscription

  • setAutomaticRenewalOfSubscription(accountId: string, subscriptionId: string, automaticRenewal: boolean, privateKey: string, broadcast?: boolean): Promise<Operation>

setSubscription

subscribeByAuthor

  • subscribeByAuthor(from: string, to: string, privateKey: string, broadcast?: boolean): Promise<Operation>

subscribeToAuthor

  • subscribeToAuthor(from: string, to: string, amount: number, assetId: string, privateKey: string, broadcast?: boolean): Promise<Operation>

Powered by DECENT