Subscriptions
Intro
Usually, blockchains charge a per-transaction fee. In contrast TRAIT offers subscriptions that provide a volume of on-chain actions. Teams can choose a plan depending on the amount of actions they require. Similar to traditional subscription models, blockchain-based subscription system offers different tiers of service with varying features and prices.
The main parameters of subscriptions
Every subscription tier provides the following:
Included Clearing Transactions (CT):
Specifies the number of included Clearing Transactions in the subscription tier.
Included CT Actions:
Indicates the number of included CT Actions.
Subscription Price:
Specifies the cost or price associated with the subscription tier in tokens.
Pay-On-Demand Details:
Provides additional details about the pay-on-demand mode associated with the subscription tier.
How the subscription fee is charged
When an AppAgent is created, it is also assigned a subscription tier. Every billing period the AppAgent will be charged the subscription amount from the AppAgent address. The AppAgent address should hold sufficient balance of TRAIT tokens to be able to make subscription payments.
The subscription tier may be changed if necessary.
Billing period is approximately 24 hours (depending on the block production speed). At the start of the billing period, the AppAgent address is charged a subscription fee and the number of available clearing and action points is renewed.
Pay-on-demand
If the AppAgent goes beyond the limits configured in the subscription, then all the transactions after that point will be considered "pay-on-demand". There are multiple ways to set up pay-on-demand:
AppAgent Mode:
In this mode, the AppAgent address is responsible for paying for any extra usage such as additional Clearing Transactions or CT Actions.
Admin Mode:
In this mode, the AppAgent admin that submits a CT will pay for any extra usage incurred.
Disabled Mode:
In this mode, pay-on-demand (PoD) features are completely disabled which means that any CTs dispatched after subscription limits are exhausted will fail.
Volatility of subscription price
The prices of AppAgent subscriptions on the TRAIT blockchain are set in USD. This fixed value in fiat currency allows companies to predict their costs and the economic model of the game.
The subscription payments are charged in TRAIT tokens. But the TRAIT token is freely traded on exchanges and its price is subject to changes due to market conditions. To compensate for volatility, the cost of subscriptions denominated in TRAIT tokens is automatically recalculated at the time of debiting.
Due to constantly changing market conditions and calculations, the cost of subscriptions denominated in USD may vary slightly.
Discover more:
Last updated