# Recurrency (Optional)

## Typed Struct (EIP712)

{% code overflow="wrap" %}

```solidity
Recurrency(uint16 max_repeats,uint32 chill_time,bool accumetable)
```

{% endcode %}

## Params

| Name          | Type   |
| ------------- | ------ |
| `max_repeats` | uint16 |
| `chill_time`  | uint32 |
| `accumetable` | bool   |

### max\_repeats

Number of time the same FCT can be executed

{% hint style="success" %}
Can be used whenever multiple spending is required, e.g. for recurring payments, subscriptions, etc.
{% endhint %}

### chill\_time

The minimum time between repetitive executions

{% hint style="info" %}
In seconds
{% endhint %}

### accumetable

When set to "false", the chill\_time is calculated from the last time the FCT was executed.\
When set to "true", chill time is calculated from the end timestamp of previous chill time, regardless if the FCT was executed or not.

{% hint style="info" %}
For example: The accumetable is set to "true" and chill\_time is set to "7 days".\
Now if three weeks has passed from last executing of the FCT, it is possible to execute the FCT three times immediately. &#x20;
{% endhint %}

{% hint style="success" %}
accumatable is useful for subscription when the payments interval are fixed and not influenced by the timing of the actual payments.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intentable.io/intent-structure/recurrency-optional.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
