Interface: IEthSubscription
A subscription to an ethereum plan contract
Hierarchy
IEthSubscription
Index
Properties
Properties
addOns
• addOns: string[]
a list of optional add-ons selected by the subscriber
address
• address: string
the ethereum address of the contract
autoRenew
• autoRenew: boolean
indicates if the subscription should auto-renew when it expires
Optional Readonly balance
Optional Readonly balance• balance? : undefined | string
the balance that the subscriber has in the contract
cycleLength
• cycleLength: number
the number of periods between recurring charges
cycleType
• cycleType: CycleType
the type of cycle used to generate recurring charges
Optional Readonly startBlock
Optional Readonly startBlock• startBlock? : undefined | number
blockchain block where subscription was created
Optional Readonly startDate
Optional Readonly startDate• startDate? : Date
start date of the subscription
subscriber
• subscriber: string
the ethereum address of the subscriber
Last updated
Was this helpful?