You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compute-units.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Compute Units (CUs) are how we measure API usage in Sim. CUs reflect the actual
18
18
| Transactions (EVM & SVM) | Fixed | 1 compute unit per request | — |
19
19
| Token Info | Fixed | 2 compute units per request, even though `chain_ids` is required | — |
20
20
| Token Holders | Fixed | 2 compute units per request | — |
21
-
| Subscriptions | Event-based |1 compute unit per event sent to your webhook. Note that a single webhook payload can contain multiple events. | All supported EVM chains (varies by subscription type) when chain_ids is omitted |
21
+
| Subscriptions | Event-based |2 compute units per event sent to your webhook. Note that a single webhook payload can contain multiple events. | All supported EVM chains (varies by subscription type) when chain_ids is omitted |
22
22
23
23
## How CUs work
24
24
@@ -57,7 +57,7 @@ Chain count is computed after we expand any tags you pass. To keep CU predictabl
57
57
Token Info is fixed-cost per request, even though `chain_ids` is required. CU does not scale with the number of chains.
58
58
</Card>
59
59
<Cardtitle="Subscriptions: event-based cost">
60
-
Each event sent to your webhook consumes 1 CU. A single webhook payload may contain multiple events, resulting in multiple CUs per webhook delivery.
60
+
Each event sent to your webhook consumes 2 CUs. A single webhook payload may contain multiple events, resulting in multiple CUs per webhook delivery.
Copy file name to clipboardExpand all lines: evm/subscriptions.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ You can set up and manage your subscriptions in two ways:
37
37
38
38
## Compute Unit Cost
39
39
40
-
The Subscriptions API costs **1 CU per event** sent to your webhook. Note that a single webhook call may include multiple events. For example, multiple balance changes or transactions.
40
+
The Subscriptions API costs **2 CUs per event** sent to your webhook. Note that a single webhook call may include multiple events. For example, multiple balance changes or transactions.
41
41
42
42
If you omit `chain_ids` when creating a webhook your subscription watches all supported EVM chains for matching events. You are only charged per event received regardless of how many chains are monitored.
0 commit comments