Active Tiers
Read
price
Get the total price in payment token (uint256) to purchase a tier subscription for a given number of days.
tierInfo
Get information about a specific tier. Returns aTierInfo struct.
TierInfo struct parameters:
Write
purchaseTier
Purchase a subscription tier for a given fid. If the account already has an active subscription, purchasing will extend their total subscription time.batchPurchaseTier
Purchase a subscription tier for multiple fids in a single transaction. If an account already has an active subscription, purchasing will extend their total subscription time.Events
PurchasedTier
Emitted when a tier is purchased for a Farcaster account.Errors
Source
TierRegistry.sol