Skip to content

Commit

Permalink
Merge pull request #224 from okto-hq/minor-changes
Browse files Browse the repository at this point in the history
Rate limit, S2S and MAW
  • Loading branch information
oviawork authored Jan 30, 2025
2 parents 2f0a5b5 + fc53f5b commit 6b8483c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ import PricingComponent from "../../../../app/components/PricingComponent";
<PricingComponent/>

<Callout title="Note">
**MAWs (Monthly Active Wallets)** refers to the total number of unique wallets that have initiated **a new session** in a web3 app at least once.
**MAWs (Monthly Active Wallets)** refers to the total number of unique wallets where a user performs at least one on-chain **session** in a Web3 application using the Okto SDK within a calendar month (30 days).

**A session** is defined as either a transaction, such as an airdrop or redemption, or an active interaction that triggers an API call to the Okto platform.
**A session** is defined as either of the following:
- **Transaction**: Includes on-chain transactions, token claims, or any on-chain activity.
- **Active Interaction**: Any interaction where the user logs in, refreshes their portfolio, or invokes the Okto platform API.

Each wallet's sessions are capped at a maximum of 5 per month (30 days). Therefore, if a unique wallet completes 12 sessions, it will count as 3 MAWs (12/5=3, rounded up to the nearest whole number).
</Callout>
1 change: 1 addition & 0 deletions content/docs/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"flutter-sdk",
"react-native-sdk",
"unity-sdk",
"rate-limit",
"---Resources---",
"brand-kit",
"faq",
Expand Down
12 changes: 12 additions & 0 deletions content/docs/rate-limit.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Rate Limit
full: false
---


<Callout>To ensure fair usage and prevent abuse, the Okto SDK API enforces rate limits on requests.</Callout>

## Overview

Rate limits define the maximum number of API requests allowed within a specific time period. If you exceed the limit, your requests may be throttled or temporarily blocked.

5 changes: 4 additions & 1 deletion public/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ info:
description: |
Okto SDK is the fastest and easiest way a developer can build on Web3. Okto SDK offers interoperable embedded wallets for developers to onboard users on Web3 in a web2 like experience.
## Resources
* https://github.com/okto-hq/
* https://github.com/okto-hq/ <br/><br/>
> **⚠️ Note: While using S2S APIs in Production, ensure your IPs are whitelisted by the Okto team.**
version: 1.0.0
contact:
name: Ovia Seshadri
Expand Down

0 comments on commit 6b8483c

Please sign in to comment.