Skip to content

Commit

Permalink
Merge branch 'main' into mobile-faucet-flow
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyMBridges authored Jan 6, 2025
2 parents d96a246 + 594a8ff commit 2562e51
Show file tree
Hide file tree
Showing 106 changed files with 4,225 additions and 4,431 deletions.
2 changes: 1 addition & 1 deletion developer-tools/dashboard/get-started/create-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For more information, see to the [Infura pricing page](https://www.infura.io/pri
Infura allows you to enable multiple network endpoints and expansion APIs for your API key. If calls are
made to a disabled network or service, then all requests to that network or service will fail.

To keep your account secure and cost effective, add only the necessary endpoints, as some have usage
To keep your account secure and cost-effective, add only the necessary endpoints, as some have usage
limits or charges based on request volume.

To create an API key:
Expand Down
16 changes: 16 additions & 0 deletions developer-tools/dashboard/how-to/secure-an-api/set-rate-limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,19 @@ Set rate limiting in the API key's **Settings** tab **Key Credit Limits** sectio
credits per day in integers, for example, 20000. The value `0` means default limits are applied.

When the number of used credits reach this limit, all requests will be rejected until the next day (00:00 UTC).

If you exceed the specified limits, you'll receive a JSON response with an
[HTTP error status code `429`](/services/reference/ethereum/json-rpc-methods#http-errors). For example:

```json
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 429,
"event": -33300,
"message": "Too Many Requests",
"details": "You have surpassed your user-defined key throughput limit setting. To make more requests with this key, review key setting configurations."
}
}
```
9 changes: 9 additions & 0 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ The latest major MetaMask documentation updates are listed by the month they wer
For a comprehensive list of recent product changes, visit the "Release Notes" section at the bottom
of the [MetaMask developer page](https://metamask.io/developer/).

## December 2024

- Documented [Swellchain](/services/reference/swellchain) support. ([#1776](https://github.com/MetaMask/metamask-docs/pull/1776))
- Documented [Snap Notifications Expanded View](/snaps/features/notifications/#expanded-view).
([#1774](https://github.com/MetaMask/metamask-docs/pull/1774))
- Documented [`snap_getInterfaceContext`](/snaps/reference/snaps-api/#snap_getinterfacecontext).
([#1772](https://github.com/MetaMask/metamask-docs/pull/1772))

## November 2024

- Documented [updated error responses](/services/reference/ethereum/json-rpc-methods) when rate-limiting Infura JSON-RPC API calls. ([#1749](https://github.com/MetaMask/metamask-docs/pull/1749))
- Documented [Unichain Sepolia](/services/reference/unichain) support. ([#1725](https://github.com/MetaMask/metamask-docs/pull/1725))
- Updated Snaps [Custom UI documentation](/snaps/features/custom-ui/) for MetaMask Extension version 12.6.
([#1715](https://github.com/MetaMask/metamask-docs/pull/1715))
Expand Down
Loading

0 comments on commit 2562e51

Please sign in to comment.