# Fee

Fluxity API is responsible for maintaining all streams' TTLs.&#x20;

When creating a new stream, the Fluxity contract is responsible for calculating the lifespan of the stream and `transfer_from` that amount from the creator of the stream.

Here's the formula that the contract uses to calculate the fee as Stellar Lumens:

`(end date - now) / 30 days * BASE_XLM_FEE_PER_MONTH`
