diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a5042d13508..30743aa0ebc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,27 @@ -* @MetaMask/tech-writers +# This is a codeowners file. The last matching pattern takes precedence, +# so the listed codeowners apply only if there is no later match. + +# Default owner for all other files +* @MetaMask/activation + +# Docusaurus configuration +docusaurus.config.js @MetaMask/activation @MetaMask/tech-writers + +# Vercel configuration +vercel.json @MetaMask/activation @MetaMask/tech-writers + +# Sidebar files +*-sidebar.js @MetaMask/activation @MetaMask/tech-writers + +# All other Markdown files +*.md @MetaMask/tech-writers +*.mdx @MetaMask/tech-writers + +# Services documentation +/services/ @MetaMask/tech-writers + +# Snaps documentation /snaps/ @MetaMask/tech-writers @MetaMask/snaps -/wallet/ @MetaMask/tech-writers @MetaMask/dev-ex + +# Wallet and SDK documentation +/wallet/ @MetaMask/tech-writers @MetaMask/wallet-api-platform-engineers @MetaMask/sdk-devs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 85016463715..dfb656d5d34 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,8 +11,10 @@ guide in some places. - [Preview locally](#preview-locally) - [Style guide](#style-guide) - [Add images](#add-images) -- [Format Markdown and MDX](#format-markdown-and-mdx) - - [Live code blocks](#live-code-blocks) +- [Update the interactive API reference](#update-the-interactive-api-reference) + - [Update `MetaMask/api-specs`](#update-metamaskapi-specs) + - [Update `ethereum/execution-apis`](#update-ethereumexecution-apis) +- [Test analytics](#test-analytics) ## Contribution workflow @@ -35,7 +37,7 @@ To contribute changes: this repository to your computer and navigate into it. ```bash - git clone https://github.com/MetaMask/metamask-docs.git + git clone git@github.com:MetaMask/metamask-docs.git cd metamask-docs ``` @@ -46,9 +48,9 @@ To contribute changes: > to be able to pull from and push to the original repository. > > ```bash - > git clone https://github.com//metamask-docs.git + > git clone git@github.com:/metamask-docs.git > cd metamask-docs - > git remote add upstream https://github.com/MetaMask/metamask-docs.git + > git remote add upstream git@github.com:MetaMask/metamask-docs.git > ``` 3. [Create and checkout a topic branch](https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging), @@ -69,12 +71,16 @@ To contribute changes: > **Notes:** > - > - All documentation content is located in the `wallet` and `snaps` directories. - > - If you add a new documentation page, make sure to edit `wallet-sidebar.js` or - > `snaps-sidebar.js` to add the page to the + > - All documentation content is located in the `wallet`, `snaps`, `services`, and + > `developer-tools` directories. + > - If you add a new documentation page, edit `wallet-sidebar.js`, `snaps-sidebar.js`, + > `services-sidebar.js`, or `dashboard-sidebar.js` to add the page to the > [sidebar](https://docs-template.consensys.net/contribute/configure-docusaurus#sidebar). - > - If you delete, rename, or move a documentation file, make sure to add a - > [redirect](https://docs-template.consensys.net/contribute/configure-docusaurus#redirects). + > - If you delete, rename, or move a documentation file, add a + > [redirect](https://vercel.com/docs/edge-network/redirects#configuration-redirects). + > - See additional instructions for [updating the interactive API reference](#update-the-interactive-api-reference). + > - If the PR contains a major change to the documentation content, add an entry to the top of + > the ["What's new?"](docs/whats-new.md) page. 5. [Preview your changes locally](https://docs-template.consensys.net/contribute/preview) to check that the changes render correctly. @@ -114,49 +120,129 @@ Refer to the [Consensys documentation style guide](https://docs-template.consens ## Add images -All images are located in the `wallet/assets` and `snaps/assets` directories. +All images are located in the `wallet/assets`, `snaps/assets`, `services/images`, and +`developer-tools/images` directories. When adding a new image, such as a screenshot or diagram, make sure the image has a white or `#1b1b1d` color background in order for it to be compatible with the site's light and dark modes. Additionally, follow the [Consensys guidelines on adding images](https://docs-template.consensys.net/contribute/add-images). -## Format Markdown and MDX +## Update the interactive API reference -The documentation is built using [Docusaurus](https://docusaurus.io/), which is powered by -[MDX](https://mdxjs.com/), an extension to [Markdown](https://www.markdownguide.org/) that allows -you to use [React JSX](https://www.w3schools.com/react/react_jsx.asp) in your Markdown content. +The [Wallet JSON-RPC API reference](https://docs.metamask.io/wallet/reference/json-rpc-api/) uses the +[`docusaurus-openrpc`](https://github.com/MetaMask/docusaurus-openrpc) plugin to import OpenRPC +specifications from [`MetaMask/api-specs`](https://github.com/MetaMask/api-specs) (MetaMask-specific +methods) and [`ethereum/execution-apis`](https://github.com/ethereum/execution-apis) (standard +Ethereum methods). +The site renders documentation for each method based on the specification, and displays an +interactive module to test the methods in your browser. -Follow the [Consensys guidelines on formatting Markdown](https://docs-template.consensys.net/contribute/format-markdown). -The MetaMask docs also use a plugin to implement [live code blocks](#live-code-blocks). +### Update `MetaMask/api-specs` -### Live code blocks +To update documentation for MetaMask-specific JSON-RPC API methods: -The [`remark-codesandbox`](https://github.com/kevin940726/remark-codesandbox/) plugin allows you to -define a code block to be loaded live in a CodeSandbox iframe. -This enhances the documentation by keeping the code blocks versioned and in the codebase, while -using CodeSandbox to showcase any example with any dependency. +1. Fork [`MetaMask/api-specs`](https://github.com/MetaMask/api-specs), clone the forked repository + to your computer, and navigate into it: -Define a live code block by adding a `codesandbox` key to the code block. -For example: - -````jsx -```javascript codesandbox=vanilla -// JavaScript live code block -``` -```` - -`remark-codesandbox` allows for simple code blocks where the content of the block replaces the -CodeSandbox entry point, and more complex code blocks that can be loaded directly from the -filesystem. -See the -[`remark-codesandbox` documentation](https://github.com/kevin940726/remark-codesandbox/#documentation) -for more information. - -## Analytics + ```bash + git clone git@github.com:/api-specs.git + cd api-specs + ``` + +2. Follow the repository's [`README.md`](https://github.com/MetaMask/api-specs/blob/main/README.md) + instructions to edit the OpenRPC specification and generate the output file, `openrpc.json`. + +3. To test the API updates in the MetaMask doc site's interactive reference, make the following + temporary changes on a local branch of the doc site, `metamask-docs`: + + 1. Copy and paste the output file `openrpc.json` into the root directory of `metamask-docs`. + 2. In `docusaurus.config.js`, update the following line to point to your local output file: + ```diff + openrpcDocument: + - "https://metamask.github.io/api-specs/0.10.5/openrpc.json", + + "./openrpc.json", + ``` + 3. Preview the doc site locally, navigate to the API reference, and view your updates. + +4. Add and commit your changes to `api-specs`, and create a PR. + +5. Once your PR is approved and merged, the following must happen to publish the changes to the + MetaMask doc site: + + 1. A new version of `api-specs` must be released by a user with write access to the repository. + To release, go to the [Create Release Pull Request](https://github.com/MetaMask/api-specs/actions/workflows/create-release-pr.yml) + action, select **Run workflow**, and enter a specific version to bump to in the last text box + (for example, `0.10.6`). This creates a PR releasing a version of `api-specs`. + 2. Once the release PR is merged, the [Publish Release](https://github.com/MetaMask/api-specs/actions/workflows/publish-release.yml) + action must be approved by an npm publisher. + You can request an approval in the **#metamask-dev** Slack channel tagging + **@metamask-npm-publishers**. + For example: + > @metamask-npm-publishers `@metamask/api-specs@0.10.6` is awaiting deployment :rocketship: + https://github.com/MetaMask/api-specs/actions/runs/10615788573 + 3. Once the release is published on npm, `docusaurus.config.js` in `metamask-docs` must be + updated with the new `api-specs` version to publish. + For example: + ```diff + openrpcDocument: + - "https://metamask.github.io/api-specs/0.10.5/openrpc.json", + + "https://metamask.github.io/api-specs/0.10.6/openrpc.json", + ``` + +### Update `ethereum/execution-apis` + +To update documentation for standard Ethereum JSON-RPC API methods: + +1. Fork [`ethereum/execution-apis`](https://github.com/ethereum/execution-apis), clone the forked + repository to your computer, and navigate into it: -The [`docusaurus-plugin-segment`](https://github.com/xer0x/docusaurus-plugin-segment) plugin enables simple usage analytics to inform documentation improvements that may be needed. + ```bash + git clone git@github.com:/execution-apis.git + cd execution-apis + ``` -If you need to test analytics events in your local development environment be sure to export the appropriate key for the environment you are testing against before building and running the project: +2. Follow the repository's [`README.md`](https://github.com/ethereum/execution-apis/blob/main/README.md) + instructions to edit the OpenRPC specification and generate the output file, `openrpc.json`. + +3. To test the API updates in the MetaMask doc site's interactive reference, make the following + temporary changes on a local branch of the doc site, `metamask-docs`: + + 1. Copy and paste the output file `openrpc.json` into the root directory of `metamask-docs`. + 2. In `docusaurus.config.js`, update the following line to point to your local output file: + ```diff + openrpcDocument: + - "https://metamask.github.io/api-specs/0.10.5/openrpc.json", + + "./openrpc.json", + ``` + 3. Preview the doc site locally, navigate to the API reference, and view your updates. + +4. Add and commit your changes to `execution-apis`, and create a PR. + +5. Once your PR is approved and merged, the following must happen to publish the changes to the + MetaMask doc site: + + 1. `api-specs` must import the updated Ethereum API specification. + Go to the [commit history](https://github.com/ethereum/execution-apis/commits/assembled-spec/) + of the `assembled-spec` branch of `execution-apis`. + Copy the full commit hash of the latest commit titled "assemble openrpc.json." + Update the following line in `merge-openrpc.js` of `api-specs` with the updated commit hash, + and create a PR: + ```diff + const getFilteredExecutionAPIs = () => { + - return fetch("https://raw.githubusercontent.com/ethereum/execution-apis/ac19b518a2596221cd7cd6421ee3dc654d7ff3b7/refs-openrpc.json") + + return fetch("https://raw.githubusercontent.com/ethereum/execution-apis/f75d4cc8eeb5d1952bd69f901954686b74c34c9b/refs-openrpc.json") + ``` + 2. Once the change to `merge-openrpc.js` is merged, Step 5 in + [Update `MetaMask/api-specs`](#update-metamaskapi-specs) must be completed to publish the + changes to the MetaMask doc site. + +## Test analytics + +The [`docusaurus-plugin-segment`](https://github.com/xer0x/docusaurus-plugin-segment) plugin enables +simple usage analytics to inform documentation improvements. + +If you need to test analytics events in your local development environment, export the appropriate +key for the environment you are testing against before building and running the project: ```bash export SEGMENT_ANALYTICS_KEY="" diff --git a/developer-tools/dashboard/how-to/credit-usage.md b/developer-tools/dashboard/how-to/credit-usage.md new file mode 100644 index 00000000000..cfb6c1298f0 --- /dev/null +++ b/developer-tools/dashboard/how-to/credit-usage.md @@ -0,0 +1,31 @@ +--- +description: View your Infura credit usage stats. +--- + +# View credit usage + +:::info + +The [credit pricing model](../api/learn/pricing/) replaces request-based billing for free-tier (Core) +customers. Customers on Developer and Team plans will be transitioned to the credit model on +September 30, 2024. + +**Existing customers on Growth and Custom plans will remain on request-based billing**. +::: + +You can view your daily credit usage in relation to your daily credit quota limit. Daily credit usage +counts are reset everyday at 00:00 UTC for all customers. + +Select **View Usage** from the **Daily Credit Usage** section on the Infura dashboard, or select +the **Usage** tab from the **Settings** > **Billing** dropdown. + +View your usage for the previous 24 hours, 7 days, or 30 days by methods used, networks, or API key. + +
+
+ +
+
+ diff --git a/developer-tools/dashboard/how-to/secure-an-api/set-rate-limits.md b/developer-tools/dashboard/how-to/secure-an-api/set-rate-limits.md index 77ab9769891..4a0b7ab5a2d 100644 --- a/developer-tools/dashboard/how-to/secure-an-api/set-rate-limits.md +++ b/developer-tools/dashboard/how-to/secure-an-api/set-rate-limits.md @@ -4,21 +4,32 @@ description: Set rate limits to control access to the API key. # Rate limits -Set rate limits to control access to the API key and to limit costs in case of a leaked API key. Set rate limiting in the API key's -**Settings** tab **REQUESTS** section. +:::info + +The credit pricing model replaces the request-based billing for free-tier (Core) customers. +**Existing paid customers will not be immediately affected and will continue to limit the number of requests per second**. + +::: + +Set credit rate limits to control access to the API key and to limit costs in case of a leaked API key. +Set rate limiting in the API key's **Settings** tab **Key Credit Limits** section.
-
+
-- **PER SECOND REQUESTS RATE-LIMITING** restricts requests per second for the API key. Set the maximum number of requests per second in decimals, e.g. 1.2. Whenever the rate of requests exceeds this value, requests are rejected. When the rate of requests drops below the limit again, requests are accepted again. +- **PER SECOND CREDIT RATE-LIMITING** restricts credits per second (throughput) for the API key. Set + the maximum number of credits per second in whole numbers. When credits per second rate exceeds + this value, requests are rejected. When the credit rate drops below the limit, requests + are accepted again. - Decimal value 0.0 means default limits are applied. + The value `0` means default limits are applied. -- **PER DAY TOTAL REQUESTS** restricts total daily requests for the API key. Set a limit on number of requests per day in integers, e.g. 20000. Integer value 0 means default limits are applied. +- **PER DAY TOTAL CREDITS** restricts total daily credit usage for the API key. Set a limit on number of + credits per day in integers, e.g. 20000. The value `0` means default limits are applied. - When the number of requests reach this limit, all requests will be rejected until the next day (00:00 UTC). + When the number of used credits reach this limit, all requests will be rejected until the next day (00:00 UTC). diff --git a/developer-tools/dashboard/how-to/secure-an-api/use-an-allowlist.md b/developer-tools/dashboard/how-to/secure-an-api/use-an-allowlist.md index b244166351b..b443d4bed9e 100644 --- a/developer-tools/dashboard/how-to/secure-an-api/use-an-allowlist.md +++ b/developer-tools/dashboard/how-to/secure-an-api/use-an-allowlist.md @@ -65,7 +65,7 @@ To allow a specific Ethereum address, click **ADD** and input it into the **CONT Test with a method from the list. ```bash -curl https://mainnet.infura.io/v3/ \ +curl https://mainnet.infura.io/v3/ \ -H 'Content-Type: application/json' \ -X POST \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xfe05a3e72235c9f92fd9f2282f41a8154d6d342b", "latest"], "id": 1}' @@ -116,7 +116,7 @@ the **USER AGENTS** allowlist. Test with a simple call from a desktop terminal. ```bash -curl https://mainnet.infura.io/v3/ \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -214,7 +214,7 @@ This feature provides the following benefits: ## Best practices -- Ensure the `API-KEY-SECRET` is not exposed publicly, and include it in your requests. +- Ensure the API key secret is not exposed publicly, and include it in your requests. - Use all allowlist options wherever possible. - Create a new API key for each application. This allows you to allowlist the contract addresses relevant to that application. - Avoid committing your project keys to a repo by using a package like [dotenv](https://www.npmjs.com/package/dotenv). diff --git a/developer-tools/images/credit-usage.png b/developer-tools/images/credit-usage.png new file mode 100644 index 00000000000..1565a6d80c6 Binary files /dev/null and b/developer-tools/images/credit-usage.png differ diff --git a/developer-tools/images/rate-limiting-settings.png b/developer-tools/images/rate-limiting-settings.png index c4ef3c08575..e9c8a26c1f1 100644 Binary files a/developer-tools/images/rate-limiting-settings.png and b/developer-tools/images/rate-limiting-settings.png differ diff --git a/docs/whats-new.md b/docs/whats-new.md index fd1b67f19c7..75e5e386549 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -9,11 +9,30 @@ 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/). +## September 2024 + +- Documented new [Snaps custom UI JSX components](/snaps/features/custom-ui) for Flask + version 12.4, and removed documentation for deprecated function-based library. + ([#1540](https://github.com/MetaMask/metamask-docs/pull/1540)) +- Documented [Snaps user-defined components](/snaps/features/custom-ui/user-defined-components). + ([#1557](https://github.com/MetaMask/metamask-docs/pull/1557)) +- Updated [Android SDK documentation](/wallet/how-to/use-sdk/mobile/android) with convenience + methods and examples using coroutines. + ([#1546](https://github.com/MetaMask/metamask-docs/pull/1546)) +- Documented [Infura's credit pricing model](/services/get-started/pricing). + ([#1530](https://github.com/MetaMask/metamask-docs/pull/1530)) +- Added tutorial for [authenticating with JWT](/services/tutorials/ethereum/authenticate-with-jwt). + ([#1528](https://github.com/MetaMask/metamask-docs/pull/1528)) +- Documented [opBNB](/services/reference/opbnb) support. + ([#1528](https://github.com/MetaMask/metamask-docs/pull/1528)) + ## August 2024 +- *The documentation site underwent a temporary freeze in August.* - Updated [Starknet documentation](/services/reference/starknet) with API methods supported by new partners, Bware and Chainstack. ([#1483](https://github.com/MetaMask/metamask-docs/pull/1483)) ## July 2024 + - Documented [Binance Smart Chain](/services/reference/bnb-smart-chain/) support. ([#1458](https://github.com/MetaMask/metamask-docs/pull/1458)) - Documented [Celo WebSocket](/services/reference/celo/) support. ([#1446](https://github.com/MetaMask/metamask-docs/pull/1446)) - Documented [ZKsync Era WebSocket](/services/reference/zksync) support. ([#1438](https://github.com/MetaMask/metamask-docs/pull/1438)) diff --git a/docusaurus.config.js b/docusaurus.config.js index 1d8fe01a04b..841d837371c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -3,6 +3,7 @@ require("dotenv").config(); const { themes } = require("prism-react-renderer"); +const { REF_ALLOW_LOGIN_PATH } = require("./src/lib/constants"); const codeTheme = themes.dracula; const remarkCodesandbox = require("remark-codesandbox"); const isProd = process.env.NODE_ENV === "production"; @@ -32,6 +33,9 @@ const config = { customFields: { LD_CLIENT_ID: process.env.LD_CLIENT_ID, + VERCEL_ENV: process.env.VERCEL_ENV, + DASHBOARD_PREVIEW_URL: process.env.DASHBOARD_PREVIEW_URL, + SENTRY_KEY: process.env.SENTRY_KEY, }, trailingSlash: true, @@ -88,6 +92,7 @@ const config = { ], ], plugins: [ + "docusaurus-plugin-sass", [ "@docusaurus/plugin-content-docs", { @@ -158,22 +163,7 @@ const config = { ] : null, "./src/plugins/launchdarkly", - [ - "docusaurus-plugin-sentry", - { - DSN: "d3220b0812610810ddb5a911b3d97790", - configuration: { - sentry: { - init: { - replaysOnErrorSampleRate: isProd ? 1.0 : 0, - replaysSessionSampleRate: isProd ? 1.0 : 0, - sampleRate: isProd ? 0.25 : 0, - tracesSampleRate: 0, - }, - }, - }, - }, - ], + "./src/plugins/sentry", ], themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ @@ -220,6 +210,11 @@ const config = { label: "User support", position: "right", }, + { + type: "custom-navbarWallet", + position: "right", + includeUrl: REF_ALLOW_LOGIN_PATH, + }, /* Language drop down { type: "localeDropdown", diff --git a/package-lock.json b/package-lock.json index 7cf7c5060a9..7b963458112 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,25 +9,46 @@ "version": "0.0.0", "license": "(MIT OR Apache-2.0)", "dependencies": { + "@apidevtools/json-schema-ref-parser": "^11.6.4", "@docusaurus/core": "^3.0.0", "@docusaurus/plugin-content-docs": "^3.0.0", + "@docusaurus/plugin-content-pages": "^3.4.0", "@docusaurus/theme-common": "^3.0.0", "@docusaurus/theme-mermaid": "^3.0.0", + "@intercom/messenger-js-sdk": "^0.0.11", "@mdx-js/react": "^3.0.0", + "@metamask-previews/profile-sync-controller": "0.1.4-preview-16e6df4", "@metamask/design-tokens": "^1.11.1", "@metamask/docusaurus-openrpc": "^0.4.1", + "@metamask/sdk": "^0.28.1", + "@rjsf/core": "^5.18.4", + "@rjsf/utils": "^5.18.4", + "@rjsf/validator-ajv8": "^5.18.4", + "@types/react": "^18.3.3", "clsx": "^1.2.1", + "docusaurus-plugin-sass": "^0.2.5", "docusaurus-plugin-segment": "^1.0.4", + "docusaurus-plugin-sentry": "^2.0.0", "dotenv": "^16.4.5", + "ethers": "^6.13.2", + "js-cookie": "^3.0.5", + "jsonwebtoken": "^9.0.2", "launchdarkly-js-client-sdk": "^3.3.0", + "lodash.debounce": "^4.0.8", + "lodash.isobject": "^3.0.2", "node-polyfill-webpack-plugin": "^2.0.1", - "prettier": "^3.0.0", + "prettier": "^3.3.3", "prism-react-renderer": "^2.1.0", "react": "^18.0.0", + "react-alert": "^7.0.3", "react-dom": "^18.0.0", + "react-dropdown-select": "^4.11.2", + "react-modal": "^3.16.1", "react-player": "^2.13.0", + "react-tippy": "^1.4.0", "remark-codesandbox": "^0.10.1", - "remark-docusaurus-tabs": "^0.2.0" + "remark-docusaurus-tabs": "^0.2.0", + "sass": "^1.77.6" }, "devDependencies": { "@docusaurus/eslint-plugin": "^3.0.0", @@ -37,17 +58,24 @@ "@docusaurus/types": "^3.4.0", "@lavamoat/allow-scripts": "^3.0.4", "@tsconfig/docusaurus": "^1.0.5", + "@types/react-alert": "^7.0.6", + "@types/react-modal": "^3.16.3", "@typescript-eslint/parser": "^7.12.0", "eslint-plugin-react": "^7.34.2", "stylelint": "^15.0.0 ", "stylelint-config-standard": "^34.0.0", "tsc-files": "^1.1.4", - "typescript": "^5.4.5" + "typescript": "^5.5.4" }, "engines": { "node": ">=18.0" } }, + "node_modules/@adraffy/ens-normalize": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" + }, "node_modules/@algolia/autocomplete-core": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.9.3.tgz", @@ -90,74 +118,74 @@ } }, "node_modules/@algolia/cache-browser-local-storage": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.23.3.tgz", - "integrity": "sha512-vRHXYCpPlTDE7i6UOy2xE03zHF2C8MEFjPN2v7fRbqVpcOvAUQK81x3Kc21xyb5aSIpYCjWCZbYZuz8Glyzyyg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.24.0.tgz", + "integrity": "sha512-t63W9BnoXVrGy9iYHBgObNXqYXM3tYXCjDSHeNwnsc324r4o5UiVKUiAB4THQ5z9U5hTj6qUvwg/Ez43ZD85ww==", "dependencies": { - "@algolia/cache-common": "4.23.3" + "@algolia/cache-common": "4.24.0" } }, "node_modules/@algolia/cache-common": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.23.3.tgz", - "integrity": "sha512-h9XcNI6lxYStaw32pHpB1TMm0RuxphF+Ik4o7tcQiodEdpKK+wKufY6QXtba7t3k8eseirEMVB83uFFF3Nu54A==" + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.24.0.tgz", + "integrity": "sha512-emi+v+DmVLpMGhp0V9q9h5CdkURsNmFC+cOS6uK9ndeJm9J4TiqSvPYVu+THUP8P/S08rxf5x2P+p3CfID0Y4g==" }, "node_modules/@algolia/cache-in-memory": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.23.3.tgz", - "integrity": "sha512-yvpbuUXg/+0rbcagxNT7un0eo3czx2Uf0y4eiR4z4SD7SiptwYTpbuS0IHxcLHG3lq22ukx1T6Kjtk/rT+mqNg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.24.0.tgz", + "integrity": "sha512-gDrt2so19jW26jY3/MkFg5mEypFIPbPoXsQGQWAi6TrCPsNOSEYepBMPlucqWigsmEy/prp5ug2jy/N3PVG/8w==", "dependencies": { - "@algolia/cache-common": "4.23.3" + "@algolia/cache-common": "4.24.0" } }, "node_modules/@algolia/client-account": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.23.3.tgz", - "integrity": "sha512-hpa6S5d7iQmretHHF40QGq6hz0anWEHGlULcTIT9tbUssWUriN9AUXIFQ8Ei4w9azD0hc1rUok9/DeQQobhQMA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.24.0.tgz", + "integrity": "sha512-adcvyJ3KjPZFDybxlqnf+5KgxJtBjwTPTeyG2aOyoJvx0Y8dUQAEOEVOJ/GBxX0WWNbmaSrhDURMhc+QeevDsA==", "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/transporter": "4.23.3" + "@algolia/client-common": "4.24.0", + "@algolia/client-search": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/@algolia/client-analytics": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.23.3.tgz", - "integrity": "sha512-LBsEARGS9cj8VkTAVEZphjxTjMVCci+zIIiRhpFun9jGDUlS1XmhCW7CTrnaWeIuCQS/2iPyRqSy1nXPjcBLRA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.24.0.tgz", + "integrity": "sha512-y8jOZt1OjwWU4N2qr8G4AxXAzaa8DBvyHTWlHzX/7Me1LX8OayfgHexqrsL4vSBcoMmVw2XnVW9MhL+Y2ZDJXg==", "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" + "@algolia/client-common": "4.24.0", + "@algolia/client-search": "4.24.0", + "@algolia/requester-common": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/@algolia/client-common": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.23.3.tgz", - "integrity": "sha512-l6EiPxdAlg8CYhroqS5ybfIczsGUIAC47slLPOMDeKSVXYG1n0qGiz4RjAHLw2aD0xzh2EXZ7aRguPfz7UKDKw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.24.0.tgz", + "integrity": "sha512-bc2ROsNL6w6rqpl5jj/UywlIYC21TwSSoFHKl01lYirGMW+9Eek6r02Tocg4gZ8HAw3iBvu6XQiM3BEbmEMoiA==", "dependencies": { - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" + "@algolia/requester-common": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/@algolia/client-personalization": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/client-personalization/-/client-personalization-4.23.3.tgz", - "integrity": "sha512-3E3yF3Ocr1tB/xOZiuC3doHQBQ2zu2MPTYZ0d4lpfWads2WTKG7ZzmGnsHmm63RflvDeLK/UVx7j2b3QuwKQ2g==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-personalization/-/client-personalization-4.24.0.tgz", + "integrity": "sha512-l5FRFm/yngztweU0HdUzz1rC4yoWCFo3IF+dVIVTfEPg906eZg5BOd1k0K6rZx5JzyyoP4LdmOikfkfGsKVE9w==", "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" + "@algolia/client-common": "4.24.0", + "@algolia/requester-common": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/@algolia/client-search": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.23.3.tgz", - "integrity": "sha512-P4VAKFHqU0wx9O+q29Q8YVuaowaZ5EM77rxfmGnkHUJggh28useXQdopokgwMeYw2XUht49WX5RcTQ40rZIabw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.24.0.tgz", + "integrity": "sha512-uRW6EpNapmLAD0mW47OXqTP8eiIx5F6qN9/x/7HHO6owL3N1IXqydGwW5nhDFBrV+ldouro2W1VX3XlcUXEFCA==", "dependencies": { - "@algolia/client-common": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/transporter": "4.23.3" + "@algolia/client-common": "4.24.0", + "@algolia/requester-common": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/@algolia/events": { @@ -166,65 +194,65 @@ "integrity": "sha512-FQzvOCgoFXAbf5Y6mYozw2aj5KCJoA3m4heImceldzPSMbdyS4atVjJzXKMsfX3wnZTFYwkkt8/z8UesLHlSBQ==" }, "node_modules/@algolia/logger-common": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.23.3.tgz", - "integrity": "sha512-y9kBtmJwiZ9ZZ+1Ek66P0M68mHQzKRxkW5kAAXYN/rdzgDN0d2COsViEFufxJ0pb45K4FRcfC7+33YB4BLrZ+g==" + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.24.0.tgz", + "integrity": "sha512-LLUNjkahj9KtKYrQhFKCzMx0BY3RnNP4FEtO+sBybCjJ73E8jNdaKJ/Dd8A/VA4imVHP5tADZ8pn5B8Ga/wTMA==" }, "node_modules/@algolia/logger-console": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.23.3.tgz", - "integrity": "sha512-8xoiseoWDKuCVnWP8jHthgaeobDLolh00KJAdMe9XPrWPuf1by732jSpgy2BlsLTaT9m32pHI8CRfrOqQzHv3A==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.24.0.tgz", + "integrity": "sha512-X4C8IoHgHfiUROfoRCV+lzSy+LHMgkoEEU1BbKcsfnV0i0S20zyy0NLww9dwVHUWNfPPxdMU+/wKmLGYf96yTg==", "dependencies": { - "@algolia/logger-common": "4.23.3" + "@algolia/logger-common": "4.24.0" } }, "node_modules/@algolia/recommend": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/recommend/-/recommend-4.23.3.tgz", - "integrity": "sha512-9fK4nXZF0bFkdcLBRDexsnGzVmu4TSYZqxdpgBW2tEyfuSSY54D4qSRkLmNkrrz4YFvdh2GM1gA8vSsnZPR73w==", - "dependencies": { - "@algolia/cache-browser-local-storage": "4.23.3", - "@algolia/cache-common": "4.23.3", - "@algolia/cache-in-memory": "4.23.3", - "@algolia/client-common": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/logger-common": "4.23.3", - "@algolia/logger-console": "4.23.3", - "@algolia/requester-browser-xhr": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/requester-node-http": "4.23.3", - "@algolia/transporter": "4.23.3" + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/recommend/-/recommend-4.24.0.tgz", + "integrity": "sha512-P9kcgerfVBpfYHDfVZDvvdJv0lEoCvzNlOy2nykyt5bK8TyieYyiD0lguIJdRZZYGre03WIAFf14pgE+V+IBlw==", + "dependencies": { + "@algolia/cache-browser-local-storage": "4.24.0", + "@algolia/cache-common": "4.24.0", + "@algolia/cache-in-memory": "4.24.0", + "@algolia/client-common": "4.24.0", + "@algolia/client-search": "4.24.0", + "@algolia/logger-common": "4.24.0", + "@algolia/logger-console": "4.24.0", + "@algolia/requester-browser-xhr": "4.24.0", + "@algolia/requester-common": "4.24.0", + "@algolia/requester-node-http": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/@algolia/requester-browser-xhr": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.23.3.tgz", - "integrity": "sha512-jDWGIQ96BhXbmONAQsasIpTYWslyjkiGu0Quydjlowe+ciqySpiDUrJHERIRfELE5+wFc7hc1Q5hqjGoV7yghw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.24.0.tgz", + "integrity": "sha512-Z2NxZMb6+nVXSjF13YpjYTdvV3032YTBSGm2vnYvYPA6mMxzM3v5rsCiSspndn9rzIW4Qp1lPHBvuoKJV6jnAA==", "dependencies": { - "@algolia/requester-common": "4.23.3" + "@algolia/requester-common": "4.24.0" } }, "node_modules/@algolia/requester-common": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.23.3.tgz", - "integrity": "sha512-xloIdr/bedtYEGcXCiF2muajyvRhwop4cMZo+K2qzNht0CMzlRkm8YsDdj5IaBhshqfgmBb3rTg4sL4/PpvLYw==" + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.24.0.tgz", + "integrity": "sha512-k3CXJ2OVnvgE3HMwcojpvY6d9kgKMPRxs/kVohrwF5WMr2fnqojnycZkxPoEg+bXm8fi5BBfFmOqgYztRtHsQA==" }, "node_modules/@algolia/requester-node-http": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.23.3.tgz", - "integrity": "sha512-zgu++8Uj03IWDEJM3fuNl34s746JnZOWn1Uz5taV1dFyJhVM/kTNw9Ik7YJWiUNHJQXcaD8IXD1eCb0nq/aByA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.24.0.tgz", + "integrity": "sha512-JF18yTjNOVYvU/L3UosRcvbPMGT9B+/GQWNWnenIImglzNVGpyzChkXLnrSf6uxwVNO6ESGu6oN8MqcGQcjQJw==", "dependencies": { - "@algolia/requester-common": "4.23.3" + "@algolia/requester-common": "4.24.0" } }, "node_modules/@algolia/transporter": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.23.3.tgz", - "integrity": "sha512-Wjl5gttqnf/gQKJA+dafnD0Y6Yw97yvfY8R9h0dQltX1GXTgNs1zWgvtWW0tHl1EgMdhAyw189uWiZMnL3QebQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.24.0.tgz", + "integrity": "sha512-86nI7w6NzWxd1Zp9q3413dRshDqAzSbsQjhcDhPIatEFiZrL1/TjnHL8S7jVKFePlIMzDsZWXAXwXzcok9c5oA==", "dependencies": { - "@algolia/cache-common": "4.23.3", - "@algolia/logger-common": "4.23.3", - "@algolia/requester-common": "4.23.3" + "@algolia/cache-common": "4.24.0", + "@algolia/logger-common": "4.24.0", + "@algolia/requester-common": "4.24.0" } }, "node_modules/@ampproject/remapping": { @@ -239,6 +267,22 @@ "node": ">=6.0.0" } }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.7.0.tgz", + "integrity": "sha512-pRrmXMCwnmrkS3MLgAIW5dXRzeTv6GLjkjb4HmxNnvAKXN1Nfzp4KmGADBQvlVUcqi+a5D+hfGDLLnd5NnYxog==", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, "node_modules/@babel/code-frame": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", @@ -252,28 +296,28 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.7.tgz", - "integrity": "sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.7.tgz", - "integrity": "sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helpers": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -297,11 +341,11 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz", - "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "dependencies": { - "@babel/types": "^7.24.7", + "@babel/types": "^7.25.6", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -334,13 +378,13 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz", - "integrity": "sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "dependencies": { - "@babel/compat-data": "^7.24.7", - "@babel/helper-validator-option": "^7.24.7", - "browserslist": "^4.22.2", + "@babel/compat-data": "^7.25.2", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -357,18 +401,16 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.7.tgz", - "integrity": "sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.4.tgz", + "integrity": "sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-member-expression-to-functions": "^7.24.7", + "@babel/helper-member-expression-to-functions": "^7.24.8", "@babel/helper-optimise-call-expression": "^7.24.7", - "@babel/helper-replace-supers": "^7.24.7", + "@babel/helper-replace-supers": "^7.25.0", "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/traverse": "^7.25.4", "semver": "^6.3.1" }, "engines": { @@ -387,9 +429,9 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.24.7.tgz", - "integrity": "sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.2.tgz", + "integrity": "sha512-+wqVGP+DFmqwFD3EH6TMTfUNeqDehV3E/dl+Sd54eaXqm17tEUNbEIn4sVivVowbvUpOtIGxdo3GoXyDH9N/9g==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", "regexpu-core": "^5.3.1", @@ -425,47 +467,13 @@ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", - "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", - "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", - "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", - "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz", - "integrity": "sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.8.tgz", + "integrity": "sha512-LABppdt+Lp/RlBxqrh4qgf1oEH/WxdzQNDJIu5gC/W1GyvPVrOBiItmmM8wan2fm4oYqFuFfkXmlGpLQhPY8CA==", "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.24.8", + "@babel/types": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -484,15 +492,14 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz", - "integrity": "sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", "@babel/helper-module-imports": "^7.24.7", "@babel/helper-simple-access": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7" + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" }, "engines": { "node": ">=6.9.0" @@ -513,21 +520,21 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz", - "integrity": "sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.24.7.tgz", - "integrity": "sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.0.tgz", + "integrity": "sha512-NhavI2eWEIz/H9dbrG0TuOicDhNexze43i5z7lEqwYm0WEZVTwnPpA0EafUTP7+6/W79HWIP2cTe3Z5NiSTVpw==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-wrap-function": "^7.24.7" + "@babel/helper-wrap-function": "^7.25.0", + "@babel/traverse": "^7.25.0" }, "engines": { "node": ">=6.9.0" @@ -537,13 +544,13 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz", - "integrity": "sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.25.0.tgz", + "integrity": "sha512-q688zIvQVYtZu+i2PsdIu/uWGRpfxzr5WESsfpShfZECkO+d2o+WROWezCi/Q6kJ0tfPa5+pUGUlfx2HhrA3Bg==", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-member-expression-to-functions": "^7.24.7", - "@babel/helper-optimise-call-expression": "^7.24.7" + "@babel/helper-member-expression-to-functions": "^7.24.8", + "@babel/helper-optimise-call-expression": "^7.24.7", + "@babel/traverse": "^7.25.0" }, "engines": { "node": ">=6.9.0" @@ -576,21 +583,10 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", - "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz", - "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "engines": { "node": ">=6.9.0" } @@ -604,34 +600,33 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz", - "integrity": "sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.24.7.tgz", - "integrity": "sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.0.tgz", + "integrity": "sha512-s6Q1ebqutSiZnEjaofc/UKDyC4SbzV5n5SrA2Gq8UawLycr3i04f1dX4OzoQVnexm6aOCh37SQNYlJ/8Ku+PMQ==", "dependencies": { - "@babel/helper-function-name": "^7.24.7", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.7.tgz", - "integrity": "sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6" }, "engines": { "node": ">=6.9.0" @@ -716,9 +711,12 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", - "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", + "dependencies": { + "@babel/types": "^7.25.6" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -727,12 +725,26 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.7.tgz", - "integrity": "sha512-TiT1ss81W80eQsN+722OaeQMY/G4yTb4G9JrqeiDADs3N8lbPMGldWi9x8tyqCW5NLx1Jh2AvkE6r6QvEltMMQ==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.3.tgz", + "integrity": "sha512-wUrcsxZg6rqBXG05HG1FPYgsP6EvwF4WpBbxIpWIIYnH8wG0gzx3yZY3dtEHas4sTAOGkbTsc9EGPxwff8lRoA==", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/traverse": "^7.25.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.0.tgz", + "integrity": "sha512-Bm4bH2qsX880b/3ziJ8KD711LT7z4u8CFudmjqle65AZj/HNUFhEf90dqYv6O86buWvSBmeQDjv0Tn2aF/bIBA==", + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -742,11 +754,11 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.7.tgz", - "integrity": "sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.0.tgz", + "integrity": "sha512-lXwdNZtTmeVOOFtwM/WDe7yg1PL8sYhRk/XH0FzbR2HDQ0xC+EnQ/JHeoMYSavtU115tnUk0q9CDyq8si+LMAA==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -772,12 +784,12 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.7.tgz", - "integrity": "sha512-utA4HuR6F4Vvcr+o4DnjL8fCOlgRFGbeeBEGNg3ZTrLFw6VWG5XmUrvcQ0FjIYMU2ST4XcR2Wsp7t9qOAPnxMg==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.0.tgz", + "integrity": "sha512-tggFrk1AIShG/RUQbEwt2Tr/E+ObkfwrPjR6BjbRvsx24+PSjK8zrq0GWPNCjo8qpRx4DuJzlcvWJqlm+0h3kw==", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/traverse": "^7.25.0" }, "engines": { "node": ">=6.9.0" @@ -856,11 +868,11 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz", - "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.6.tgz", + "integrity": "sha512-aABl0jHw9bZ2karQ/uUD6XP4u0SG22SJrOHFoL6XB1R7dTovOP4TzTlsxOYC5yQ1pdscVK2JTUnF6QL3ARoAiQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -870,11 +882,11 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz", - "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz", + "integrity": "sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1014,11 +1026,11 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", - "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.4.tgz", + "integrity": "sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1057,14 +1069,14 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.7.tgz", - "integrity": "sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.4.tgz", + "integrity": "sha512-jz8cV2XDDTqjKPwVPJBIjORVEmSGYhdRa8e5k5+vN+uwcjSrSxUaebBRa4ko1jqNF2uxyg8G6XYk30Jv285xzg==", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-remap-async-to-generator": "^7.24.7", - "@babel/plugin-syntax-async-generators": "^7.8.4" + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-remap-async-to-generator": "^7.25.0", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/traverse": "^7.25.4" }, "engines": { "node": ">=6.9.0" @@ -1104,11 +1116,11 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.7.tgz", - "integrity": "sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.0.tgz", + "integrity": "sha512-yBQjYoOjXlFv9nlXb3f1casSHOZkWr29NX+zChVanLg5Nc157CrbEX9D7hxxtTpuFy7Q0YzmmWfJxzvps4kXrQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1118,12 +1130,12 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz", - "integrity": "sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.4.tgz", + "integrity": "sha512-nZeZHyCWPfjkdU5pA/uHiTaDAFUEqkpzf1YoQT2NeSynCGYq9rxfyI3XpQbfx/a0hSnFH6TGlEXvae5Vi7GD8g==", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.4", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1149,17 +1161,15 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.7.tgz", - "integrity": "sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.4.tgz", + "integrity": "sha512-oexUfaQle2pF/b6E0dwsxQtAol9TLSO88kQvym6HHBWFliV2lGdrPieX+WgMRLSJDVzdYywk7jXbLPuO2KLTLg==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-replace-supers": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-replace-supers": "^7.25.0", + "@babel/traverse": "^7.25.4", "globals": "^11.1.0" }, "engines": { @@ -1185,11 +1195,11 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.7.tgz", - "integrity": "sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.8.tgz", + "integrity": "sha512-36e87mfY8TnRxc7yc6M9g9gOB7rKgSahqkIKwLpz4Ppk2+zC2Cy1is0uwtuSG6AE4zlTOUa+7JGz9jCJGLqQFQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1227,6 +1237,21 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.0.tgz", + "integrity": "sha512-YLpb4LlYSc3sCUa35un84poXoraOiQucUTTu8X1j18JV+gNa8E0nyUf/CjZ171IRGr4jEguF+vzJU66QZhn29g==", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.0", + "@babel/helper-plugin-utils": "^7.24.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-transform-dynamic-import": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz", @@ -1288,13 +1313,13 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.7.tgz", - "integrity": "sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w==", + "version": "7.25.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.1.tgz", + "integrity": "sha512-TVVJVdW9RKMNgJJlLtHsKDTydjZAbwIsn6ySBPQaEAUU5+gVvlJt/9nRmqVbsV/IBanRjzWoaAQKLoamWVOUuA==", "dependencies": { - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-compilation-targets": "^7.24.8", + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/traverse": "^7.25.1" }, "engines": { "node": ">=6.9.0" @@ -1319,11 +1344,11 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz", - "integrity": "sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.2.tgz", + "integrity": "sha512-HQI+HcTbm9ur3Z2DkO+jgESMAMcYLuN/A7NRw9juzxAezN9AvqvUTnpKP/9kkYANz6u7dFlAyOu44ejuGySlfw==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1377,12 +1402,12 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.7.tgz", - "integrity": "sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.8.tgz", + "integrity": "sha512-WHsk9H8XxRs3JXKWFiqtQebdh9b/pTk4EgueygFzYlTKAg0Ud985mSevdNjdXdFBATSKVJGQXP1tv6aGbssLKA==", "dependencies": { - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-module-transforms": "^7.24.8", + "@babel/helper-plugin-utils": "^7.24.8", "@babel/helper-simple-access": "^7.24.7" }, "engines": { @@ -1393,14 +1418,14 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.7.tgz", - "integrity": "sha512-GYQE0tW7YoaN13qFh3O1NCY4MPkUiAH3fiF7UcV/I3ajmDKEdG3l+UOcbAm4zUE3gnvUU+Eni7XrVKo9eO9auw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.0.tgz", + "integrity": "sha512-YPJfjQPDXxyQWg/0+jHKj1llnY5f/R6a0p/vP4lPymxLu7Lvl4k2WMitqi08yxwQcCVUUdG9LCUj4TNEgAp3Jw==", "dependencies": { - "@babel/helper-hoist-variables": "^7.24.7", - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.0", + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.0" }, "engines": { "node": ">=6.9.0" @@ -1531,11 +1556,11 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.7.tgz", - "integrity": "sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.8.tgz", + "integrity": "sha512-5cTOLSMs9eypEy8JUVvIKOu6NgvbJMnpG62VpIHrTmROdQ+L5mDAaI40g25k5vXti55JWNX5jCkq3HZxXBQANw==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.8", "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", "@babel/plugin-syntax-optional-chaining": "^7.8.3" }, @@ -1561,12 +1586,12 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz", - "integrity": "sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.4.tgz", + "integrity": "sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw==", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.4", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1607,11 +1632,11 @@ } }, "node_modules/@babel/plugin-transform-react-constant-elements": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.24.7.tgz", - "integrity": "sha512-7LidzZfUXyfZ8/buRW6qIIHBY8wAZ1OrY9c/wTr8YhZ6vMPo+Uc/CVFLYY1spZrEQlD4w5u8wjqk5NQ3OVqQKA==", + "version": "7.25.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.25.1.tgz", + "integrity": "sha512-SLV/giH/V4SmloZ6Dt40HjTGTAIkxn33TVIHxNGNvo8ezMhrxBkzisj4op1KZYPIOHFLqhv60OHvX+YRu4xbmQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1635,15 +1660,15 @@ } }, "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.24.7.tgz", - "integrity": "sha512-+Dj06GDZEFRYvclU6k4bme55GKBEWUmByM/eoKuqg4zTNQHiApWRhQph5fxQB2wAEFvRzL1tOEj1RJ19wJrhoA==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.25.2.tgz", + "integrity": "sha512-KQsqEAVBpU82NM/B/N9j9WOdphom1SZH3R+2V7INrQUH+V9EBFwZsEJl8eBIVeQE62FxJCc70jzEZwqU7RcVqA==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.8", "@babel/plugin-syntax-jsx": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/types": "^7.25.2" }, "engines": { "node": ">=6.9.0" @@ -1711,14 +1736,14 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.7.tgz", - "integrity": "sha512-YqXjrk4C+a1kZjewqt+Mmu2UuV1s07y8kqcUf4qYLnoqemhR4gRQikhdAhSVJioMjVTu6Mo6pAbaypEA3jY6fw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.25.4.tgz", + "integrity": "sha512-8hsyG+KUYGY0coX6KUCDancA0Vw225KJ2HJO0yCNr1vq5r+lJTleDaJf0K7iOhjw4SWhu03TMBzYTJ9krmzULQ==", "dependencies": { "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.8", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.1", + "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", "semver": "^6.3.1" }, @@ -1795,11 +1820,11 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.7.tgz", - "integrity": "sha512-VtR8hDy7YLB7+Pet9IarXjg/zgCMSF+1mNS/EQEiEaUPoFXCVsHG64SIxcaaI2zJgRiv+YmgaQESUfWAdbjzgg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.8.tgz", + "integrity": "sha512-adNTUpDCVnmAE58VEqKlAA6ZBlNkMnWD0ZcW76lyNFN3MJniyGFZfNwERVk8Ap56MCnXztmDr19T4mPTztcuaw==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1809,13 +1834,14 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.24.7.tgz", - "integrity": "sha512-iLD3UNkgx2n/HrjBesVbYX6j0yqn/sJktvbtKKgcaLIQ4bTTQ8obAypc1VpyHPD2y4Phh9zHOaAt8e/L14wCpw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.25.2.tgz", + "integrity": "sha512-lBwRvjSmqiMYe/pS0+1gggjJleUJi7NzjvQ1Fkqtt69hBa/0t1YuW/MLQMAPixfwaQOHUXsd6jeU3Z+vdGv3+A==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-create-class-features-plugin": "^7.25.0", + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", "@babel/plugin-syntax-typescript": "^7.24.7" }, "engines": { @@ -1870,12 +1896,12 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz", - "integrity": "sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.4.tgz", + "integrity": "sha512-qesBxiWkgN1Q+31xUE9RcMk79eOXXDCv6tfyGMRSs4RGlioSg2WVyQAm07k726cSE56pa+Kb0y9epX2qaXzTvA==", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.2", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1885,18 +1911,19 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.7.tgz", - "integrity": "sha512-1YZNsc+y6cTvWlDHidMBsQZrZfEFjRIo/BZCT906PMdzOyXtSLTgqGdrpcuTDCXyd11Am5uQULtDIcCfnTc8fQ==", - "dependencies": { - "@babel/compat-data": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-validator-option": "^7.24.7", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.7", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.4.tgz", + "integrity": "sha512-W9Gyo+KmcxjGahtt3t9fb14vFRWvPpu5pT6GBlovAK6BTBcxgjfVMSQCfJl4oi35ODrxP6xx2Wr8LNST57Mraw==", + "dependencies": { + "@babel/compat-data": "^7.25.4", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-validator-option": "^7.24.8", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.3", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.0", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.0", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.7", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.0", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -1917,29 +1944,30 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.24.7", + "@babel/plugin-transform-async-generator-functions": "^7.25.4", "@babel/plugin-transform-async-to-generator": "^7.24.7", "@babel/plugin-transform-block-scoped-functions": "^7.24.7", - "@babel/plugin-transform-block-scoping": "^7.24.7", - "@babel/plugin-transform-class-properties": "^7.24.7", + "@babel/plugin-transform-block-scoping": "^7.25.0", + "@babel/plugin-transform-class-properties": "^7.25.4", "@babel/plugin-transform-class-static-block": "^7.24.7", - "@babel/plugin-transform-classes": "^7.24.7", + "@babel/plugin-transform-classes": "^7.25.4", "@babel/plugin-transform-computed-properties": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.7", + "@babel/plugin-transform-destructuring": "^7.24.8", "@babel/plugin-transform-dotall-regex": "^7.24.7", "@babel/plugin-transform-duplicate-keys": "^7.24.7", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.0", "@babel/plugin-transform-dynamic-import": "^7.24.7", "@babel/plugin-transform-exponentiation-operator": "^7.24.7", "@babel/plugin-transform-export-namespace-from": "^7.24.7", "@babel/plugin-transform-for-of": "^7.24.7", - "@babel/plugin-transform-function-name": "^7.24.7", + "@babel/plugin-transform-function-name": "^7.25.1", "@babel/plugin-transform-json-strings": "^7.24.7", - "@babel/plugin-transform-literals": "^7.24.7", + "@babel/plugin-transform-literals": "^7.25.2", "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", "@babel/plugin-transform-member-expression-literals": "^7.24.7", "@babel/plugin-transform-modules-amd": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.7", - "@babel/plugin-transform-modules-systemjs": "^7.24.7", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", + "@babel/plugin-transform-modules-systemjs": "^7.25.0", "@babel/plugin-transform-modules-umd": "^7.24.7", "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", "@babel/plugin-transform-new-target": "^7.24.7", @@ -1948,9 +1976,9 @@ "@babel/plugin-transform-object-rest-spread": "^7.24.7", "@babel/plugin-transform-object-super": "^7.24.7", "@babel/plugin-transform-optional-catch-binding": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.7", + "@babel/plugin-transform-optional-chaining": "^7.24.8", "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.25.4", "@babel/plugin-transform-private-property-in-object": "^7.24.7", "@babel/plugin-transform-property-literals": "^7.24.7", "@babel/plugin-transform-regenerator": "^7.24.7", @@ -1959,16 +1987,16 @@ "@babel/plugin-transform-spread": "^7.24.7", "@babel/plugin-transform-sticky-regex": "^7.24.7", "@babel/plugin-transform-template-literals": "^7.24.7", - "@babel/plugin-transform-typeof-symbol": "^7.24.7", + "@babel/plugin-transform-typeof-symbol": "^7.24.8", "@babel/plugin-transform-unicode-escapes": "^7.24.7", "@babel/plugin-transform-unicode-property-regex": "^7.24.7", "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@babel/plugin-transform-unicode-sets-regex": "^7.24.7", + "@babel/plugin-transform-unicode-sets-regex": "^7.25.4", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.4", + "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.31.0", + "core-js-compat": "^3.37.1", "semver": "^6.3.1" }, "engines": { @@ -2042,9 +2070,9 @@ "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==" }, "node_modules/@babel/runtime": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz", - "integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", + "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -2053,9 +2081,9 @@ } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.24.7.tgz", - "integrity": "sha512-eytSX6JLBY6PVAeQa2bFlDx/7Mmln/gaEpsit5a3WEvjGfiIytEsgAwuIXCPM0xvw0v0cJn3ilq0/TvXrW0kgA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.25.6.tgz", + "integrity": "sha512-Gz0Nrobx8szge6kQQ5Z5MX9L3ObqNwCQY1PSwSNzreFL7aHGxv8Fp2j3ETV6/wWdbiV+mW6OSm8oQhg3Tcsniw==", "dependencies": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" @@ -2065,31 +2093,28 @@ } }, "node_modules/@babel/template": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz", - "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.7.tgz", - "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-hoist-variables": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -2098,11 +2123,11 @@ } }, "node_modules/@babel/types": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.7.tgz", - "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "dependencies": { - "@babel/helper-string-parser": "^7.24.7", + "@babel/helper-string-parser": "^7.24.8", "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, @@ -2125,9 +2150,9 @@ } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.3.tgz", - "integrity": "sha512-xI/tL2zxzEbESvnSxwFgwvy5HS00oCXxL4MLs6HUiDcYfwowsoQaABKxUElp1ARITrINzBnsECOc1q0eg2GOrA==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.1.tgz", + "integrity": "sha512-2SJS42gxmACHgikc1WGesXLIT8d/q2l0UFM7TaEeIzdFCE/FPMtTiizcPGGJtlPo2xuQzY09OhrLTzRxqJqwGw==", "dev": true, "funding": [ { @@ -2143,13 +2168,13 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.3.1" + "@csstools/css-tokenizer": "^2.4.1" } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.3.1.tgz", - "integrity": "sha512-iMNHTyxLbBlWIfGtabT157LH9DUx9X8+Y3oymFEuMj8HNc+rpE3dPFGFgHjpKfjeFDjLjYIAIhXPGvS2lKxL9g==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.4.1.tgz", + "integrity": "sha512-eQ9DIktFJBhGjioABJRtUucoWR2mwllurfnM8LuNGAqX3ViZXaUchqk+1s7jjtkFiT9ySdACsFEA3etErkALUg==", "dev": true, "funding": [ { @@ -2166,9 +2191,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.11.tgz", - "integrity": "sha512-uox5MVhvNHqitPP+SynrB1o8oPxPMt2JLgp5ghJOWf54WGQ5OKu47efne49r1SWqs3wRP8xSWjnO9MBKxhB1dA==", + "version": "2.1.13", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.13.tgz", + "integrity": "sha512-XaHr+16KRU9Gf8XLi3q8kDlI18d5vzKSKCY510Vrtc9iNR0NJzbY9hhTmwhzYZj/ZwGL4VmB3TA9hJW0Um2qFA==", "dev": true, "funding": [ { @@ -2184,8 +2209,8 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.6.3", - "@csstools/css-tokenizer": "^2.3.1" + "@csstools/css-parser-algorithms": "^2.7.1", + "@csstools/css-tokenizer": "^2.4.1" } }, "node_modules/@csstools/selector-specificity": { @@ -2219,18 +2244,18 @@ } }, "node_modules/@docsearch/css": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.6.0.tgz", - "integrity": "sha512-+sbxb71sWre+PwDK7X2T8+bhS6clcVMLwBPznX45Qu6opJcgRjAp7gYSDzVFp187J+feSj5dNBN1mJoi6ckkUQ==" + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.6.1.tgz", + "integrity": "sha512-VtVb5DS+0hRIprU2CO6ZQjK2Zg4QU5HrDM1+ix6rT0umsYvFvatMAnf97NHZlVWDaaLlx7GRfR/7FikANiM2Fg==" }, "node_modules/@docsearch/react": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.6.0.tgz", - "integrity": "sha512-HUFut4ztcVNmqy9gp/wxNbC7pTOHhgVVkHVGCACTuLhUKUhKAF9KYHJtMiLUJxEqiFLQiuri1fWF8zqwM/cu1w==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.6.1.tgz", + "integrity": "sha512-qXZkEPvybVhSXj0K7U3bXc233tk5e8PfhoZ6MhPOiik/qUQxYC+Dn9DnoS7CxHQQhHfCvTiN0eY9M12oRghEXw==", "dependencies": { "@algolia/autocomplete-core": "1.9.3", "@algolia/autocomplete-preset-algolia": "1.9.3", - "@docsearch/css": "3.6.0", + "@docsearch/css": "3.6.1", "algoliasearch": "^4.19.1" }, "peerDependencies": { @@ -2255,9 +2280,9 @@ } }, "node_modules/@docusaurus/core": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-3.4.0.tgz", - "integrity": "sha512-g+0wwmN2UJsBqy2fQRQ6fhXruoEa62JDeEa5d8IdTJlMoaDaEDfHh7WjwGRn4opuTQWpjAwP/fbcgyHKlE+64w==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-3.5.2.tgz", + "integrity": "sha512-4Z1WkhCSkX4KO0Fw5m/Vuc7Q3NxBG53NE5u59Rs96fWkMPZVSrzEPP16/Nk6cWb/shK7xXPndTmalJtw7twL/w==", "dependencies": { "@babel/core": "^7.23.3", "@babel/generator": "^7.23.3", @@ -2269,12 +2294,12 @@ "@babel/runtime": "^7.22.6", "@babel/runtime-corejs3": "^7.22.6", "@babel/traverse": "^7.22.8", - "@docusaurus/cssnano-preset": "3.4.0", - "@docusaurus/logger": "3.4.0", - "@docusaurus/mdx-loader": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/cssnano-preset": "3.5.2", + "@docusaurus/logger": "3.5.2", + "@docusaurus/mdx-loader": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "autoprefixer": "^10.4.14", "babel-loader": "^9.1.3", "babel-plugin-dynamic-import-node": "^2.3.3", @@ -2335,14 +2360,15 @@ "node": ">=18.0" }, "peerDependencies": { + "@mdx-js/react": "^3.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" } }, "node_modules/@docusaurus/cssnano-preset": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/cssnano-preset/-/cssnano-preset-3.4.0.tgz", - "integrity": "sha512-qwLFSz6v/pZHy/UP32IrprmH5ORce86BGtN0eBtG75PpzQJAzp9gefspox+s8IEOr0oZKuQ/nhzZ3xwyc3jYJQ==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/cssnano-preset/-/cssnano-preset-3.5.2.tgz", + "integrity": "sha512-D3KiQXOMA8+O0tqORBrTOEQyQxNIfPm9jEaJoALjjSjc2M/ZAWcUfPQEnwr2JB2TadHw2gqWgpZckQmrVWkytA==", "dependencies": { "cssnano-preset-advanced": "^6.1.2", "postcss": "^8.4.38", @@ -2354,9 +2380,9 @@ } }, "node_modules/@docusaurus/eslint-plugin": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/eslint-plugin/-/eslint-plugin-3.4.0.tgz", - "integrity": "sha512-3Y9SwkxwY36TmsvZGyLZepifHbXIjZHMEFGuPcvtkFNnVgFIUkoAkf17GfwKKHnAloYVG/hpLV1m8q2BVKSLNQ==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/eslint-plugin/-/eslint-plugin-3.5.2.tgz", + "integrity": "sha512-9zBtXQwRgj2unY+peS5HIISvG7kDQDoWl8dZ+sN41B2qIctNUWpBFkFAPHZSPy2cvEDQwWshNpPYDjp+sv+CVA==", "dev": true, "dependencies": { "@typescript-eslint/utils": "^5.62.0", @@ -2370,9 +2396,9 @@ } }, "node_modules/@docusaurus/logger": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/logger/-/logger-3.4.0.tgz", - "integrity": "sha512-bZwkX+9SJ8lB9kVRkXw+xvHYSMGG4bpYHKGXeXFvyVc79NMeeBSGgzd4TQLHH+DYeOJoCdl8flrFJVxlZ0wo/Q==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/logger/-/logger-3.5.2.tgz", + "integrity": "sha512-LHC540SGkeLfyT3RHK3gAMK6aS5TRqOD4R72BEU/DE2M/TY8WwEUAMY576UUc/oNJXv8pGhBmQB6N9p3pt8LQw==", "dependencies": { "chalk": "^4.1.2", "tslib": "^2.6.0" @@ -2382,13 +2408,13 @@ } }, "node_modules/@docusaurus/mdx-loader": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-3.4.0.tgz", - "integrity": "sha512-kSSbrrk4nTjf4d+wtBA9H+FGauf2gCax89kV8SUSJu3qaTdSIKdWERlngsiHaCFgZ7laTJ8a67UFf+xlFPtuTw==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-3.5.2.tgz", + "integrity": "sha512-ku3xO9vZdwpiMIVd8BzWV0DCqGEbCP5zs1iHfKX50vw6jX8vQo0ylYo1YJMZyz6e+JFJ17HYHT5FzVidz2IflA==", "dependencies": { - "@docusaurus/logger": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/logger": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "@mdx-js/mdx": "^3.0.0", "@slorber/remark-comment": "^1.0.0", "escape-html": "^1.0.3", @@ -2420,11 +2446,11 @@ } }, "node_modules/@docusaurus/module-type-aliases": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/module-type-aliases/-/module-type-aliases-3.4.0.tgz", - "integrity": "sha512-A1AyS8WF5Bkjnb8s+guTDuYmUiwJzNrtchebBHpc0gz0PyHJNMaybUlSrmJjHVcGrya0LKI4YcR3lBDQfXRYLw==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/module-type-aliases/-/module-type-aliases-3.5.2.tgz", + "integrity": "sha512-Z+Xu3+2rvKef/YKTMxZHsEXp1y92ac0ngjDiExRdqGTmEKtCUpkbNYH8v5eXo5Ls+dnW88n6WTa+Q54kLOkwPg==", "dependencies": { - "@docusaurus/types": "3.4.0", + "@docusaurus/types": "3.5.2", "@types/history": "^4.7.11", "@types/react": "*", "@types/react-router-config": "*", @@ -2438,16 +2464,16 @@ } }, "node_modules/@docusaurus/plugin-client-redirects": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-3.4.0.tgz", - "integrity": "sha512-Pr8kyh/+OsmYCvdZhc60jy/FnrY6flD2TEAhl4rJxeVFxnvvRgEhoaIVX8q9MuJmaQoh6frPk94pjs7/6YgBDQ==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-3.5.2.tgz", + "integrity": "sha512-GMU0ZNoVG1DEsZlBbwLPdh0iwibrVZiRfmdppvX17SnByCVP74mb/Nne7Ss7ALgxQLtM4IHbXi8ij90VVjAJ+Q==", "dev": true, "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/logger": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/core": "3.5.2", + "@docusaurus/logger": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "eta": "^2.2.0", "fs-extra": "^11.1.1", "lodash": "^4.17.21", @@ -2462,18 +2488,19 @@ } }, "node_modules/@docusaurus/plugin-content-blog": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-3.4.0.tgz", - "integrity": "sha512-vv6ZAj78ibR5Jh7XBUT4ndIjmlAxkijM3Sx5MAAzC1gyv0vupDQNhzuFg1USQmQVj3P5I6bquk12etPV3LJ+Xw==", - "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/logger": "3.4.0", - "@docusaurus/mdx-loader": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", - "cheerio": "^1.0.0-rc.12", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-3.5.2.tgz", + "integrity": "sha512-R7ghWnMvjSf+aeNDH0K4fjyQnt5L0KzUEnUhmf1e3jZrv3wogeytZNN6n7X8yHcMsuZHPOrctQhXWnmxu+IRRg==", + "dependencies": { + "@docusaurus/core": "3.5.2", + "@docusaurus/logger": "3.5.2", + "@docusaurus/mdx-loader": "3.5.2", + "@docusaurus/theme-common": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", + "cheerio": "1.0.0-rc.12", "feed": "^4.2.2", "fs-extra": "^11.1.1", "lodash": "^4.17.21", @@ -2488,23 +2515,25 @@ "node": ">=18.0" }, "peerDependencies": { + "@docusaurus/plugin-content-docs": "*", "react": "^18.0.0", "react-dom": "^18.0.0" } }, "node_modules/@docusaurus/plugin-content-docs": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-3.4.0.tgz", - "integrity": "sha512-HkUCZffhBo7ocYheD9oZvMcDloRnGhBMOZRyVcAQRFmZPmNqSyISlXA1tQCIxW+r478fty97XXAGjNYzBjpCsg==", - "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/logger": "3.4.0", - "@docusaurus/mdx-loader": "3.4.0", - "@docusaurus/module-type-aliases": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-3.5.2.tgz", + "integrity": "sha512-Bt+OXn/CPtVqM3Di44vHjE7rPCEsRCB/DMo2qoOuozB9f7+lsdrHvD0QCHdBs0uhz6deYJDppAr2VgqybKPlVQ==", + "dependencies": { + "@docusaurus/core": "3.5.2", + "@docusaurus/logger": "3.5.2", + "@docusaurus/mdx-loader": "3.5.2", + "@docusaurus/module-type-aliases": "3.5.2", + "@docusaurus/theme-common": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "@types/react-router-config": "^5.0.7", "combine-promises": "^1.1.0", "fs-extra": "^11.1.1", @@ -2523,15 +2552,15 @@ } }, "node_modules/@docusaurus/plugin-content-pages": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-pages/-/plugin-content-pages-3.4.0.tgz", - "integrity": "sha512-h2+VN/0JjpR8fIkDEAoadNjfR3oLzB+v1qSXbIAKjQ46JAHx3X22n9nqS+BWSQnTnp1AjkjSvZyJMekmcwxzxg==", - "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/mdx-loader": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-pages/-/plugin-content-pages-3.5.2.tgz", + "integrity": "sha512-WzhHjNpoQAUz/ueO10cnundRz+VUtkjFhhaQ9jApyv1a46FPURO4cef89pyNIOMny1fjDz/NUN2z6Yi+5WUrCw==", + "dependencies": { + "@docusaurus/core": "3.5.2", + "@docusaurus/mdx-loader": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "fs-extra": "^11.1.1", "tslib": "^2.6.0", "webpack": "^5.88.1" @@ -2545,13 +2574,13 @@ } }, "node_modules/@docusaurus/plugin-debug": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-debug/-/plugin-debug-3.4.0.tgz", - "integrity": "sha512-uV7FDUNXGyDSD3PwUaf5YijX91T5/H9SX4ErEcshzwgzWwBtK37nUWPU3ZLJfeTavX3fycTOqk9TglpOLaWkCg==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-debug/-/plugin-debug-3.5.2.tgz", + "integrity": "sha512-kBK6GlN0itCkrmHuCS6aX1wmoWc5wpd5KJlqQ1FyrF0cLDnvsYSnh7+ftdwzt7G6lGBho8lrVwkkL9/iQvaSOA==", "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils": "3.4.0", + "@docusaurus/core": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils": "3.5.2", "fs-extra": "^11.1.1", "react-json-view-lite": "^1.2.0", "tslib": "^2.6.0" @@ -2565,13 +2594,13 @@ } }, "node_modules/@docusaurus/plugin-google-analytics": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-3.4.0.tgz", - "integrity": "sha512-mCArluxEGi3cmYHqsgpGGt3IyLCrFBxPsxNZ56Mpur0xSlInnIHoeLDH7FvVVcPJRPSQ9/MfRqLsainRw+BojA==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-3.5.2.tgz", + "integrity": "sha512-rjEkJH/tJ8OXRE9bwhV2mb/WP93V441rD6XnM6MIluu7rk8qg38iSxS43ga2V2Q/2ib53PcqbDEJDG/yWQRJhQ==", "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/core": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "tslib": "^2.6.0" }, "engines": { @@ -2583,13 +2612,13 @@ } }, "node_modules/@docusaurus/plugin-google-gtag": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-3.4.0.tgz", - "integrity": "sha512-Dsgg6PLAqzZw5wZ4QjUYc8Z2KqJqXxHxq3vIoyoBWiLEEfigIs7wHR+oiWUQy3Zk9MIk6JTYj7tMoQU0Jm3nqA==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-3.5.2.tgz", + "integrity": "sha512-lm8XL3xLkTPHFKKjLjEEAHUrW0SZBSHBE1I+i/tmYMBsjCcUB5UJ52geS5PSiOCFVR74tbPGcPHEV/gaaxFeSA==", "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/core": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "@types/gtag.js": "^0.0.12", "tslib": "^2.6.0" }, @@ -2602,13 +2631,13 @@ } }, "node_modules/@docusaurus/plugin-google-tag-manager": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-3.4.0.tgz", - "integrity": "sha512-O9tX1BTwxIhgXpOLpFDueYA9DWk69WCbDRrjYoMQtFHSkTyE7RhNgyjSPREUWJb9i+YUg3OrsvrBYRl64FCPCQ==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-3.5.2.tgz", + "integrity": "sha512-QkpX68PMOMu10Mvgvr5CfZAzZQFx8WLlOiUQ/Qmmcl6mjGK6H21WLT5x7xDmcpCoKA/3CegsqIqBR+nA137lQg==", "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/core": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "tslib": "^2.6.0" }, "engines": { @@ -2620,16 +2649,16 @@ } }, "node_modules/@docusaurus/plugin-sitemap": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-3.4.0.tgz", - "integrity": "sha512-+0VDvx9SmNrFNgwPoeoCha+tRoAjopwT0+pYO1xAbyLcewXSemq+eLxEa46Q1/aoOaJQ0qqHELuQM7iS2gp33Q==", - "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/logger": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-3.5.2.tgz", + "integrity": "sha512-DnlqYyRAdQ4NHY28TfHuVk414ft2uruP4QWCH//jzpHjqvKyXjj2fmDtI8RPUBh9K8iZKFMHRnLtzJKySPWvFA==", + "dependencies": { + "@docusaurus/core": "3.5.2", + "@docusaurus/logger": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "fs-extra": "^11.1.1", "sitemap": "^7.1.1", "tslib": "^2.6.0" @@ -2643,26 +2672,26 @@ } }, "node_modules/@docusaurus/theme-classic": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-3.4.0.tgz", - "integrity": "sha512-0IPtmxsBYv2adr1GnZRdMkEQt1YW6tpzrUPj02YxNpvJ5+ju4E13J5tB4nfdaen/tfR1hmpSPlTFPvTf4kwy8Q==", - "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/mdx-loader": "3.4.0", - "@docusaurus/module-type-aliases": "3.4.0", - "@docusaurus/plugin-content-blog": "3.4.0", - "@docusaurus/plugin-content-docs": "3.4.0", - "@docusaurus/plugin-content-pages": "3.4.0", - "@docusaurus/theme-common": "3.4.0", - "@docusaurus/theme-translations": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-3.5.2.tgz", + "integrity": "sha512-XRpinSix3NBv95Rk7xeMF9k4safMkwnpSgThn0UNQNumKvmcIYjfkwfh2BhwYh/BxMXQHJ/PdmNh22TQFpIaYg==", + "dependencies": { + "@docusaurus/core": "3.5.2", + "@docusaurus/mdx-loader": "3.5.2", + "@docusaurus/module-type-aliases": "3.5.2", + "@docusaurus/plugin-content-blog": "3.5.2", + "@docusaurus/plugin-content-docs": "3.5.2", + "@docusaurus/plugin-content-pages": "3.5.2", + "@docusaurus/theme-common": "3.5.2", + "@docusaurus/theme-translations": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "@mdx-js/react": "^3.0.0", "clsx": "^2.0.0", "copy-text-to-clipboard": "^3.2.0", - "infima": "0.2.0-alpha.43", + "infima": "0.2.0-alpha.44", "lodash": "^4.17.21", "nprogress": "^0.2.0", "postcss": "^8.4.26", @@ -2690,17 +2719,14 @@ } }, "node_modules/@docusaurus/theme-common": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-3.4.0.tgz", - "integrity": "sha512-0A27alXuv7ZdCg28oPE8nH/Iz73/IUejVaCazqu9elS4ypjiLhK3KfzdSQBnL/g7YfHSlymZKdiOHEo8fJ0qMA==", - "dependencies": { - "@docusaurus/mdx-loader": "3.4.0", - "@docusaurus/module-type-aliases": "3.4.0", - "@docusaurus/plugin-content-blog": "3.4.0", - "@docusaurus/plugin-content-docs": "3.4.0", - "@docusaurus/plugin-content-pages": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-3.5.2.tgz", + "integrity": "sha512-QXqlm9S6x9Ibwjs7I2yEDgsCocp708DrCrgHgKwg2n2AY0YQ6IjU0gAK35lHRLOvAoJUfCKpQAwUykB0R7+Eew==", + "dependencies": { + "@docusaurus/mdx-loader": "3.5.2", + "@docusaurus/module-type-aliases": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", "@types/history": "^4.7.11", "@types/react": "*", "@types/react-router-config": "*", @@ -2714,6 +2740,7 @@ "node": ">=18.0" }, "peerDependencies": { + "@docusaurus/plugin-content-docs": "*", "react": "^18.0.0", "react-dom": "^18.0.0" } @@ -2727,15 +2754,15 @@ } }, "node_modules/@docusaurus/theme-mermaid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/theme-mermaid/-/theme-mermaid-3.4.0.tgz", - "integrity": "sha512-3w5QW0HEZ2O6x2w6lU3ZvOe1gNXP2HIoKDMJBil1VmLBc9PmpAG17VmfhI/p3L2etNmOiVs5GgniUqvn8AFEGQ==", - "dependencies": { - "@docusaurus/core": "3.4.0", - "@docusaurus/module-type-aliases": "3.4.0", - "@docusaurus/theme-common": "3.4.0", - "@docusaurus/types": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/theme-mermaid/-/theme-mermaid-3.5.2.tgz", + "integrity": "sha512-7vWCnIe/KoyTN1Dc55FIyqO5hJ3YaV08Mr63Zej0L0mX1iGzt+qKSmeVUAJ9/aOalUhF0typV0RmNUSy5FAmCg==", + "dependencies": { + "@docusaurus/core": "3.5.2", + "@docusaurus/module-type-aliases": "3.5.2", + "@docusaurus/theme-common": "3.5.2", + "@docusaurus/types": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "mermaid": "^10.4.0", "tslib": "^2.6.0" }, @@ -2748,18 +2775,18 @@ } }, "node_modules/@docusaurus/theme-search-algolia": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-3.4.0.tgz", - "integrity": "sha512-aiHFx7OCw4Wck1z6IoShVdUWIjntC8FHCw9c5dR8r3q4Ynh+zkS8y2eFFunN/DL6RXPzpnvKCg3vhLQYJDmT9Q==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-3.5.2.tgz", + "integrity": "sha512-qW53kp3VzMnEqZGjakaV90sst3iN1o32PH+nawv1uepROO8aEGxptcq2R5rsv7aBShSRbZwIobdvSYKsZ5pqvA==", "dependencies": { "@docsearch/react": "^3.5.2", - "@docusaurus/core": "3.4.0", - "@docusaurus/logger": "3.4.0", - "@docusaurus/plugin-content-docs": "3.4.0", - "@docusaurus/theme-common": "3.4.0", - "@docusaurus/theme-translations": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-validation": "3.4.0", + "@docusaurus/core": "3.5.2", + "@docusaurus/logger": "3.5.2", + "@docusaurus/plugin-content-docs": "3.5.2", + "@docusaurus/theme-common": "3.5.2", + "@docusaurus/theme-translations": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-validation": "3.5.2", "algoliasearch": "^4.18.0", "algoliasearch-helper": "^3.13.3", "clsx": "^2.0.0", @@ -2786,9 +2813,9 @@ } }, "node_modules/@docusaurus/theme-translations": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/theme-translations/-/theme-translations-3.4.0.tgz", - "integrity": "sha512-zSxCSpmQCCdQU5Q4CnX/ID8CSUUI3fvmq4hU/GNP/XoAWtXo9SAVnM3TzpU8Gb//H3WCsT8mJcTfyOk3d9ftNg==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/theme-translations/-/theme-translations-3.5.2.tgz", + "integrity": "sha512-GPZLcu4aT1EmqSTmbdpVrDENGR2yObFEX8ssEFYTCiAIVc0EihNSdOIBTazUvgNqwvnoU1A8vIs1xyzc3LITTw==", "dependencies": { "fs-extra": "^11.1.1", "tslib": "^2.6.0" @@ -2798,15 +2825,15 @@ } }, "node_modules/@docusaurus/tsconfig": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/tsconfig/-/tsconfig-3.4.0.tgz", - "integrity": "sha512-0qENiJ+TRaeTzcg4olrnh0BQ7eCxTgbYWBnWUeQDc84UYkt/T3pDNnm3SiQkqPb+YQ1qtYFlC0RriAElclo8Dg==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/tsconfig/-/tsconfig-3.5.2.tgz", + "integrity": "sha512-rQ7toURCFnWAIn8ubcquDs0ewhPwviMzxh6WpRjBW7sJVCXb6yzwUaY3HMNa0VXCFw+qkIbFywrMTf+Pb4uHWQ==", "dev": true }, "node_modules/@docusaurus/types": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-3.4.0.tgz", - "integrity": "sha512-4jcDO8kXi5Cf9TcyikB/yKmz14f2RZ2qTRerbHAsS+5InE9ZgSLBNLsewtFTcTOXSVcbU3FoGOzcNWAmU1TR0A==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-3.5.2.tgz", + "integrity": "sha512-N6GntLXoLVUwkZw7zCxwy9QiuEXIcTVzA9AkmNw16oc0AP3SXLrMmDMMBIfgqwuKWa6Ox6epHol9kMtJqekACw==", "dependencies": { "@mdx-js/mdx": "^3.0.0", "@types/history": "^4.7.11", @@ -2824,12 +2851,12 @@ } }, "node_modules/@docusaurus/utils": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/utils/-/utils-3.4.0.tgz", - "integrity": "sha512-fRwnu3L3nnWaXOgs88BVBmG1yGjcQqZNHG+vInhEa2Sz2oQB+ZjbEMO5Rh9ePFpZ0YDiDUhpaVjwmS+AU2F14g==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/utils/-/utils-3.5.2.tgz", + "integrity": "sha512-33QvcNFh+Gv+C2dP9Y9xWEzMgf3JzrpL2nW9PopidiohS1nDcyknKRx2DWaFvyVTTYIkkABVSr073VTj/NITNA==", "dependencies": { - "@docusaurus/logger": "3.4.0", - "@docusaurus/utils-common": "3.4.0", + "@docusaurus/logger": "3.5.2", + "@docusaurus/utils-common": "3.5.2", "@svgr/webpack": "^8.1.0", "escape-string-regexp": "^4.0.0", "file-loader": "^6.2.0", @@ -2862,9 +2889,9 @@ } }, "node_modules/@docusaurus/utils-common": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/utils-common/-/utils-common-3.4.0.tgz", - "integrity": "sha512-NVx54Wr4rCEKsjOH5QEVvxIqVvm+9kh7q8aYTU5WzUU9/Hctd6aTrcZ3G0Id4zYJ+AeaG5K5qHA4CY5Kcm2iyQ==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/utils-common/-/utils-common-3.5.2.tgz", + "integrity": "sha512-i0AZjHiRgJU6d7faQngIhuHKNrszpL/SHQPgF1zH4H+Ij6E9NBYGy6pkcGWToIv7IVPbs+pQLh1P3whn0gWXVg==", "dependencies": { "tslib": "^2.6.0" }, @@ -2881,13 +2908,13 @@ } }, "node_modules/@docusaurus/utils-validation": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@docusaurus/utils-validation/-/utils-validation-3.4.0.tgz", - "integrity": "sha512-hYQ9fM+AXYVTWxJOT1EuNaRnrR2WGpRdLDQG07O8UOpsvCPWUVOeo26Rbm0JWY2sGLfzAb+tvJ62yF+8F+TV0g==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@docusaurus/utils-validation/-/utils-validation-3.5.2.tgz", + "integrity": "sha512-m+Foq7augzXqB6HufdS139PFxDC5d5q2QKZy8q0qYYvGdI6nnlNsGH4cIGsgBnV7smz+mopl3g4asbSDvMV0jA==", "dependencies": { - "@docusaurus/logger": "3.4.0", - "@docusaurus/utils": "3.4.0", - "@docusaurus/utils-common": "3.4.0", + "@docusaurus/logger": "3.5.2", + "@docusaurus/utils": "3.5.2", + "@docusaurus/utils-common": "3.5.2", "fs-extra": "^11.2.0", "joi": "^17.9.2", "js-yaml": "^4.1.0", @@ -2898,37 +2925,248 @@ "node": ">=18.0" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + "node_modules/@emotion/babel-plugin": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.12.0.tgz", + "integrity": "sha512-y2WQb+oP8Jqvvclh8Q55gLUyb7UFvgv7eJfsj7td5TToBrIUtPay2kMrZi4xjq9qw2vD0ZR5fSho0yqoFgX7Rw==", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/serialize": "^1.2.0", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" } }, - "node_modules/@fortawesome/fontawesome-common-types": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.5.2.tgz", - "integrity": "sha512-gBxPg3aVO6J0kpfHNILc+NMhXnqHumFxOmjYCFfOiLZfwhnnfhtsdA2hfJlDnj+8PjAs6kKQPenOTKj3Rf7zHw==", - "hasInstallScript": true, + "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + }, + "node_modules/@emotion/babel-plugin/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", "engines": { - "node": ">=6" + "node": ">=0.10.0" } }, - "node_modules/@fortawesome/fontawesome-svg-core": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.5.2.tgz", - "integrity": "sha512-5CdaCBGl8Rh9ohNdxeeTMxIj8oc3KNBgIeLMvJosBMdslK/UnEB8rzyDRrbKdL1kDweqBPo4GT9wvnakHWucZw==", - "hasInstallScript": true, + "node_modules/@emotion/babel-plugin/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/@emotion/cache": { + "version": "11.13.1", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.13.1.tgz", + "integrity": "sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw==", + "dependencies": { + "@emotion/memoize": "^0.9.0", + "@emotion/sheet": "^1.4.0", + "@emotion/utils": "^1.4.0", + "@emotion/weak-memoize": "^0.4.0", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/cache/node_modules/@emotion/weak-memoize": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz", + "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==" + }, + "node_modules/@emotion/cache/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, + "node_modules/@emotion/hash": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", + "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==" + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.3.0.tgz", + "integrity": "sha512-SHetuSLvJDzuNbOdtPVbq6yMMMlLoW5Q94uDqJZqy50gcmAjxFkVqmzqSGEFq9gT2iMuIeKV1PXVWmvUhuZLlQ==", + "dependencies": { + "@emotion/memoize": "^0.9.0" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", + "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==" + }, + "node_modules/@emotion/react": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.0.tgz", + "integrity": "sha512-ZSK3ZJsNkwfjT3JpDAWJZlrGD81Z3ytNDsxw1LKq1o+xkmO5pnWfr6gmCC8gHEFf3nSSX/09YrG67jybNPxSUw==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.1.tgz", + "integrity": "sha512-dEPNKzBPU+vFPGa+z3axPRn8XVDetYORmDC0wAiej+TNcOZE70ZMJa0X7JdeoM6q/nWTMZeLpN/fTnD9o8MQBA==", + "dependencies": { + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/unitless": "^0.10.0", + "@emotion/utils": "^1.4.0", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/sheet": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz", + "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==" + }, + "node_modules/@emotion/styled": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz", + "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/is-prop-valid": "^1.2.1", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz", + "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==" + }, + "node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.1.0.tgz", + "integrity": "sha512-+wBOcIV5snwGgI2ya3u99D7/FJquOIniQT1IKyDsBmEgwvpxMNeS65Oib7OnE2d2aY+3BU4OiH+0Wchf8yk3Hw==", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.0.tgz", + "integrity": "sha512-spEnrA1b6hDR/C68lC2M7m6ALPUHZC0lIY7jAS/B/9DuuO1ZP04eov8SMv/6fwRd8pzmsn2AuJEznRREWlQrlQ==" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", + "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" + }, + "node_modules/@endo/env-options": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@endo/env-options/-/env-options-1.1.6.tgz", + "integrity": "sha512-Uqy94PwLTco90Yfign43muvDtjsYTbL6Ck4W5sSWQUqJiFOL+YP8kiBOoGyQynDsGTY0MCQvMxEPfphaJKnzlQ==" + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, "dependencies": { - "@fortawesome/fontawesome-common-types": "6.5.2" + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@ethereumjs/common": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-3.2.0.tgz", + "integrity": "sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "crc-32": "^1.2.0" + } + }, + "node_modules/@ethereumjs/rlp": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz", + "integrity": "sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@ethereumjs/tx": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.2.0.tgz", + "integrity": "sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==", + "dependencies": { + "@ethereumjs/common": "^3.2.0", + "@ethereumjs/rlp": "^4.0.1", + "@ethereumjs/util": "^8.1.0", + "ethereum-cryptography": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@ethereumjs/util": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", + "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@fortawesome/fontawesome-common-types": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.6.0.tgz", + "integrity": "sha512-xyX0X9mc0kyz9plIyryrRbl7ngsA9jz77mCZJsUkLl+ZKs0KWObgaEBoSgQiYWAsSmjz/yjl0F++Got0Mdp4Rw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/fontawesome-svg-core": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.6.0.tgz", + "integrity": "sha512-KHwPkCk6oRT4HADE7smhfsKudt9N/9lm6EJ5BVg0tD1yPA5hht837fB87F8pn15D8JfTqQOjhKTktwmLMiD7Kg==", + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.6.0" }, "engines": { "node": ">=6" @@ -2959,6 +3197,11 @@ "@hapi/hoek": "^9.0.0" } }, + "node_modules/@intercom/messenger-js-sdk": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@intercom/messenger-js-sdk/-/messenger-js-sdk-0.0.11.tgz", + "integrity": "sha512-jBHXO2+cGoBHYQMPaLP8eUm4AREcTWXlfd9shlBLSyEkFuW8+So/ynUDlftvWYz81KvGohRWYauw6vLRH/AlfA==" + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -3042,9 +3285,9 @@ } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", @@ -3055,6 +3298,11 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + }, "node_modules/@json-schema-spec/json-pointer": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@json-schema-spec/json-pointer/-/json-pointer-0.1.2.tgz", @@ -3095,9 +3343,9 @@ "integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==" }, "node_modules/@lavamoat/aa": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@lavamoat/aa/-/aa-4.2.0.tgz", - "integrity": "sha512-pVpBmSkGldOsRoF7axIMtyg+9euU2DsZ/kvYFSRCa7z0PkH2mCTXtowrCXph3R12D0bQY7ffXYJQGL/aDplYtA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@lavamoat/aa/-/aa-4.3.0.tgz", + "integrity": "sha512-Kwf64RpLDvWCzHdG1IEItGf0JfMH9DyjBhIAj1NNJQzmKIaFE/DCc6INKJu7iVqp7aVdKaVB3aJlV4/lKOmJDg==", "dev": true, "dependencies": { "resolve": "1.22.8" @@ -3106,18 +3354,18 @@ "lavamoat-ls": "src/cli.js" }, "engines": { - "node": "^16.20.0 || ^18.0.0 || ^20.0.0" + "node": "^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0" } }, "node_modules/@lavamoat/allow-scripts": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@lavamoat/allow-scripts/-/allow-scripts-3.0.4.tgz", - "integrity": "sha512-0BXKxGiZBP2sRCbj+m8T6Xhiuv521/Kn6+otmRd7Fb/JiR5N2ys4ae5GSrhqYw6qDVhh3Xro0NpUJ0B3bpu2wQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@lavamoat/allow-scripts/-/allow-scripts-3.2.1.tgz", + "integrity": "sha512-QaQ68XsT027OsEl3JlbKaPST6ZbMuYpe8RQXqbG34FOAni6Kcz4BvBvVK8iZBz0eOREaQcojmER2f829eh57dw==", "dev": true, "dependencies": { - "@lavamoat/aa": "^4.2.0", - "@npmcli/run-script": "7.0.4", - "bin-links": "4.0.3", + "@lavamoat/aa": "^4.3.0", + "@npmcli/run-script": "8.1.0", + "bin-links": "4.0.4", "npm-normalize-package-bin": "3.0.1", "yargs": "17.7.2" }, @@ -3125,7 +3373,10 @@ "allow-scripts": "src/cli.js" }, "engines": { - "node": "^16.20.0 || ^18.0.0 || ^20.0.0" + "node": "^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0" + }, + "peerDependencies": { + "@lavamoat/preinstall-always-fail": "*" } }, "node_modules/@leichtgewicht/ip-codec": { @@ -3183,6 +3434,58 @@ "react": ">=16" } }, + "node_modules/@metamask-previews/profile-sync-controller": { + "version": "0.1.4-preview-16e6df4", + "resolved": "https://registry.npmjs.org/@metamask-previews/profile-sync-controller/-/profile-sync-controller-0.1.4-preview-16e6df4.tgz", + "integrity": "sha512-5g2oVkCtsxc3jrizQjRrIi/7HPhtSf4hL6kZu9bVCO9ZrcOELJprab628z69fyVlW1ygCRrTHxr6daAJf0l1MA==", + "dependencies": { + "@metamask/base-controller": "^6.0.2", + "@metamask/snaps-sdk": "^6.1.1", + "@metamask/snaps-utils": "^7.8.1", + "@noble/ciphers": "^0.5.2", + "@noble/hashes": "^1.4.0", + "immer": "^9.0.6", + "loglevel": "^1.8.1", + "siwe": "^2.3.2" + }, + "engines": { + "node": "^18.18 || >=20" + }, + "peerDependencies": { + "@metamask/snaps-controllers": "^9.3.0" + } + }, + "node_modules/@metamask/base-controller": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@metamask/base-controller/-/base-controller-6.0.3.tgz", + "integrity": "sha512-neUqsCXRT6QYcZO51y6Y5u9NPTHuxgNsW5Z4h///o1gDdV8lBeIG/b1ne+QPK422DZMAm4ChnkG1DDNf4PkErw==", + "dependencies": { + "@metamask/utils": "^9.1.0", + "immer": "^9.0.6" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, + "node_modules/@metamask/controller-utils": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@metamask/controller-utils/-/controller-utils-11.3.0.tgz", + "integrity": "sha512-5b+Jg9sKKESzvQcuipHC1D7KSh98MVIi7hXQUk7iX+YVMl4KoKDv94Bl+li8g+jCBshMOV9bRMRh25/hdEvTZQ==", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "@metamask/eth-query": "^4.0.0", + "@metamask/ethjs-unit": "^0.3.0", + "@metamask/utils": "^9.1.0", + "@spruceid/siwe-parser": "2.1.0", + "@types/bn.js": "^5.1.5", + "bn.js": "^5.2.1", + "eth-ens-namehash": "^2.0.8", + "fast-deep-equal": "^3.1.3" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, "node_modules/@metamask/design-tokens": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/@metamask/design-tokens/-/design-tokens-1.12.0.tgz", @@ -3191,65 +3494,633 @@ "node": ">=12.0.0" } }, - "node_modules/@metamask/docusaurus-openrpc": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@metamask/docusaurus-openrpc/-/docusaurus-openrpc-0.4.1.tgz", - "integrity": "sha512-D1vEROn8dr68QZRewEHRmAchzWmGnWiFo48plfulZ1/ppuoCIQfCB1PDGMhPa7LISyENnJbfEj3pP9lDzbKLlg==", + "node_modules/@metamask/docusaurus-openrpc": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@metamask/docusaurus-openrpc/-/docusaurus-openrpc-0.4.1.tgz", + "integrity": "sha512-D1vEROn8dr68QZRewEHRmAchzWmGnWiFo48plfulZ1/ppuoCIQfCB1PDGMhPa7LISyENnJbfEj3pP9lDzbKLlg==", + "dependencies": { + "@docusaurus/core": "^3.0.0", + "@docusaurus/plugin-content-blog": "^3.0.0", + "@docusaurus/plugin-content-docs": "^3.0.0", + "@docusaurus/plugin-content-pages": "^3.0.0", + "@docusaurus/plugin-debug": "^3.0.0", + "@docusaurus/plugin-google-analytics": "^3.0.0", + "@docusaurus/plugin-google-gtag": "^3.0.0", + "@docusaurus/plugin-google-tag-manager": "^3.0.0", + "@docusaurus/plugin-sitemap": "^3.0.0", + "@docusaurus/theme-classic": "^3.0.0", + "@docusaurus/theme-common": "^3.0.0", + "@docusaurus/theme-search-algolia": "^3.0.0", + "@docusaurus/types": "^3.0.0", + "@metamask/open-rpc-docs-react": "^0.2.0", + "@open-rpc/schema-utils-js": "^1.16.1", + "node-polyfill-webpack-plugin": "^2.0.1", + "process": "^0.11.10" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@docusaurus/core": "^3.0.0", + "@docusaurus/theme-common": "^3.0.0", + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, + "node_modules/@metamask/eth-query": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@metamask/eth-query/-/eth-query-4.0.0.tgz", + "integrity": "sha512-j2yPO2axYGyxwdqXRRhk2zBijt1Nd/xKCIXQkzvfWac0sKP0L9mSt1ZxMOe/sOF1SwS2R+NSaq+gsQDsQvrC4Q==", + "dependencies": { + "json-rpc-random-id": "^1.0.0", + "xtend": "^4.0.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/ethjs-unit": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@metamask/ethjs-unit/-/ethjs-unit-0.3.0.tgz", + "integrity": "sha512-HZtg69ODXYS9+ovKUYofZuIAwq4fc2/MGazD4vBQRKWMhPu4ySdmgR0EuzbxEK4uhr18KA4pbL+mCYjyjGxY7w==", + "dependencies": { + "@metamask/number-to-bn": "^1.7.1", + "bn.js": "^5.2.1" + }, + "engines": { + "node": ">=8.17.0", + "npm": ">=6" + }, + "peerDependencies": { + "@babel/runtime": "^7.0.0" + } + }, + "node_modules/@metamask/json-rpc-engine": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@metamask/json-rpc-engine/-/json-rpc-engine-8.0.2.tgz", + "integrity": "sha512-IoQPmql8q7ABLruW7i4EYVHWUbF74yrp63bRuXV5Zf9BQwcn5H9Ww1eLtROYvI1bUXwOiHZ6qT5CWTrDc/t/AA==", + "dependencies": { + "@metamask/rpc-errors": "^6.2.1", + "@metamask/safe-event-emitter": "^3.0.0", + "@metamask/utils": "^8.3.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-8.5.0.tgz", + "integrity": "sha512-I6bkduevXb72TIM9q2LRO63JSsF9EXduh3sBr9oybNX2hNNpr/j1tEjXrsG0Uabm4MJ1xkGAQEMwifvKZIkyxQ==", + "dependencies": { + "@ethereumjs/tx": "^4.2.0", + "@metamask/superstruct": "^3.0.0", + "@noble/hashes": "^1.3.1", + "@scure/base": "^1.1.3", + "@types/debug": "^4.1.7", + "debug": "^4.3.4", + "pony-cause": "^2.1.10", + "semver": "^7.5.4", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/json-rpc-engine/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@metamask/json-rpc-middleware-stream": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@metamask/json-rpc-middleware-stream/-/json-rpc-middleware-stream-7.0.2.tgz", + "integrity": "sha512-yUdzsJK04Ev98Ck4D7lmRNQ8FPioXYhEUZOMS01LXW8qTvPGiRVXmVltj2p4wrLkh0vW7u6nv0mNl5xzC5Qmfg==", + "dependencies": { + "@metamask/json-rpc-engine": "^8.0.2", + "@metamask/safe-event-emitter": "^3.0.0", + "@metamask/utils": "^8.3.0", + "readable-stream": "^3.6.2" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/json-rpc-middleware-stream/node_modules/@metamask/utils": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-8.5.0.tgz", + "integrity": "sha512-I6bkduevXb72TIM9q2LRO63JSsF9EXduh3sBr9oybNX2hNNpr/j1tEjXrsG0Uabm4MJ1xkGAQEMwifvKZIkyxQ==", + "dependencies": { + "@ethereumjs/tx": "^4.2.0", + "@metamask/superstruct": "^3.0.0", + "@noble/hashes": "^1.3.1", + "@scure/base": "^1.1.3", + "@types/debug": "^4.1.7", + "debug": "^4.3.4", + "pony-cause": "^2.1.10", + "semver": "^7.5.4", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/json-rpc-middleware-stream/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@metamask/key-tree": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/@metamask/key-tree/-/key-tree-9.1.2.tgz", + "integrity": "sha512-oznbIDlIn7bQsyf/RVhuVX9TsK+QUlTDeksUjBjTPKhGkFHAgn9duBHPE8P30VcCdWlt/oYSqfJVC5WK1/OXKw==", + "dependencies": { + "@metamask/scure-bip39": "^2.1.1", + "@metamask/utils": "^9.0.0", + "@noble/curves": "^1.2.0", + "@noble/hashes": "^1.3.2", + "@scure/base": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/number-to-bn": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@metamask/number-to-bn/-/number-to-bn-1.7.1.tgz", + "integrity": "sha512-qCN+Au4amvcVii2LdOJNndYhdmk5Lk9tlStJhKpZ8tGeYQDJTghqYXJuSUVPHvfl6FUfKY1i1Or2j2EbnEerSQ==", + "dependencies": { + "bn.js": "5.2.1", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=8.17.0", + "npm": ">=6" + } + }, + "node_modules/@metamask/object-multiplex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@metamask/object-multiplex/-/object-multiplex-2.0.0.tgz", + "integrity": "sha512-+ItrieVZie3j2LfYE0QkdW3dsEMfMEp419IGx1zyeLqjRZ14iQUPRO0H6CGgfAAoC0x6k2PfCAGRwJUA9BMrqA==", + "dependencies": { + "once": "^1.4.0", + "readable-stream": "^3.6.2" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" + } + }, + "node_modules/@metamask/onboarding": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@metamask/onboarding/-/onboarding-1.0.1.tgz", + "integrity": "sha512-FqHhAsCI+Vacx2qa5mAFcWNSrTcVGMNjzxVgaX8ECSny/BJ9/vgXP9V7WF/8vb9DltPeQkxr+Fnfmm6GHfmdTQ==", + "dependencies": { + "bowser": "^2.9.0" + } + }, + "node_modules/@metamask/open-rpc-docs-react": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@metamask/open-rpc-docs-react/-/open-rpc-docs-react-0.2.0.tgz", + "integrity": "sha512-lR0RuLLq9D5i3cRFw6osqwKtkl25+uDjmpvkLCCER32q7FWFYqF1v7X1XYlvQciZKwyQaOFukaCFT/tOrjEUdg==", + "dependencies": { + "@json-schema-tools/traverse": "^1.10.1", + "@open-rpc/examples": "^1.6.1", + "@rjsf/core": "^5.6.2", + "@rjsf/utils": "^5.6.2", + "@rjsf/validator-ajv8": "^5.6.2", + "@stoplight/json-schema-viewer": "^4.9.1", + "@stoplight/markdown-viewer": "^5", + "@stoplight/mosaic": "^1.32", + "@stoplight/mosaic-code-viewer": "^1.32", + "hash-color-material": "^1.1.3", + "lodash": "^4.17.15", + "qs": "^6.11.1", + "react-markdown": "^8.0.7", + "react-syntax-highlighter": "^15.4.3" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, + "node_modules/@metamask/permission-controller": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@metamask/permission-controller/-/permission-controller-11.0.2.tgz", + "integrity": "sha512-hB+xaxrpAXx2rQiwGvUG3XucWJxipWXlo9/T3VTo9b3JQPZCB536tJafRBK8eP9THMxkAz7VPwAD2f075mN5SQ==", + "dependencies": { + "@metamask/base-controller": "^7.0.1", + "@metamask/controller-utils": "^11.3.0", + "@metamask/json-rpc-engine": "^9.0.3", + "@metamask/rpc-errors": "^6.3.1", + "@metamask/utils": "^9.1.0", + "@types/deep-freeze-strict": "^1.1.0", + "deep-freeze-strict": "^1.1.1", + "immer": "^9.0.6", + "nanoid": "^3.1.31" + }, + "engines": { + "node": "^18.18 || >=20" + }, + "peerDependencies": { + "@metamask/approval-controller": "^7.0.0" + } + }, + "node_modules/@metamask/permission-controller/node_modules/@metamask/base-controller": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@metamask/base-controller/-/base-controller-7.0.1.tgz", + "integrity": "sha512-U1strOKT4v/kSJ2h4tgn9iUVVuv5Ja64J+OR145ITHd4574FaUYVJR80/imn6WmCbo8B6AYwHwEovdZ5qLGSKw==", + "dependencies": { + "@metamask/utils": "^9.1.0", + "immer": "^9.0.6" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, + "node_modules/@metamask/permission-controller/node_modules/@metamask/json-rpc-engine": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@metamask/json-rpc-engine/-/json-rpc-engine-9.0.3.tgz", + "integrity": "sha512-efeRXW7KaL0BJcAeudSGhzu6sD3hMpxx9nl3V+Yemm1bsyc66yVUhYPR+XH+Y6ZvB2p05ywgvd1Ev5PBwFzr/g==", + "dependencies": { + "@metamask/rpc-errors": "^6.3.1", + "@metamask/safe-event-emitter": "^3.0.0", + "@metamask/utils": "^9.1.0" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, + "node_modules/@metamask/providers": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@metamask/providers/-/providers-16.1.0.tgz", + "integrity": "sha512-znVCvux30+3SaUwcUGaSf+pUckzT5ukPRpcBmy+muBLC0yaWnBcvDqGfcsw6CBIenUdFrVoAFa8B6jsuCY/a+g==", + "dependencies": { + "@metamask/json-rpc-engine": "^8.0.1", + "@metamask/json-rpc-middleware-stream": "^7.0.1", + "@metamask/object-multiplex": "^2.0.0", + "@metamask/rpc-errors": "^6.2.1", + "@metamask/safe-event-emitter": "^3.1.1", + "@metamask/utils": "^8.3.0", + "detect-browser": "^5.2.0", + "extension-port-stream": "^3.0.0", + "fast-deep-equal": "^3.1.3", + "is-stream": "^2.0.0", + "readable-stream": "^3.6.2", + "webextension-polyfill": "^0.10.0" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, + "node_modules/@metamask/providers/node_modules/@metamask/utils": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-8.5.0.tgz", + "integrity": "sha512-I6bkduevXb72TIM9q2LRO63JSsF9EXduh3sBr9oybNX2hNNpr/j1tEjXrsG0Uabm4MJ1xkGAQEMwifvKZIkyxQ==", + "dependencies": { + "@ethereumjs/tx": "^4.2.0", + "@metamask/superstruct": "^3.0.0", + "@noble/hashes": "^1.3.1", + "@scure/base": "^1.1.3", + "@types/debug": "^4.1.7", + "debug": "^4.3.4", + "pony-cause": "^2.1.10", + "semver": "^7.5.4", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/providers/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@metamask/rpc-errors": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-6.3.1.tgz", + "integrity": "sha512-ugDY7cKjF4/yH5LtBaOIKHw/AiGGSAmzptAUEiAEGr/78LwuzcXAxmzEQfSfMIfI+f9Djr8cttq1pRJJKfTuCg==", + "dependencies": { + "@metamask/utils": "^9.0.0", + "fast-safe-stringify": "^2.0.6" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/safe-event-emitter": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@metamask/safe-event-emitter/-/safe-event-emitter-3.1.1.tgz", + "integrity": "sha512-ihb3B0T/wJm1eUuArYP4lCTSEoZsClHhuWyfo/kMX3m/odpqNcPfsz5O2A3NT7dXCAgWPGDQGPqygCpgeniKMw==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@metamask/scure-bip39": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@metamask/scure-bip39/-/scure-bip39-2.1.1.tgz", + "integrity": "sha512-1K8aBsAqr6+8jWhguVl06n8e+zjV9sUnys+5PLyVU4mb8LbulQ60F6cq7iQys3xX/yCwKt1+7c7j2nuTEpW+ZQ==", + "dependencies": { + "@noble/hashes": "~1.3.2", + "@scure/base": "~1.1.3" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" + } + }, + "node_modules/@metamask/scure-bip39/node_modules/@noble/hashes": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.3.tgz", + "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@metamask/sdk": { + "version": "0.28.4", + "resolved": "https://registry.npmjs.org/@metamask/sdk/-/sdk-0.28.4.tgz", + "integrity": "sha512-RjWBKPNesjeua2SXIDF9IvYALOSsOQyqHv5DPPK0Voskytk7y+2n/33ocbC1BH5hTLI4hDPH+BuCpXJRWs3/Yg==", + "dependencies": { + "@metamask/onboarding": "^1.0.1", + "@metamask/providers": "16.1.0", + "@metamask/sdk-communication-layer": "0.28.2", + "@metamask/sdk-install-modal-web": "0.28.1", + "@types/dom-screen-wake-lock": "^1.0.0", + "@types/uuid": "^10.0.0", + "bowser": "^2.9.0", + "cross-fetch": "^4.0.0", + "debug": "^4.3.4", + "eciesjs": "^0.3.15", + "eth-rpc-errors": "^4.0.3", + "eventemitter2": "^6.4.7", + "i18next": "23.11.5", + "i18next-browser-languagedetector": "7.1.0", + "obj-multiplex": "^1.0.0", + "pump": "^3.0.0", + "qrcode-terminal-nooctal": "^0.12.1", + "react-native-webview": "^11.26.0", + "readable-stream": "^3.6.2", + "rollup-plugin-visualizer": "^5.9.2", + "socket.io-client": "^4.5.1", + "util": "^0.12.4", + "uuid": "^8.3.2" + }, + "peerDependencies": { + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/@metamask/sdk-communication-layer": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.28.2.tgz", + "integrity": "sha512-kGx6qgP482DecPILnIS38bgxIjNransR3/Jh5Lfg9BXJLaXpq/MEGrjHGnJHAqCyfRymnd5cgexHtXJvQtRWQA==", + "dependencies": { + "bufferutil": "^4.0.8", + "date-fns": "^2.29.3", + "debug": "^4.3.4", + "utf-8-validate": "^5.0.2", + "uuid": "^8.3.2" + }, + "peerDependencies": { + "cross-fetch": "^4.0.0", + "eciesjs": "^0.3.16", + "eventemitter2": "^6.4.7", + "readable-stream": "^3.6.2", + "socket.io-client": "^4.5.1" + } + }, + "node_modules/@metamask/sdk-install-modal-web": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@metamask/sdk-install-modal-web/-/sdk-install-modal-web-0.28.1.tgz", + "integrity": "sha512-mHkIjWTpYQMPDMtLEEtTVXhae4pEjy7jDBfV7497L0U3VCPQrBl/giZBwA6AgKEX1emYcM2d1WRHWR9N4YhyJA==", + "dependencies": { + "qr-code-styling": "^1.6.0-rc.1" + }, + "peerDependencies": { + "i18next": "23.11.5", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-native": "*" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, + "node_modules/@metamask/slip44": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@metamask/slip44/-/slip44-3.1.0.tgz", + "integrity": "sha512-bFlJ8jhTYJ4iQ0zgh2WMO2615UJ4Ne5J831EjsqKYaZs3qd6UTw/cy76hAmSxhnBluNAH5S6zZzxESLrTitCmQ==", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@metamask/snaps-registry": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@metamask/snaps-registry/-/snaps-registry-3.2.1.tgz", + "integrity": "sha512-MnG1BBJk4UK9iJArK+h/iz8wlt+xjsvgnj0k39p5658hWZu6cuumHoV1EIupCwsCv7XXOBLc8iAgjvITXKC1FQ==", + "dependencies": { + "@metamask/superstruct": "^3.1.0", + "@metamask/utils": "^9.0.0", + "@noble/curves": "^1.2.0", + "@noble/hashes": "^1.3.2" + }, + "engines": { + "node": "^18.16 || >=20" + } + }, + "node_modules/@metamask/snaps-sdk": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@metamask/snaps-sdk/-/snaps-sdk-6.5.0.tgz", + "integrity": "sha512-MHNbCQ/4+HwIyWAHlrLbokoO3CGNTod696FGi3WjYHlKC/1fLE06q8jE/NzuixY11Q6wkShBBk2u7MBGLyLp0w==", + "dependencies": { + "@metamask/key-tree": "^9.1.2", + "@metamask/providers": "^17.1.2", + "@metamask/rpc-errors": "^6.3.1", + "@metamask/superstruct": "^3.1.0", + "@metamask/utils": "^9.2.1" + }, + "engines": { + "node": "^18.16 || >=20" + } + }, + "node_modules/@metamask/snaps-sdk/node_modules/@metamask/json-rpc-engine": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@metamask/json-rpc-engine/-/json-rpc-engine-9.0.3.tgz", + "integrity": "sha512-efeRXW7KaL0BJcAeudSGhzu6sD3hMpxx9nl3V+Yemm1bsyc66yVUhYPR+XH+Y6ZvB2p05ywgvd1Ev5PBwFzr/g==", + "dependencies": { + "@metamask/rpc-errors": "^6.3.1", + "@metamask/safe-event-emitter": "^3.0.0", + "@metamask/utils": "^9.1.0" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, + "node_modules/@metamask/snaps-sdk/node_modules/@metamask/json-rpc-middleware-stream": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/@metamask/json-rpc-middleware-stream/-/json-rpc-middleware-stream-8.0.3.tgz", + "integrity": "sha512-x0rh4EzzLtkpBi7adrAZ2qSAXBwk4knARZdR1j5YOyXYN7r0AeoTiTgmw7pfrUIF62x2si+WAOMm9R1hWNteGw==", + "dependencies": { + "@metamask/json-rpc-engine": "^9.0.3", + "@metamask/safe-event-emitter": "^3.0.0", + "@metamask/utils": "^9.1.0", + "readable-stream": "^3.6.2" + }, + "engines": { + "node": "^18.18 || >=20" + } + }, + "node_modules/@metamask/snaps-sdk/node_modules/@metamask/providers": { + "version": "17.2.0", + "resolved": "https://registry.npmjs.org/@metamask/providers/-/providers-17.2.0.tgz", + "integrity": "sha512-99EIsZo1vIuA7Wc9ruWOd9LGr0GCqEY9lR0/hcjasUZH31MGUe0H/0NdMcz2tRXhsYRvt6M+2lsM4dDG1+atRw==", + "dependencies": { + "@metamask/json-rpc-engine": "^9.0.1", + "@metamask/json-rpc-middleware-stream": "^8.0.1", + "@metamask/object-multiplex": "^2.0.0", + "@metamask/rpc-errors": "^6.3.1", + "@metamask/safe-event-emitter": "^3.1.1", + "@metamask/utils": "^9.0.0", + "detect-browser": "^5.2.0", + "extension-port-stream": "^4.1.0", + "fast-deep-equal": "^3.1.3", + "is-stream": "^2.0.0", + "readable-stream": "^3.6.2" + }, + "engines": { + "node": "^18.18 || >=20" + }, + "peerDependencies": { + "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" + } + }, + "node_modules/@metamask/snaps-sdk/node_modules/extension-port-stream": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/extension-port-stream/-/extension-port-stream-4.2.0.tgz", + "integrity": "sha512-i5IgiPVMVrHN+Zx8PRjvFsOw8L1A3sboVwPZghDjW9Yp1BMmBDE6mCcTNu4xMXPYduBOwI3CBK7wd72LcOyD6g==", "dependencies": { - "@docusaurus/core": "^3.0.0", - "@docusaurus/plugin-content-blog": "^3.0.0", - "@docusaurus/plugin-content-docs": "^3.0.0", - "@docusaurus/plugin-content-pages": "^3.0.0", - "@docusaurus/plugin-debug": "^3.0.0", - "@docusaurus/plugin-google-analytics": "^3.0.0", - "@docusaurus/plugin-google-gtag": "^3.0.0", - "@docusaurus/plugin-google-tag-manager": "^3.0.0", - "@docusaurus/plugin-sitemap": "^3.0.0", - "@docusaurus/theme-classic": "^3.0.0", - "@docusaurus/theme-common": "^3.0.0", - "@docusaurus/theme-search-algolia": "^3.0.0", - "@docusaurus/types": "^3.0.0", - "@metamask/open-rpc-docs-react": "^0.2.0", - "@open-rpc/schema-utils-js": "^1.16.1", - "node-polyfill-webpack-plugin": "^2.0.1", - "process": "^0.11.10" + "readable-stream": "^3.6.2 || ^4.4.2" }, "engines": { - "node": ">=16.0.0" + "node": ">=12.0.0" }, "peerDependencies": { - "@docusaurus/core": "^3.0.0", - "@docusaurus/theme-common": "^3.0.0", - "react": "^18.0.0", - "react-dom": "^18.0.0" + "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0" } }, - "node_modules/@metamask/open-rpc-docs-react": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@metamask/open-rpc-docs-react/-/open-rpc-docs-react-0.2.0.tgz", - "integrity": "sha512-lR0RuLLq9D5i3cRFw6osqwKtkl25+uDjmpvkLCCER32q7FWFYqF1v7X1XYlvQciZKwyQaOFukaCFT/tOrjEUdg==", + "node_modules/@metamask/snaps-utils": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/@metamask/snaps-utils/-/snaps-utils-7.8.1.tgz", + "integrity": "sha512-v0xNoiWeJGHvtJqP0aU5dj+phqpV6vKCJoV5tNBXl8/AvMTaV2YL4SLO/z+PTo0RWZFplgAuuDsY254kAXi9Fw==", "dependencies": { - "@json-schema-tools/traverse": "^1.10.1", - "@open-rpc/examples": "^1.6.1", - "@rjsf/core": "^5.6.2", - "@rjsf/utils": "^5.6.2", - "@rjsf/validator-ajv8": "^5.6.2", - "@stoplight/json-schema-viewer": "^4.9.1", - "@stoplight/markdown-viewer": "^5", - "@stoplight/mosaic": "^1.32", - "@stoplight/mosaic-code-viewer": "^1.32", - "hash-color-material": "^1.1.3", - "lodash": "^4.17.15", - "qs": "^6.11.1", - "react-markdown": "^8.0.7", - "react-syntax-highlighter": "^15.4.3" + "@babel/core": "^7.23.2", + "@babel/types": "^7.23.0", + "@metamask/base-controller": "^6.0.2", + "@metamask/key-tree": "^9.1.2", + "@metamask/permission-controller": "^11.0.0", + "@metamask/rpc-errors": "^6.3.1", + "@metamask/slip44": "^3.1.0", + "@metamask/snaps-registry": "^3.2.1", + "@metamask/snaps-sdk": "^6.1.0", + "@metamask/superstruct": "^3.1.0", + "@metamask/utils": "^9.1.0", + "@noble/hashes": "^1.3.1", + "@scure/base": "^1.1.1", + "chalk": "^4.1.2", + "cron-parser": "^4.5.0", + "fast-deep-equal": "^3.1.3", + "fast-json-stable-stringify": "^2.1.0", + "fast-xml-parser": "^4.3.4", + "marked": "^12.0.1", + "rfdc": "^1.3.0", + "semver": "^7.5.4", + "ses": "^1.1.0", + "validate-npm-package-name": "^5.0.0" }, + "engines": { + "node": "^18.16 || >=20" + } + }, + "node_modules/@metamask/superstruct": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@metamask/superstruct/-/superstruct-3.1.0.tgz", + "integrity": "sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA==", "engines": { "node": ">=16.0.0" + } + }, + "node_modules/@metamask/utils": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-9.2.1.tgz", + "integrity": "sha512-/u663aUaB6+Xe75i3Mt/1cCljm41HDYIsna5oBrwGvgkY2zH7/9k9Zjd706cxoAbxN7QgLSVAReUiGnuxCuXrQ==", + "dependencies": { + "@ethereumjs/tx": "^4.2.0", + "@metamask/superstruct": "^3.1.0", + "@noble/hashes": "^1.3.1", + "@scure/base": "^1.1.3", + "@types/debug": "^4.1.7", + "debug": "^4.3.4", + "pony-cause": "^2.1.10", + "semver": "^7.5.4", + "uuid": "^9.0.1" }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/utils/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" } }, "node_modules/@ndhoule/each": { @@ -3273,6 +4144,39 @@ "@ndhoule/each": "^2.0.1" } }, + "node_modules/@noble/ciphers": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", + "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/curves": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", + "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", + "dependencies": { + "@noble/hashes": "1.5.0" + }, + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3322,13 +4226,10 @@ } }, "node_modules/@npmcli/agent/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/@npmcli/fs": { "version": "3.1.1", @@ -3343,12 +4244,13 @@ } }, "node_modules/@npmcli/git": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.7.tgz", - "integrity": "sha512-WaOVvto604d5IpdCRV2KjQu8PzkfE96d50CQGKgywXh2GxXmDeUO5EWcBC4V57uFyrNqx83+MewuJh3WTR3xPA==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.8.tgz", + "integrity": "sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ==", "dev": true, "dependencies": { "@npmcli/promise-spawn": "^7.0.0", + "ini": "^4.1.3", "lru-cache": "^10.0.1", "npm-pick-manifest": "^9.0.0", "proc-log": "^4.0.0", @@ -3362,13 +4264,10 @@ } }, "node_modules/@npmcli/git/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/@npmcli/node-gyp": { "version": "3.0.0", @@ -3410,15 +4309,16 @@ } }, "node_modules/@npmcli/run-script": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-7.0.4.tgz", - "integrity": "sha512-9ApYM/3+rBt9V80aYg6tZfzj3UWdiYyCt7gJUD1VJKvWF5nwKDSICXbYIQbspFTq6TOpbsEtIC0LArB8d9PFmg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-8.1.0.tgz", + "integrity": "sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==", "dev": true, "dependencies": { "@npmcli/node-gyp": "^3.0.0", "@npmcli/package-json": "^5.0.0", "@npmcli/promise-spawn": "^7.0.0", "node-gyp": "^10.0.0", + "proc-log": "^4.0.0", "which": "^4.0.0" }, "engines": { @@ -3500,9 +4400,9 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "node_modules/@pnpm/npm-conf": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz", - "integrity": "sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.3.1.tgz", + "integrity": "sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==", "dependencies": { "@pnpm/config.env-replace": "^1.1.0", "@pnpm/network.ca-file": "^1.0.1", @@ -3613,22 +4513,22 @@ } }, "node_modules/@react-types/checkbox": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.8.1.tgz", - "integrity": "sha512-5/oVByPw4MbR/8QSdHCaalmyWC71H/QGgd4aduTJSaNi825o+v/hsN2/CH7Fq9atkLKsC8fvKD00Bj2VGaKriQ==", + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.8.3.tgz", + "integrity": "sha512-f4c1mnLEt0iS1NMkyZXgT3q3AgcxzDk7w6MSONOKydcnh0xG5L2oefY14DhVDLkAuQS7jThlUFwiAs+MxiO3MA==", "dependencies": { - "@react-types/shared": "^3.23.1" + "@react-types/shared": "^3.24.1" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" } }, "node_modules/@react-types/checkbox/node_modules/@react-types/shared": { - "version": "3.23.1", - "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.23.1.tgz", - "integrity": "sha512-5d+3HbFDxGZjhbMBeFHRQhexMFt4pUce3okyRtUVKbbedQFUrtXSBg9VszgF2RTeQDKDkMCIQDtz5ccP/Lk1gw==", + "version": "3.24.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.24.1.tgz", + "integrity": "sha512-AUQeGYEm/zDTN6zLzdXolDxz3Jk5dDL7f506F07U8tBwxNNI3WRdhU84G0/AaFikOZzDXhOZDr3MhQMzyE7Ydw==", "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" } }, "node_modules/@react-types/radio": { @@ -3682,9 +4582,9 @@ } }, "node_modules/@rjsf/core": { - "version": "5.18.4", - "resolved": "https://registry.npmjs.org/@rjsf/core/-/core-5.18.4.tgz", - "integrity": "sha512-OUPC+l44X1geYT9sSsmQC2pakvFWCQB+5Iy/ITfLMJq3MIjJn0gakCwYHXMMBGUAKM1SSMIyKWyCazt3kY9fhg==", + "version": "5.21.1", + "resolved": "https://registry.npmjs.org/@rjsf/core/-/core-5.21.1.tgz", + "integrity": "sha512-qURYyhL5RO8S8mkBKFL506mzc20ywJiIQbByozUYudAc25TL7ebxskwscdwhMnuzqQbMjBBimvHJGjcwzfIVxQ==", "dependencies": { "lodash": "^4.17.21", "lodash-es": "^4.17.21", @@ -3696,14 +4596,14 @@ "node": ">=14" }, "peerDependencies": { - "@rjsf/utils": "^5.18.x", + "@rjsf/utils": "^5.20.x", "react": "^16.14.0 || >=17" } }, "node_modules/@rjsf/utils": { - "version": "5.18.4", - "resolved": "https://registry.npmjs.org/@rjsf/utils/-/utils-5.18.4.tgz", - "integrity": "sha512-svLMk5aW6q3JQRYVTJradFc9tLeQ1vX5/k6fPwxf+08eweqPbINq7aokLBSStUNr8FfYgThTl8IfehLoVP2dvw==", + "version": "5.21.1", + "resolved": "https://registry.npmjs.org/@rjsf/utils/-/utils-5.21.1.tgz", + "integrity": "sha512-KEwEtIswzKE2WTLRxvh5vwMwvNMTHnRSxwaRlz3QKz5/iQr9XGJTWcmArjIN3y0ypfLk+X6qZsboamQBIhTV3w==", "dependencies": { "json-schema-merge-allof": "^0.8.1", "jsonpointer": "^5.0.1", @@ -3719,9 +4619,9 @@ } }, "node_modules/@rjsf/validator-ajv8": { - "version": "5.18.4", - "resolved": "https://registry.npmjs.org/@rjsf/validator-ajv8/-/validator-ajv8-5.18.4.tgz", - "integrity": "sha512-D0bUtruWbUmXG8z3VBbCky0Cx65rmcdG/QypB9ri5YTSNTQIxuq28StBpZUZn84CO/oMOtociGy4afW1aj5C0g==", + "version": "5.21.1", + "resolved": "https://registry.npmjs.org/@rjsf/validator-ajv8/-/validator-ajv8-5.21.1.tgz", + "integrity": "sha512-wR8sSQCnHQT51JzGZMsJfYednOKs3nahnpInkkZmJrK+FvlWkfMfB2QOl8ZgTrKX3egde3362QtBp9QCKEXYxg==", "dependencies": { "ajv": "^8.12.0", "ajv-formats": "^2.1.1", @@ -3732,18 +4632,18 @@ "node": ">=14" }, "peerDependencies": { - "@rjsf/utils": "^5.18.x" + "@rjsf/utils": "^5.20.x" } }, "node_modules/@rjsf/validator-ajv8/node_modules/ajv": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz", - "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -3755,6 +4655,72 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, + "node_modules/@scure/base": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.8.tgz", + "integrity": "sha512-6CyAclxj3Nb0XT7GHK6K4zK6k2xJm6E4Ft0Ohjt4WgegiFUHEtFb2CGzmPmGBwoIhrLsqNLYfLr04Y1GePrzZg==", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/bip32": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.4.0.tgz", + "integrity": "sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==", + "dependencies": { + "@noble/curves": "~1.4.0", + "@noble/hashes": "~1.4.0", + "@scure/base": "~1.1.6" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/bip32/node_modules/@noble/curves": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz", + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/bip32/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/bip39": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.3.0.tgz", + "integrity": "sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==", + "dependencies": { + "@noble/hashes": "~1.4.0", + "@scure/base": "~1.1.6" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@scure/bip39/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@segment/snippet": { "version": "4.16.2", "resolved": "https://registry.npmjs.org/@segment/snippet/-/snippet-4.16.2.tgz", @@ -3931,10 +4897,53 @@ "micromark-util-symbol": "^1.0.1" } }, + "node_modules/@socket.io/component-emitter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", + "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==" + }, + "node_modules/@spruceid/siwe-parser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.1.0.tgz", + "integrity": "sha512-tFQwY2oQLa4qvHE6npKsVgVdVLQOCGP1zJM3yjZOHut43LqCwdSwitZndFLrJHZLpqru9FnmYHRakvsPvrI+qA==", + "dependencies": { + "@noble/hashes": "^1.1.2", + "apg-js": "^4.1.1", + "uri-js": "^4.4.1", + "valid-url": "^1.0.9" + } + }, + "node_modules/@stablelib/binary": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/binary/-/binary-1.0.1.tgz", + "integrity": "sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q==", + "dependencies": { + "@stablelib/int": "^1.0.1" + } + }, + "node_modules/@stablelib/int": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/int/-/int-1.0.1.tgz", + "integrity": "sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==" + }, + "node_modules/@stablelib/random": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@stablelib/random/-/random-1.0.2.tgz", + "integrity": "sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==", + "dependencies": { + "@stablelib/binary": "^1.0.1", + "@stablelib/wipe": "^1.0.1" + } + }, + "node_modules/@stablelib/wipe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/wipe/-/wipe-1.0.1.tgz", + "integrity": "sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==" + }, "node_modules/@stoplight/json": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", - "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "version": "3.21.7", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.7.tgz", + "integrity": "sha512-xcJXgKFqv/uCEgtGlPxy3tPA+4I+ZI4vAuMJ885+ThkTHFVkC+0Fm58lA9NlsyjnkpxFh4YiQWpH+KefHdbA0A==", "dependencies": { "@stoplight/ordered-object-literal": "^1.0.3", "@stoplight/path": "^1.3.2", @@ -4034,9 +5043,9 @@ } }, "node_modules/@stoplight/markdown-viewer": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@stoplight/markdown-viewer/-/markdown-viewer-5.7.0.tgz", - "integrity": "sha512-SOFmEapj/RAJ6fUqgZO41diB9ocEFxhrSL7C8aJKNoYoHme0xxk5DK53DvFNBayEEXnf9e/YmKPfwJjFdKUilA==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@stoplight/markdown-viewer/-/markdown-viewer-5.7.1.tgz", + "integrity": "sha512-EiJC0w/l+Juc49fVCBOEOOg/NdCWDC8o1lS7d6P5skHS5G+hw1c3GNlCZ2BSqs8z8kkmSzSDWo5XY1S16NVJbQ==", "dependencies": { "@rehooks/component-size": "^1.0.3", "@stoplight/markdown": "^3.1.3", @@ -4072,9 +5081,9 @@ } }, "node_modules/@stoplight/markdown-viewer/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/@stoplight/markdown-viewer/node_modules/bail": { "version": "1.0.5", @@ -4359,9 +5368,9 @@ } }, "node_modules/@stoplight/markdown/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/@stoplight/markdown/node_modules/bail": { "version": "1.0.5", @@ -4930,9 +5939,9 @@ } }, "node_modules/@stoplight/mosaic": { - "version": "1.53.2", - "resolved": "https://registry.npmjs.org/@stoplight/mosaic/-/mosaic-1.53.2.tgz", - "integrity": "sha512-fhSU1jqXLP3+9DghzrAHBgL+TfzaRDCwwg9+6Xe9Iz2LikOguAMPfBriantrtKOoM0pfUBOjHEuTO8QPw6uLKw==", + "version": "1.53.4", + "resolved": "https://registry.npmjs.org/@stoplight/mosaic/-/mosaic-1.53.4.tgz", + "integrity": "sha512-k3D9B2bM/Ko7ibKKWxJuhomHCOAxooPNPZNX0aY+3kTmQf7tJL+70iwcwD7TbrMyOj7L8SzJPRpJ9fcM8LaDNA==", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", @@ -4964,9 +5973,9 @@ } }, "node_modules/@stoplight/mosaic-code-viewer": { - "version": "1.53.2", - "resolved": "https://registry.npmjs.org/@stoplight/mosaic-code-viewer/-/mosaic-code-viewer-1.53.2.tgz", - "integrity": "sha512-BtiAfotKmy4TtwrXTD2ktruFEwTLPwW3wt/KUQAWpGnwmTcJ9cXph2hsskFKAt1G866UzsKE3OKOAIv9GKHOdQ==", + "version": "1.53.4", + "resolved": "https://registry.npmjs.org/@stoplight/mosaic-code-viewer/-/mosaic-code-viewer-1.53.4.tgz", + "integrity": "sha512-RZEZ7+UodFQtuuVHyCONg/8wNDlFCuDz0knneGrDaQ1vDa3ddePPjBQnpqVFY0ndXqoaxZTuQu4GvcC8wKdk0Q==", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", @@ -4975,7 +5984,7 @@ "@react-types/radio": "3.1.2", "@react-types/shared": "3.9.0", "@react-types/switch": "3.1.2", - "@stoplight/mosaic": "1.53.2", + "@stoplight/mosaic": "1.53.4", "@stoplight/types": "^13.7.0", "clsx": "^1.1.1", "copy-to-clipboard": "^3.3.1", @@ -5005,9 +6014,9 @@ } }, "node_modules/@stoplight/mosaic/node_modules/@types/react": { - "version": "17.0.80", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.80.tgz", - "integrity": "sha512-LrgHIu2lEtIo8M7d1FcI3BdwXWoRQwMoXOZ7+dPTW0lYREjmlHl3P0U1VD0i/9tppOuv8/sam7sOjx34TxSFbA==", + "version": "17.0.81", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.81.tgz", + "integrity": "sha512-So+arrwwUFFWCX/lqv4w8z1glovD1zLE0KVP1z4eFCPU8WE4yTCotHjssKbrcnZ3W5Fcxcsl1vkKTh6k6V+/2A==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "^0.16", @@ -5364,6 +6373,14 @@ "@types/estree": "*" } }, + "node_modules/@types/bn.js": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.6.tgz", + "integrity": "sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/body-parser": { "version": "1.19.5", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", @@ -5424,23 +6441,15 @@ "@types/ms": "*" } }, - "node_modules/@types/eslint": { - "version": "8.56.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.10.tgz", - "integrity": "sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } + "node_modules/@types/deep-freeze-strict": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@types/deep-freeze-strict/-/deep-freeze-strict-1.1.2.tgz", + "integrity": "sha512-VvMETBojHvhX4f+ocYTySQlXMZfxKV3Jyb7iCWlWaC+exbedkv6Iv2bZZqI736qXjVguH6IH7bzwMBMfTT+zuQ==" }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } + "node_modules/@types/dom-screen-wake-lock": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@types/dom-screen-wake-lock/-/dom-screen-wake-lock-1.0.3.tgz", + "integrity": "sha512-3Iten7X3Zgwvk6kh6/NRdwN7WbZ760YgFCsF5AxDifltUQzW1RaW+WRmcVtgwFzLjaNu64H+0MPJ13yRa8g3Dw==" }, "node_modules/@types/estree": { "version": "1.0.5", @@ -5467,9 +6476,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.19.3", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.3.tgz", - "integrity": "sha512-KOzM7MhcBFlmnlr/fzISFF5vGWVSvN6fTd4T+ExOt08bA/dA5kpSzY52nMsI1KDFmUREpJelPYyuslLRSjjgCg==", + "version": "4.19.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -5511,9 +6520,9 @@ "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==" }, "node_modules/@types/http-proxy": { - "version": "1.17.14", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", - "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", + "version": "1.17.15", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.15.tgz", + "integrity": "sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==", "dependencies": { "@types/node": "*" } @@ -5584,11 +6593,11 @@ "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" }, "node_modules/@types/node": { - "version": "20.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz", - "integrity": "sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==", + "version": "22.5.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz", + "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/node-forge": { @@ -5621,14 +6630,14 @@ "integrity": "sha512-rlAnzkW2sZOjbqZ743IHUhFcvzaGbqijwOu8QZnZCjfQzBqFE3s4lOTJEsxikImav9uzz/42I+O7YUs1mWgMlg==" }, "node_modules/@types/prop-types": { - "version": "15.7.12", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", - "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" + "version": "15.7.13", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", + "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==" }, "node_modules/@types/qs": { - "version": "6.9.15", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz", - "integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==" + "version": "6.9.16", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.16.tgz", + "integrity": "sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==" }, "node_modules/@types/range-parser": { "version": "1.2.7", @@ -5636,14 +6645,23 @@ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==" }, "node_modules/@types/react": { - "version": "18.3.3", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", - "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "version": "18.3.6", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.6.tgz", + "integrity": "sha512-CnGaRYNu2iZlkGXGrOYtdg5mLK8neySj0woZ4e2wF/eli2E6Sazmq5X+Nrj6OBrrFVQfJWTUFeqAzoRhWQXYvg==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" } }, + "node_modules/@types/react-alert": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@types/react-alert/-/react-alert-7.0.6.tgz", + "integrity": "sha512-e6jjMurpoTVa8MXUbb1r/M1Rnn+eNxa1Ayhf77yeHtPbfu30x55Y6KMYVWSLUg/SQOgN3TguhDNQ6Qqu1gnkLw==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, "node_modules/@types/react-dom": { "version": "17.0.25", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.25.tgz", @@ -5653,15 +6671,24 @@ } }, "node_modules/@types/react-dom/node_modules/@types/react": { - "version": "17.0.80", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.80.tgz", - "integrity": "sha512-LrgHIu2lEtIo8M7d1FcI3BdwXWoRQwMoXOZ7+dPTW0lYREjmlHl3P0U1VD0i/9tppOuv8/sam7sOjx34TxSFbA==", + "version": "17.0.81", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.81.tgz", + "integrity": "sha512-So+arrwwUFFWCX/lqv4w8z1glovD1zLE0KVP1z4eFCPU8WE4yTCotHjssKbrcnZ3W5Fcxcsl1vkKTh6k6V+/2A==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "^0.16", "csstype": "^3.0.2" } }, + "node_modules/@types/react-modal": { + "version": "3.16.3", + "resolved": "https://registry.npmjs.org/@types/react-modal/-/react-modal-3.16.3.tgz", + "integrity": "sha512-xXuGavyEGaFQDgBv4UVm8/ZsG+qxeQ7f77yNrW3n+1J6XAstUy5rYHeIHPh1KzsGc6IkCIdu6lQ2xWzu1jBTLg==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, "node_modules/@types/react-router": { "version": "5.1.20", "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-5.1.20.tgz", @@ -5709,6 +6736,14 @@ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" }, + "node_modules/@types/secp256k1": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.6.tgz", + "integrity": "sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/semver": { "version": "7.5.8", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", @@ -5751,22 +6786,27 @@ } }, "node_modules/@types/unist": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", - "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "node_modules/@types/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==" }, "node_modules/@types/ws": { - "version": "8.5.10", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", - "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", + "version": "8.5.12", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", + "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", "dependencies": { "@types/node": "*" } }, "node_modules/@types/yargs": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", - "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", + "version": "17.0.33", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", + "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", "dependencies": { "@types/yargs-parser": "*" } @@ -5777,15 +6817,15 @@ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==" }, "node_modules/@typescript-eslint/parser": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz", - "integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", + "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "7.13.1", - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/typescript-estree": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/scope-manager": "7.18.0", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/typescript-estree": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", "debug": "^4.3.4" }, "engines": { @@ -5805,13 +6845,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", - "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", + "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1" + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5822,9 +6862,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", - "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", + "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", "dev": true, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5835,13 +6875,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", - "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", + "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5963,12 +7003,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", - "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", + "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/types": "7.18.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -6182,9 +7222,9 @@ } }, "node_modules/acorn": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.0.tgz", - "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "bin": { "acorn": "bin/acorn" }, @@ -6209,9 +7249,9 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", - "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "dependencies": { "acorn": "^8.11.0" }, @@ -6227,6 +7267,11 @@ "node": ">= 10.0.0" } }, + "node_modules/aes-js": { + "version": "4.0.0-beta.5", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + }, "node_modules/agent-base": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", @@ -6294,14 +7339,14 @@ } }, "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz", - "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -6325,31 +7370,31 @@ } }, "node_modules/algoliasearch": { - "version": "4.23.3", - "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.23.3.tgz", - "integrity": "sha512-Le/3YgNvjW9zxIQMRhUHuhiUjAlKY/zsdZpfq4dlLqg6mEm0nL6yk+7f2hDOtLpxsgE4jSzDmvHL7nXdBp5feg==", - "dependencies": { - "@algolia/cache-browser-local-storage": "4.23.3", - "@algolia/cache-common": "4.23.3", - "@algolia/cache-in-memory": "4.23.3", - "@algolia/client-account": "4.23.3", - "@algolia/client-analytics": "4.23.3", - "@algolia/client-common": "4.23.3", - "@algolia/client-personalization": "4.23.3", - "@algolia/client-search": "4.23.3", - "@algolia/logger-common": "4.23.3", - "@algolia/logger-console": "4.23.3", - "@algolia/recommend": "4.23.3", - "@algolia/requester-browser-xhr": "4.23.3", - "@algolia/requester-common": "4.23.3", - "@algolia/requester-node-http": "4.23.3", - "@algolia/transporter": "4.23.3" + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.24.0.tgz", + "integrity": "sha512-bf0QV/9jVejssFBmz2HQLxUadxk574t4iwjCKp5E7NBzwKkrDEhKPISIIjAU/p6K5qDx3qoeh4+26zWN1jmw3g==", + "dependencies": { + "@algolia/cache-browser-local-storage": "4.24.0", + "@algolia/cache-common": "4.24.0", + "@algolia/cache-in-memory": "4.24.0", + "@algolia/client-account": "4.24.0", + "@algolia/client-analytics": "4.24.0", + "@algolia/client-common": "4.24.0", + "@algolia/client-personalization": "4.24.0", + "@algolia/client-search": "4.24.0", + "@algolia/logger-common": "4.24.0", + "@algolia/logger-console": "4.24.0", + "@algolia/recommend": "4.24.0", + "@algolia/requester-browser-xhr": "4.24.0", + "@algolia/requester-common": "4.24.0", + "@algolia/requester-node-http": "4.24.0", + "@algolia/transporter": "4.24.0" } }, "node_modules/algoliasearch-helper": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/algoliasearch-helper/-/algoliasearch-helper-3.22.0.tgz", - "integrity": "sha512-ZIVcE0929m2g00GuMiRWpemsGW3589qYxIcQonB7ms4B/KoeS94OiqPRMJ9hGoL23SlYJOmMNjZyXSoItDXO1w==", + "version": "3.22.5", + "resolved": "https://registry.npmjs.org/algoliasearch-helper/-/algoliasearch-helper-3.22.5.tgz", + "integrity": "sha512-lWvhdnc+aKOKx8jyA3bsdEgHzm/sglC4cYdMG4xSQyRiPLJVJtH/IVYZG3Hp6PkTEhQqhyVYkeP9z2IlcHJsWw==", "dependencies": { "@algolia/events": "^4.0.1" }, @@ -6422,9 +7467,9 @@ } }, "node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "engines": { "node": ">=12" }, @@ -6458,6 +7503,11 @@ "node": ">= 8" } }, + "node_modules/apg-js": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/apg-js/-/apg-js-4.4.0.tgz", + "integrity": "sha512-fefmXFknJmtgtNEXfPwZKYkMFX4Fyeyz+fNF6JWp87biGOPslJbCBVU158zvKRZfHBKnJDy8CMM40oLFGkXT8Q==" + }, "node_modules/aproba": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", @@ -6578,18 +7628,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array.prototype.toreversed": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz", - "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - } - }, "node_modules/array.prototype.tosorted": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz", @@ -6674,9 +7712,9 @@ } }, "node_modules/astring": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.6.tgz", - "integrity": "sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", + "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", "bin": { "astring": "bin/astring" } @@ -6690,9 +7728,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.19", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", - "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", + "version": "10.4.20", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.20.tgz", + "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", "funding": [ { "type": "opencollective", @@ -6708,11 +7746,11 @@ } ], "dependencies": { - "browserslist": "^4.23.0", - "caniuse-lite": "^1.0.30001599", + "browserslist": "^4.23.3", + "caniuse-lite": "^1.0.30001646", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "postcss-value-parser": "^4.2.0" }, "bin": { @@ -6750,9 +7788,9 @@ } }, "node_modules/babel-loader": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz", - "integrity": "sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.2.1.tgz", + "integrity": "sha512-fqe8naHt46e0yIdkjUZYqddSXfej3AHajX+CSO5X7oy0EmPc6o5Xh+RClNoHjnieWz9AW4kZxW9yyFMhVB1QLA==", "dependencies": { "find-cache-dir": "^4.0.0", "schema-utils": "^4.0.0" @@ -6773,6 +7811,35 @@ "object.assign": "^4.1.0" } }, + "node_modules/babel-plugin-macros": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", + "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "dependencies": { + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "node_modules/babel-plugin-macros/node_modules/cosmiconfig": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.11", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz", @@ -6795,12 +7862,12 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz", - "integrity": "sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==", + "version": "0.10.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz", + "integrity": "sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.1", - "core-js-compat": "^3.36.1" + "@babel/helper-define-polyfill-provider": "^0.6.2", + "core-js-compat": "^3.38.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -6864,9 +7931,9 @@ } }, "node_modules/bin-links": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.3.tgz", - "integrity": "sha512-obsRaULtJurnfox/MDwgq6Yo9kzbv1CPTk/1/s7Z/61Lezc8IKkFCOXNeVLXz0456WRzBQmSsDWlai2tIhBsfA==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.4.tgz", + "integrity": "sha512-cMtq4W5ZsEwcutJrVId+a/tjt8GSbS+h0oNkdl6+6rBuEv8Ot33Bevj5KPm40t309zuhVic8NjpuL42QCiJWWA==", "dev": true, "dependencies": { "cmd-shim": "^6.0.0", @@ -6952,9 +8019,9 @@ "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.5", @@ -6964,7 +8031,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -7006,20 +8073,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/bonjour-service": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.2.1.tgz", @@ -7034,6 +8087,11 @@ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" }, + "node_modules/bowser": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", + "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + }, "node_modules/boxen": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/boxen/-/boxen-6.2.1.tgz", @@ -7189,9 +8247,9 @@ } }, "node_modules/browserslist": { - "version": "4.23.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.1.tgz", - "integrity": "sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "funding": [ { "type": "opencollective", @@ -7207,10 +8265,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001629", - "electron-to-chromium": "^1.4.796", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.16" + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -7256,6 +8314,11 @@ "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, "node_modules/buffer-fill": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", @@ -7271,6 +8334,18 @@ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==" }, + "node_modules/bufferutil": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.8.tgz", + "integrity": "sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==", + "hasInstallScript": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, "node_modules/builtin-status-codes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", @@ -7290,9 +8365,9 @@ } }, "node_modules/cacache": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.3.tgz", - "integrity": "sha512-qXCd4rh6I07cnDqh8V48/94Tc/WSfj+o3Gn6NZ0aZovS255bUx8O13uKxRFd2eWG0xgsco7+YItQNPaa5E85hg==", + "version": "18.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz", + "integrity": "sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==", "dev": true, "dependencies": { "@npmcli/fs": "^3.1.0", @@ -7313,13 +8388,10 @@ } }, "node_modules/cacache/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/cacheable-lookup": { "version": "7.0.0", @@ -7434,9 +8506,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001636", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", - "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", + "version": "1.0.30001660", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", + "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==", "funding": [ { "type": "opencollective", @@ -7757,7 +8829,6 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -7771,7 +8842,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -7779,14 +8849,12 @@ "node_modules/cliui/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/cliui/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -7800,7 +8868,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -7812,7 +8879,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -8135,6 +9201,11 @@ "node": ">=4" } }, + "node_modules/codesandbox/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/codesandbox/node_modules/is-ci": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", @@ -8476,9 +9547,9 @@ } }, "node_modules/compressible/node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.53.0.tgz", + "integrity": "sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==", "engines": { "node": ">= 0.6" } @@ -8599,6 +9670,11 @@ "proto-list": "~1.2.1" } }, + "node_modules/config-chain/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/configstore": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/configstore/-/configstore-6.0.0.tgz", @@ -8850,9 +9926,9 @@ } }, "node_modules/core-js": { - "version": "3.37.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.37.1.tgz", - "integrity": "sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", + "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -8860,11 +9936,11 @@ } }, "node_modules/core-js-compat": { - "version": "3.37.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.37.1.tgz", - "integrity": "sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz", + "integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==", "dependencies": { - "browserslist": "^4.23.0" + "browserslist": "^4.23.3" }, "funding": { "type": "opencollective", @@ -8872,9 +9948,9 @@ } }, "node_modules/core-js-pure": { - "version": "3.37.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.37.1.tgz", - "integrity": "sha512-J/r5JTHSmzTxbiYYrzXg9w1VpqrYt+gexenBE9pugeyhwPZTAEJddyiReJWsLO6uNQ8xJZFbod6XC7KKwatCiA==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.38.1.tgz", + "integrity": "sha512-BY8Etc1FZqdw1glX0XNOq2FDwfrg/VGqoZOZCdaL+UmdaqDwQwYXkMJT4t6In+zfEfOJDcM9T0KdbBeJg8KKCQ==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -8919,6 +9995,17 @@ } } }, + "node_modules/crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/create-ecdh": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", @@ -8969,6 +10056,25 @@ "sha.js": "^2.4.8" } }, + "node_modules/cron-parser": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-4.9.0.tgz", + "integrity": "sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==", + "dependencies": { + "luxon": "^3.2.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/cross-fetch": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", + "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -9359,9 +10465,9 @@ "integrity": "sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA==" }, "node_modules/cytoscape": { - "version": "3.29.2", - "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.29.2.tgz", - "integrity": "sha512-2G1ycU28Nh7OHT9rkXRLpCDP30MKH1dXJORZuBhtEhEW7pKwgPi77ImqlCWinouyE1PNepIOGZBOrE84DG7LyQ==", + "version": "3.30.2", + "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.30.2.tgz", + "integrity": "sha512-oICxQsjW8uSaRmn4UK/jkczKOqTrVqt5/1WL0POiJUT2EKNc9STM4hYFHv917yu55aTBMFNRzymlJhVAiWPCxw==", "engines": { "node": ">=0.10" } @@ -9884,10 +10990,25 @@ "inherits": "~2.0.3" } }, + "node_modules/date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "dependencies": { + "@babel/runtime": "^7.21.0" + }, + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, "node_modules/dayjs": { - "version": "1.11.11", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz", - "integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==" + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" }, "node_modules/debounce": { "version": "1.2.1", @@ -9895,11 +11016,11 @@ "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==" }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -10001,6 +11122,11 @@ "node": ">=4.0.0" } }, + "node_modules/deep-freeze-strict": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/deep-freeze-strict/-/deep-freeze-strict-1.1.1.tgz", + "integrity": "sha512-QemROZMM2IvhAcCFvahdX2Vbm4S/txeq5rFYU9fh4mQP79WTMW5c/HkQ2ICl1zuzcDZdPZ6zarDxQeQMsVYoNA==" + }, "node_modules/deepmerge": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", @@ -10131,6 +11257,11 @@ "npm": "1.2.8000 || >= 1.4.16" } }, + "node_modules/detect-browser": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz", + "integrity": "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==" + }, "node_modules/detect-node": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", @@ -10250,6 +11381,18 @@ "node": ">=0.10.0" } }, + "node_modules/docusaurus-plugin-sass": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.5.tgz", + "integrity": "sha512-Z+D0fLFUKcFpM+bqSUmqKIU+vO+YF1xoEQh5hoFreg2eMf722+siwXDD+sqtwU8E4MvVpuvsQfaHwODNlxJAEg==", + "dependencies": { + "sass-loader": "^10.1.1" + }, + "peerDependencies": { + "@docusaurus/core": "^2.0.0-beta || ^3.0.0-alpha", + "sass": "^1.30.0" + } + }, "node_modules/docusaurus-plugin-segment": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/docusaurus-plugin-segment/-/docusaurus-plugin-segment-1.0.4.tgz", @@ -10258,6 +11401,19 @@ "@segment/snippet": "^4.13.2" } }, + "node_modules/docusaurus-plugin-sentry": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/docusaurus-plugin-sentry/-/docusaurus-plugin-sentry-2.0.0.tgz", + "integrity": "sha512-LiiQ90pbaJ4ztgmFegK3+p8ywX4m0XHNtKGIRY1UD6xVRFubIejFFGaDXWOVU5FuATcMmE0d+WPNRPHLyYlFFw==", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@docusaurus/core": ">=3", + "react": ">=18", + "react-dom": ">=18" + } + }, "node_modules/dom-converter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", @@ -10324,9 +11480,9 @@ } }, "node_modules/dompurify": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.5.tgz", - "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==" + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.6.tgz", + "integrity": "sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==" }, "node_modules/domutils": { "version": "3.1.0", @@ -10441,6 +11597,24 @@ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/eciesjs": { + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.3.20.tgz", + "integrity": "sha512-Rz5AB8v9+xmMdS/R7RzWPe/R8DP5QfyrkA6ce4umJopoB5su2H2aDy/GcgIfwhmCwxnBkqGf/PbGzmKcGtIgGA==", + "dependencies": { + "@types/secp256k1": "^4.0.6", + "futoin-hkdf": "^1.5.3", + "secp256k1": "^5.0.0" + } + }, "node_modules/editions": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/editions/-/editions-2.3.1.tgz", @@ -10470,9 +11644,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.806", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.806.tgz", - "integrity": "sha512-nkoEX2QIB8kwCOtvtgwhXWy2IHVcOLQZu9Qo36uaGB835mdX/h8uLRlosL6QIhLVUnAiicXRW00PwaPZC74Nrg==" + "version": "1.5.24", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.24.tgz", + "integrity": "sha512-0x0wLCmpdKFCi9ulhvYZebgcPmHTkFVUfU2wzDykadkslKwT4oAmDTHEKLnlrDsMGZe4B+ksn8quZfZjYsBetA==" }, "node_modules/elkjs": { "version": "0.9.3", @@ -10480,9 +11654,9 @@ "integrity": "sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==" }, "node_modules/elliptic": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", - "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", + "version": "6.5.7", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz", + "integrity": "sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==", "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", @@ -10517,18 +11691,18 @@ } }, "node_modules/emoticon": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/emoticon/-/emoticon-4.0.1.tgz", - "integrity": "sha512-dqx7eA9YaqyvYtUhJwT4rC1HIp82j5ybS1/vQ42ur+jBe17dJMwZE4+gvL1XadSFfxaPFFGt3Xsw+Y8akThDlw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/emoticon/-/emoticon-4.1.0.tgz", + "integrity": "sha512-VWZfnxqwNcc51hIy/sbOdEem6D+cVtpPzEEtVAFdaas30+1dgkyaOQ4sQ6Bp0tOMqWO1v+HQfYaoodOkdhK6SQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "engines": { "node": ">= 0.8" } @@ -10549,10 +11723,30 @@ "once": "^1.4.0" } }, + "node_modules/engine.io-client": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.4.tgz", + "integrity": "sha512-GeZeeRjpD2qf49cZQ0Wvh/8NJNfeXkXXcoGh+F77oEAgo9gUHwT1fCRxSNU+YEEaysOJTnsFHmM5oAcPy4ntvQ==", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.17.1", + "xmlhttprequest-ssl": "~2.0.0" + } + }, + "node_modules/engine.io-parser": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", + "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/enhanced-resolve": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz", - "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -10719,9 +11913,9 @@ } }, "node_modules/es-module-lexer": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.3.tgz", - "integrity": "sha512-i1gCgmR9dCl6Vil6UKPI/trA69s08g/syhiDK9TG0Nf1RJjjFI+AzoWW7sPufzkgYAn861skuCwJa0pIIHYxvg==" + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==" }, "node_modules/es-object-atoms": { "version": "1.0.0", @@ -10789,9 +11983,9 @@ } }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "engines": { "node": ">=6" } @@ -10824,35 +12018,35 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.34.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.3.tgz", - "integrity": "sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==", + "version": "7.36.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.36.1.tgz", + "integrity": "sha512-/qwbqNXZoq+VP30s1d4Nc1C5GTxjJQjk4Jzs4Wq2qzxFM7dSmuG2UkIjg2USMLh3A/aVcUNrK7v0J5U1XEGGwA==", "dev": true, "dependencies": { "array-includes": "^3.1.8", "array.prototype.findlast": "^1.2.5", "array.prototype.flatmap": "^1.3.2", - "array.prototype.toreversed": "^1.1.2", "array.prototype.tosorted": "^1.1.4", "doctrine": "^2.1.0", "es-iterator-helpers": "^1.0.19", "estraverse": "^5.3.0", + "hasown": "^2.0.2", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.1.2", "object.entries": "^1.1.8", "object.fromentries": "^2.0.8", - "object.hasown": "^1.1.4", "object.values": "^1.2.0", "prop-types": "^15.8.1", "resolve": "^2.0.0-next.5", "semver": "^6.3.1", - "string.prototype.matchall": "^4.0.11" + "string.prototype.matchall": "^4.0.11", + "string.prototype.repeat": "^1.0.0" }, "engines": { "node": ">=4" }, "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" } }, "node_modules/eslint-plugin-react/node_modules/brace-expansion": { @@ -11017,12 +12211,11 @@ } }, "node_modules/estree-util-value-to-estree": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-3.1.1.tgz", - "integrity": "sha512-5mvUrF2suuv5f5cGDnDphIy4/gW86z82kl5qG6mM9z04SEQI4FB5Apmaw/TGEf3l55nLtMs5s51dmhUzvAHQCA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-3.1.2.tgz", + "integrity": "sha512-S0gW2+XZkmsx00tU2uJ4L9hUT7IFabbml9pHh2WQqFmAbxit++YGZne0sKJbNwkj9Wvg9E4uqWl4nCIFQMmfag==", "dependencies": { - "@types/estree": "^1.0.0", - "is-plain-obj": "^4.0.0" + "@types/estree": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/remcohaszing" @@ -11076,6 +12269,115 @@ "node": ">= 0.6" } }, + "node_modules/eth-ens-namehash": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", + "integrity": "sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw==", + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "node_modules/eth-rpc-errors": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz", + "integrity": "sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg==", + "dependencies": { + "fast-safe-stringify": "^2.0.6" + } + }, + "node_modules/ethereum-cryptography": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.2.1.tgz", + "integrity": "sha512-r/W8lkHSiTLxUxW8Rf3u4HGB0xQweG2RyETjywylKZSzLWoWAijRz8WCuOtJ6wah+avllXBqZuk29HCCvhEIRg==", + "dependencies": { + "@noble/curves": "1.4.2", + "@noble/hashes": "1.4.0", + "@scure/bip32": "1.4.0", + "@scure/bip39": "1.3.0" + } + }, + "node_modules/ethereum-cryptography/node_modules/@noble/curves": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz", + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethereum-cryptography/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers": { + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "18.15.13", + "aes-js": "4.0.0-beta.5", + "tslib": "2.4.0", + "ws": "8.17.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/ethers/node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, + "node_modules/ethers/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/eval": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/eval/-/eval-0.1.8.tgz", @@ -11096,6 +12398,11 @@ "node": ">=6" } }, + "node_modules/eventemitter2": { + "version": "6.4.9", + "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.9.tgz", + "integrity": "sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg==" + }, "node_modules/eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", @@ -11167,6 +12474,11 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "node_modules/exenv": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz", + "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==" + }, "node_modules/expand-tilde": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-1.2.2.tgz", @@ -11185,36 +12497,36 @@ "dev": true }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", + "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -11250,23 +12562,9 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" - }, - "node_modules/express/node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" }, "node_modules/express/node_modules/range-parser": { "version": "1.2.1", @@ -11292,6 +12590,18 @@ "node": ">=0.10.0" } }, + "node_modules/extension-port-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/extension-port-stream/-/extension-port-stream-3.0.0.tgz", + "integrity": "sha512-an2S5quJMiy5bnZKEf6AkfH/7r8CzHvhchU40gxN+OM6HPhe7Z9T1FUychcf2M9PpPOO0Hf7BAEfJkw2TDIBDw==", + "dependencies": { + "readable-stream": "^3.6.2 || ^4.4.2", + "webextension-polyfill": ">=0.10.0 <1.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -11341,11 +12651,6 @@ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, - "node_modules/fast-loops": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-loops/-/fast-loops-1.1.3.tgz", - "integrity": "sha512-8EZzEP0eKkEEVX+drtd9mtuQ+/QrlfW/5MlwcwK5Nds6EkZ/tRzEexkzUY2mIssnAyVLT+TKHuRXmFNNXYUd6g==" - }, "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", @@ -11356,6 +12661,11 @@ "resolved": "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz", "integrity": "sha512-HPtaa38cPgWvaCFmRNhlc6NG7pv6NUHqjPgVAkWGoB9mQMwYB27/K0CvOM5Czy+qpT3e8XJ6Q4aPAnzpNpzNaw==" }, + "node_modules/fast-uri": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", + "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" + }, "node_modules/fast-url-parser": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", @@ -11369,6 +12679,27 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" }, + "node_modules/fast-xml-parser": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.0.tgz", + "integrity": "sha512-/PlTQCI96+fZMAOLMZK4CWG1ItCbfZ/0jx7UIJFChPNrx7tcEgerUgWbeieCM9MfHInUDyK8DWYZ+YrywDJuTg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + }, + { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" + } + ], + "dependencies": { + "strnum": "^1.0.5" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, "node_modules/fastest-levenshtein": { "version": "1.0.16", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", @@ -11536,12 +12867,12 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -11603,6 +12934,11 @@ "node": ">=0.10.0" } }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, "node_modules/find-up": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", @@ -11725,9 +13061,9 @@ } }, "node_modules/foreground-child": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", - "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -12105,6 +13441,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/futoin-hkdf": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/futoin-hkdf/-/futoin-hkdf-1.5.3.tgz", + "integrity": "sha512-SewY5KdMpaoCeh7jachEWFsh1nNlaDjNHZXWqL5IGwtpEYHTgkr2+AMCgNwKWkcc0wpSYrZfR7he4WdmHFtDxQ==", + "engines": { + "node": ">=8" + } + }, "node_modules/genfun": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/genfun/-/genfun-4.0.1.tgz", @@ -12122,7 +13466,6 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -12224,6 +13567,11 @@ "node": ">=0.8" } }, + "node_modules/git-username/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/git-username/node_modules/parse-git-config": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/parse-git-config/-/parse-git-config-0.2.0.tgz", @@ -12252,9 +13600,9 @@ "integrity": "sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw==" }, "node_modules/glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", @@ -12267,9 +13615,6 @@ "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -12336,6 +13681,11 @@ "node": ">=6" } }, + "node_modules/global-prefix/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/global-prefix/node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -12649,9 +13999,9 @@ } }, "node_modules/hast-to-hyperscript/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/hast-util-from-parse5": { "version": "7.1.2", @@ -12680,9 +14030,9 @@ } }, "node_modules/hast-util-from-parse5/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/hast-util-from-parse5/node_modules/unist-util-stringify-position": { "version": "3.0.3", @@ -12745,9 +14095,9 @@ } }, "node_modules/hast-util-parse-selector/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/hast-util-raw": { "version": "7.0.0", @@ -12781,9 +14131,9 @@ } }, "node_modules/hast-util-raw/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/hast-util-raw/node_modules/parse5": { "version": "6.0.1", @@ -12890,9 +14240,9 @@ } }, "node_modules/hast-util-sanitize/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/hast-util-to-estree": { "version": "3.1.0", @@ -12984,16 +14334,16 @@ } }, "node_modules/hast-util-to-jsx-runtime/node_modules/inline-style-parser": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.3.tgz", - "integrity": "sha512-qlD8YNDqyTKTyuITrDOffsl6Tdhv+UC4hcdAVuQsK4IMQ99nSgd1MIA/Q+jQYoh9r3hVUXhYh7urSRmXPkW04g==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==" }, "node_modules/hast-util-to-jsx-runtime/node_modules/style-to-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.6.tgz", - "integrity": "sha512-khxq+Qm3xEyZfKd/y9L3oIWQimxuc4STrQKtQn8aSDRHb8mFgpukgX1hdzfrMEW6JCjyJ8p89x+IUMVnCBI1PA==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", "dependencies": { - "inline-style-parser": "0.2.3" + "inline-style-parser": "0.2.4" } }, "node_modules/hast-util-to-jsx-runtime/node_modules/unist-util-position": { @@ -13034,9 +14384,9 @@ } }, "node_modules/hast-util-to-parse5/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/hast-util-whitespace": { "version": "2.0.1", @@ -13072,9 +14422,9 @@ } }, "node_modules/hastscript/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/he": { "version": "1.2.0", @@ -13152,13 +14502,10 @@ } }, "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/hpack.js": { "version": "2.1.6", @@ -13456,9 +14803,9 @@ "integrity": "sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==" }, "node_modules/https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "dev": true, "dependencies": { "agent-base": "^7.0.2", @@ -13494,6 +14841,36 @@ "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.1.0.tgz", "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==" }, + "node_modules/i18next": { + "version": "23.11.5", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.11.5.tgz", + "integrity": "sha512-41pvpVbW9rhZPk5xjCX2TPJi2861LEig/YRhUkY+1FQ2IQPS0bKUDYnEqY8XPPbB48h1uIwLnP9iiEfuSl20CA==", + "funding": [ + { + "type": "individual", + "url": "https://locize.com" + }, + { + "type": "individual", + "url": "https://locize.com/i18next.html" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + } + ], + "dependencies": { + "@babel/runtime": "^7.23.2" + } + }, + "node_modules/i18next-browser-languagedetector": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-7.1.0.tgz", + "integrity": "sha512-cr2k7u1XJJ4HTOjM9GyOMtbOA47RtUoWRAtt52z43r3AoMs2StYKyjS3URPhzHaf+mn10hY9dZWamga5WPQjhA==", + "dependencies": { + "@babel/runtime": "^7.19.4" + } + }, "node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", @@ -13512,8 +14889,19 @@ "engines": { "node": "^10 || ^12 || >= 14" }, - "peerDependencies": { - "postcss": "^8.1.0" + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/idna-uts46-hx": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", + "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" } }, "node_modules/ieee754": { @@ -13541,9 +14929,9 @@ "integrity": "sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA==" }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "engines": { "node": ">= 4" } @@ -13571,6 +14959,11 @@ "url": "https://opencollective.com/immer" } }, + "node_modules/immutable": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.7.tgz", + "integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==" + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -13611,9 +15004,9 @@ } }, "node_modules/infima": { - "version": "0.2.0-alpha.43", - "resolved": "https://registry.npmjs.org/infima/-/infima-0.2.0-alpha.43.tgz", - "integrity": "sha512-2uw57LvUqW0rK/SWYnd/2rRfxNA5DDNOh33jxF7fy46VWoNhGxiUQyVZHbBMjQ33mQem0cjdDVwgWVAmlRfgyQ==", + "version": "0.2.0-alpha.44", + "resolved": "https://registry.npmjs.org/infima/-/infima-0.2.0-alpha.44.tgz", + "integrity": "sha512-tuRkUSO/lB3rEhLJk25atwAjgLuzq070+pOW8XcvpHky/YbENnRRdPd85IBkyeTgttmOy5ah+yHYsK1HhUd4lQ==", "engines": { "node": ">=12" } @@ -13634,9 +15027,13 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", + "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/inline-style-parser": { "version": "0.1.1", @@ -13644,12 +15041,11 @@ "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==" }, "node_modules/inline-style-prefixer": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.0.tgz", - "integrity": "sha512-I7GEdScunP1dQ6IM2mQWh6v0mOYdYmH3Bp31UecKdrcUgcURTcctSe1IECdUznSHKSmsHtjrT3CwCPI1pyxfUQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz", + "integrity": "sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==", "dependencies": { - "css-in-js-utils": "^3.1.0", - "fast-loops": "^1.1.3" + "css-in-js-utils": "^3.1.0" } }, "node_modules/inquirer": { @@ -14018,11 +15414,14 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -14142,6 +15541,15 @@ "node": ">=0.10.0" } }, + "node_modules/is-hex-prefixed": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", + "integrity": "sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, "node_modules/is-hexadecimal": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", @@ -14270,14 +15678,12 @@ } }, "node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "dev": true, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, "node_modules/is-plain-object": { @@ -14565,16 +15971,13 @@ } }, "node_modules/jackspeak": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", - "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dev": true, "dependencies": { "@isaacs/cliui": "^8.0.2" }, - "engines": { - "node": ">=14" - }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -14635,9 +16038,9 @@ } }, "node_modules/joi": { - "version": "17.13.2", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.2.tgz", - "integrity": "sha512-QJQKY10YowIi6yUpDQG9YpeWLD+OHYlY/La8gk7VitrXfy34quHwCu4QKNlBV1rpgQj0YpnWWl4JM+3DU6GapQ==", + "version": "17.13.3", + "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", + "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", "dependencies": { "@hapi/hoek": "^9.3.0", "@hapi/topo": "^5.1.0", @@ -14704,9 +16107,17 @@ } }, "node_modules/js-cookie": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz", - "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==", + "engines": { + "node": ">=14" + } + }, + "node_modules/js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g==" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -14760,6 +16171,11 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/json-rpc-random-id": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz", + "integrity": "sha512-RJ9YYNCkhVDBuP4zN5BBtYAzEl03yq/jIIsyif0JY9qyJuQQZNeDK7anAPKKlyEtLSj2s8h6hNh2F8zO5q7ScA==" + }, "node_modules/json-schema-compare": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/json-schema-compare/-/json-schema-compare-0.2.2.tgz", @@ -14821,6 +16237,27 @@ "node": ">=0.10.0" } }, + "node_modules/jsonwebtoken": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", + "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, "node_modules/jsx-ast-utils": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", @@ -14836,10 +16273,29 @@ "node": ">=4.0" } }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, "node_modules/katex": { - "version": "0.16.10", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.10.tgz", - "integrity": "sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==", + "version": "0.16.11", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.11.tgz", + "integrity": "sha512-RQrI8rlHY92OLf3rho/Ts8i/XvjgguEjOkO1BEXcU3N8BqPpSzBNwV/G0Ukr+P/l3ivvJUE/Fa/CwbS6HesGNQ==", "funding": [ "https://opencollective.com/katex", "https://github.com/sponsors/katex" @@ -14888,6 +16344,14 @@ "node": ">=6" } }, + "node_modules/klona": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", + "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", + "engines": { + "node": ">= 8" + } + }, "node_modules/known-css-properties": { "version": "0.29.0", "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", @@ -14909,27 +16373,27 @@ } }, "node_modules/launch-editor": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.0.tgz", - "integrity": "sha512-vJranOAJrI/llyWGRQqiDM+adrw+k83fvmmx3+nV47g3+36xM15jE+zyZ6Ffel02+xSvuM0b2GDRosXZkbb6wA==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", + "integrity": "sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==", "dependencies": { "picocolors": "^1.0.0", "shell-quote": "^1.8.1" } }, "node_modules/launchdarkly-js-client-sdk": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/launchdarkly-js-client-sdk/-/launchdarkly-js-client-sdk-3.3.0.tgz", - "integrity": "sha512-Hb+EF/5m43jsKrkXLPrdklX5g+XUJiwJQlVfa4y+ZPEqSnP4w4GrFp+Iv5ftWCcRhhpQuw/rygoNZlL1e1vmgg==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/launchdarkly-js-client-sdk/-/launchdarkly-js-client-sdk-3.4.0.tgz", + "integrity": "sha512-3v1jKy1RECT0SG/3SGlyRO32vweoNxvWiJuIChRh/Zhk98cHpANuwameXVhwJ4WEDNZJTur73baaKAyatSP46A==", "dependencies": { "escape-string-regexp": "^4.0.0", - "launchdarkly-js-sdk-common": "5.2.0" + "launchdarkly-js-sdk-common": "5.3.0" } }, "node_modules/launchdarkly-js-sdk-common": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/launchdarkly-js-sdk-common/-/launchdarkly-js-sdk-common-5.2.0.tgz", - "integrity": "sha512-aLv2ZrUv229RIwLtFhdILu2aJS/fqGSJzTk4L/bCDZA8RuIh7PutI3ui/AJeNnzPzjKzdEQZw6wVhkVc84baog==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/launchdarkly-js-sdk-common/-/launchdarkly-js-sdk-common-5.3.0.tgz", + "integrity": "sha512-NI5wFF8qhjtpRb4KelGdnwNIOf/boLlbLiseV7uf1jxSeoM/L30DAz87RT8VhYCSGCo4LedGILQFednI/MKFkA==", "dependencies": { "base64-js": "^1.3.0", "fast-deep-equal": "^2.0.1", @@ -15038,11 +16502,51 @@ "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==" }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" + }, + "node_modules/lodash.isobject": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", + "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA==" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" + }, "node_modules/lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==" }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" + }, "node_modules/lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", @@ -15129,6 +16633,18 @@ "node": ">=4" } }, + "node_modules/loglevel": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz", + "integrity": "sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==", + "engines": { + "node": ">= 0.6.0" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/loglevel" + } + }, "node_modules/longest-streak": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", @@ -15189,6 +16705,14 @@ "yallist": "^3.0.2" } }, + "node_modules/luxon": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz", + "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==", + "engines": { + "node": ">=12" + } + }, "node_modules/lz-string": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz", @@ -15272,9 +16796,9 @@ } }, "node_modules/markdown-to-jsx": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-7.4.7.tgz", - "integrity": "sha512-0+ls1IQZdU6cwM1yu0ZjjiVWYtkbExSyUIFU2ZeDIFuZM1W42Mh4OlJ4nb4apX4H8smxDHRdFaoIVJGwfv5hkg==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-7.5.0.tgz", + "integrity": "sha512-RrBNcMHiFPcz/iqIj0n3wclzHXjwS7mzjBNWecKKVhNTIxQepIix6Il/wZCn2Cg5Y1ow2Qi84+eJrryFRWBEWw==", "engines": { "node": ">= 10" }, @@ -15282,6 +16806,17 @@ "react": ">= 0.14.0" } }, + "node_modules/marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/mathml-tag-names": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", @@ -15325,9 +16860,9 @@ } }, "node_modules/mdast-util-definitions/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/mdast-util-definitions/node_modules/unist-util-is": { "version": "5.2.1", @@ -15498,9 +17033,9 @@ } }, "node_modules/mdast-util-gfm-autolink-literal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.0.tgz", - "integrity": "sha512-FyzMsduZZHSc3i0Px3PQcBT4WJY/X/RCtEJKuybiC6sjPqLv7h1yqAkmILZtuxMSsUyaLUWNp71+vQH2zqp5cg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", "dependencies": { "@types/mdast": "^4.0.0", "ccount": "^2.0.0", @@ -15625,9 +17160,9 @@ } }, "node_modules/mdast-util-mdx-expression": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.0.tgz", - "integrity": "sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^3.0.0", @@ -15642,9 +17177,9 @@ } }, "node_modules/mdast-util-mdx-jsx": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.2.tgz", - "integrity": "sha512-eKMQDeywY2wlHc97k5eD8VC+9ASMjN8ItEZQNGwJ6E0XWKiW/Z0V5/H8pvoXUf+y+Mj0VIgeRRbujBmFn4FTyA==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", + "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^3.0.0", @@ -15656,7 +17191,6 @@ "mdast-util-to-markdown": "^2.0.0", "parse-entities": "^4.0.0", "stringify-entities": "^4.0.0", - "unist-util-remove-position": "^5.0.0", "unist-util-stringify-position": "^4.0.0", "vfile-message": "^4.0.0" }, @@ -15732,9 +17266,9 @@ } }, "node_modules/mdast-util-to-hast/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/mdast-util-to-hast/node_modules/unist-util-is": { "version": "5.2.1", @@ -15924,9 +17458,12 @@ "dev": true }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/merge-stream": { "version": "2.0.0", @@ -15977,9 +17514,9 @@ } }, "node_modules/mermaid/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/mermaid/node_modules/mdast-util-from-markdown": { "version": "1.3.1", @@ -16416,6 +17953,11 @@ "node": ">= 0.6" } }, + "node_modules/micro-ftch": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz", + "integrity": "sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==" + }, "node_modules/micromark": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.0.tgz", @@ -16537,9 +18079,9 @@ ] }, "node_modules/micromark-extension-directive": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-directive/-/micromark-extension-directive-3.0.0.tgz", - "integrity": "sha512-61OI07qpQrERc+0wEysLHMvoiO3s2R56x5u7glHq2Yqq6EHbH4dW25G9GfDdGCDYqA21KE6DWgNSzxSwHc2hSg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/micromark-extension-directive/-/micromark-extension-directive-3.0.1.tgz", + "integrity": "sha512-VGV2uxUzhEZmaP7NSFo2vtq7M2nUD+WfmYQD+d8i/1nHbzE+rMy9uzTvUybBbNiVbrhOZibg3gbyoARGqgDWyg==", "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", @@ -16688,9 +18230,9 @@ } }, "node_modules/micromark-extension-gfm-autolink-literal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.0.0.tgz", - "integrity": "sha512-rTHfnpt/Q7dEAK1Y5ii0W8bhfJlVJFnJMHIPisfPK3gpVNuOP0VnRl96+YJ3RYWV/P4gFeQoGKNlT3RhuvpqAg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-sanitize-uri": "^2.0.0", @@ -16737,9 +18279,9 @@ ] }, "node_modules/micromark-extension-gfm-footnote": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.0.0.tgz", - "integrity": "sha512-6Rzu0CYRKDv3BfLAUnZsSlzx3ak6HAoI85KTiijuKIz5UxZxbUI+pD6oHgw+6UtQuiRwnGRhzMmPRv4smcz0fg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", "dependencies": { "devlop": "^1.0.0", "micromark-core-commonmark": "^2.0.0", @@ -16809,9 +18351,9 @@ ] }, "node_modules/micromark-extension-gfm-strikethrough": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.0.0.tgz", - "integrity": "sha512-c3BR1ClMp5fxxmwP6AoOY2fXO9U8uFMKs4ADD66ahLTNcwzSCyRVU4k7LPV5Nxo/VJiR4TdzxRQY2v3qIUceCw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", "dependencies": { "devlop": "^1.0.0", "micromark-util-chunked": "^2.0.0", @@ -16841,9 +18383,9 @@ ] }, "node_modules/micromark-extension-gfm-table": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.0.0.tgz", - "integrity": "sha512-PoHlhypg1ItIucOaHmKE8fbin3vTLpDOUg8KAr8gRCF1MOZI9Nquq2i/44wFvviM4WuxJzc3demT8Y3dkfvYrw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", @@ -16922,9 +18464,9 @@ } }, "node_modules/micromark-extension-gfm-task-list-item": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.0.1.tgz", - "integrity": "sha512-cY5PzGcnULaN5O7T+cOzfMoHjBW7j+T9D2sucA5d/KbsBTPcYdebm9zUd9zzdgJGCwahV+/W78Z3nbulBYVbTw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", @@ -17069,9 +18611,9 @@ ] }, "node_modules/micromark-extension-mdx-jsx": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-3.0.0.tgz", - "integrity": "sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-3.0.1.tgz", + "integrity": "sha512-vNuFb9czP8QCtAQcEJn0UJQJZA8Dk6DXKBqx+bg/w0WGuSxDxNr7hErW89tHUY31dUW4NqEOWwmEUNhjTFmHkg==", "dependencies": { "@types/acorn": "^4.0.0", "@types/estree": "^1.0.0", @@ -17080,6 +18622,7 @@ "micromark-factory-mdx-expression": "^2.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "vfile-message": "^4.0.0" @@ -17337,9 +18880,9 @@ ] }, "node_modules/micromark-factory-mdx-expression": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-2.0.1.tgz", - "integrity": "sha512-F0ccWIUHRLRrYp5TC9ZYXmZo+p2AM13ggbsW4T0b5CRKP8KHVRB8t4pwtBgTxtjRmwrK0Irwm7vs2JOZabHZfg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-2.0.2.tgz", + "integrity": "sha512-5E5I2pFzJyg2CtemqAbcyCktpHXuJbABnsb32wX2U8IQKhhVFBqkcZR5LRm1WVoFqa4kTueZK4abep7wdo9nrw==", "funding": [ { "type": "GitHub Sponsors", @@ -17353,6 +18896,7 @@ "dependencies": { "@types/estree": "^1.0.0", "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-events-to-acorn": "^2.0.0", "micromark-util-symbol": "^2.0.0", @@ -17361,6 +18905,25 @@ "vfile-message": "^4.0.0" } }, + "node_modules/micromark-factory-mdx-expression/node_modules/micromark-factory-space": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.0.tgz", + "integrity": "sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, "node_modules/micromark-factory-mdx-expression/node_modules/micromark-util-character": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.0.tgz", @@ -18100,9 +19663,9 @@ ] }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -18198,9 +19761,9 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.0.tgz", - "integrity": "sha512-Zs1YsZVfemekSZG+44vBsYTLQORkPMwnlv+aehcxK/NLKC+EGhDB39/YePYYqx/sTk6NnYpuqikhSn7+JIevTA==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.1.tgz", + "integrity": "sha512-+Vyi+GCCOHnrJ2VPS+6aPoXN2k2jgUzDRhTFLjjTBn23qyXJXkjUWQgTL+mXpF5/A8ixLdCc6kWsoeOjKGejKQ==", "dependencies": { "schema-utils": "^4.0.0", "tapable": "^2.2.1" @@ -18227,9 +19790,9 @@ "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" }, "node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -18263,15 +19826,6 @@ "node": ">= 6" } }, - "node_modules/minimist-options/node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/minipass": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", @@ -18448,6 +20002,15 @@ "through2": "^2.0.0" } }, + "node_modules/mississippi/node_modules/pump": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/pump/-/pump-1.0.3.tgz", + "integrity": "sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -18554,9 +20117,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/multicast-dns": { "version": "7.2.5", @@ -18576,15 +20139,15 @@ "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==" }, "node_modules/nano-css": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.1.tgz", - "integrity": "sha512-T2Mhc//CepkTa3X4pUhKgbEheJHYAxD0VptuqFhDbGMUWVV2m+lkNiW/Ieuj35wrfC8Zm0l7HvssQh7zcEttSw==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.2.tgz", + "integrity": "sha512-+6bHaC8dSDGALM1HJjOHVXpuastdu2xFoZlC77Jh4cg+33Zcgm+Gxd+1xsnpZK14eyHObSp82+ll5y3SX75liw==", "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15", "css-tree": "^1.1.2", "csstype": "^3.1.2", "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^7.0.0", + "inline-style-prefixer": "^7.0.1", "rtl-css-js": "^1.16.1", "stacktrace-js": "^2.0.2", "stylis": "^4.3.0" @@ -18638,6 +20201,11 @@ "tslib": "^2.0.3" } }, + "node_modules/node-addon-api": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", + "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" + }, "node_modules/node-emoji": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.3.tgz", @@ -18694,9 +20262,9 @@ } }, "node_modules/node-gyp": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.1.0.tgz", - "integrity": "sha512-B4J5M1cABxPc5PwfjhbV5hoy2DP9p8lFXASnEN6hugXOa61416tnTZ29x9sSwAd0o99XNIcpvDDy1swAExsVKA==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.2.0.tgz", + "integrity": "sha512-sp3FonBAaFe4aYTcFdZUn2NYkbP7xroPGYvQmP4Nl5PxamznItBnNCgjrVTKrEfQynInMsJvZrdmqUnysCJ8rw==", "dev": true, "dependencies": { "env-paths": "^2.2.0", @@ -18705,9 +20273,9 @@ "graceful-fs": "^4.2.6", "make-fetch-happen": "^13.0.0", "nopt": "^7.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.1.0", "semver": "^7.3.5", - "tar": "^6.1.2", + "tar": "^6.2.1", "which": "^4.0.0" }, "bin": { @@ -18717,13 +20285,14 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/node-gyp/node_modules/proc-log": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", - "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", - "dev": true, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node_modules/node-gyp-build": { + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", + "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" } }, "node_modules/node-polyfill-webpack-plugin": { @@ -18764,10 +20333,33 @@ "webpack": ">=5" } }, + "node_modules/node-polyfill-webpack-plugin/node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/node-polyfill-webpack-plugin/node_modules/readable-stream": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", + "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==" }, "node_modules/non-layered-tidy-tree-layout": { "version": "2.0.2", @@ -18790,13 +20382,12 @@ } }, "node_modules/normalize-package-data": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.1.tgz", - "integrity": "sha512-6rvCfeRW+OEZagAB4lMLSNuTNYZWLVtKccK79VSTf//yTY5VOCgcpH80O+bZK8Neps7pUnd5G+QlMg1yV/2iZQ==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", "dev": true, "dependencies": { "hosted-git-info": "^7.0.0", - "is-core-module": "^2.8.1", "semver": "^7.3.5", "validate-npm-package-license": "^3.0.4" }, @@ -18853,9 +20444,9 @@ } }, "node_modules/npm-package-arg": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.2.tgz", - "integrity": "sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz", + "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==", "dev": true, "dependencies": { "hosted-git-info": "^7.0.0", @@ -18868,9 +20459,9 @@ } }, "node_modules/npm-pick-manifest": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.1.tgz", - "integrity": "sha512-Udm1f0l2nXb3wxDpKjfohwgdFUSV50UVwzEIpDXVsbDMXVIEF81a/i0UhuQbhrPMMmdiq3+YMFLFIRVLs3hxQw==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.1.0.tgz", + "integrity": "sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==", "dev": true, "dependencies": { "npm-install-checks": "^6.0.0", @@ -18898,15 +20489,57 @@ "resolved": "https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz", "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==" }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/obj-multiplex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/obj-multiplex/-/obj-multiplex-1.0.0.tgz", + "integrity": "sha512-0GNJAOsHoBHeNTvl5Vt6IWnpUEcc3uSRxzBri7EDyIcMgYvnY2JL2qdeV5zTMjWQX5OHcD5amcW2HFfDh0gjIA==", + "dependencies": { + "end-of-stream": "^1.4.0", + "once": "^1.4.0", + "readable-stream": "^2.3.3" + } + }, + "node_modules/obj-multiplex/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/obj-multiplex/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/obj-multiplex/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/obj-multiplex/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dependencies": { - "boolbase": "^1.0.0" - }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" + "safe-buffer": "~5.1.0" } }, "node_modules/object-assign": { @@ -18918,9 +20551,12 @@ } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -18997,23 +20633,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.hasown": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.4.tgz", - "integrity": "sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==", - "dev": true, - "dependencies": { - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object.values": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", @@ -19836,9 +21455,9 @@ } }, "node_modules/parse-entities/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/parse-git-config": { "version": "1.1.1", @@ -19854,6 +21473,11 @@ "node": ">=0.10.0" } }, + "node_modules/parse-git-config/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", @@ -19985,18 +21609,15 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz", + "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==", "dependencies": { "isarray": "0.0.1" } @@ -20035,9 +21656,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -20150,6 +21771,24 @@ "node": ">=10" } }, + "node_modules/pony-cause": { + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-2.1.11.tgz", + "integrity": "sha512-M7LhCsdNbNgiLYiP4WjsfLUuFmCfnjdF6jKe2R9NKl4WFN+HZPGHJZ9lnLP7f9ZnKe3U9nuWD0szirmj+migUg==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/possible-typed-array-names": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", @@ -20159,9 +21798,9 @@ } }, "node_modules/postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "version": "8.4.47", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", "funding": [ { "type": "opencollective", @@ -20178,8 +21817,8 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", - "source-map-js": "^1.2.0" + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12 || >=14" @@ -20656,9 +22295,9 @@ } }, "node_modules/postcss-resolve-nested-selector": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", - "integrity": "sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.6.tgz", + "integrity": "sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==", "dev": true }, "node_modules/postcss-safe-parser": { @@ -20678,9 +22317,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", - "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -20757,9 +22396,9 @@ } }, "node_modules/prettier": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "bin": { "prettier": "bin/prettier.cjs" }, @@ -20788,9 +22427,9 @@ } }, "node_modules/prism-react-renderer": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.3.1.tgz", - "integrity": "sha512-Rdf+HzBLR7KYjzpJ1rSoxT9ioO85nZngQEoFIhL07XhtJHlCU3SOz0GJ6+qvMyQe0Se+BV3qpe6Yd/NmQF5Juw==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.4.0.tgz", + "integrity": "sha512-327BsVCD/unU4CNLZTWVHyUHKnsqcvj2qbPlQ8MiBE2eq2rgctjigPA1Gp9HLF83kZ20zNN6jgizHJeEsyFYOw==", "dependencies": { "@types/prismjs": "^1.26.0", "clsx": "^2.0.0" @@ -20948,9 +22587,9 @@ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" }, "node_modules/pump": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pump/-/pump-1.0.3.tgz", - "integrity": "sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -20976,9 +22615,9 @@ } }, "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", + "integrity": "sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA==", "engines": { "node": ">=6" } @@ -20997,10 +22636,31 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/qr-code-styling": { + "version": "1.6.0-rc.1", + "resolved": "https://registry.npmjs.org/qr-code-styling/-/qr-code-styling-1.6.0-rc.1.tgz", + "integrity": "sha512-ModRIiW6oUnsP18QzrRYZSc/CFKFKIdj7pUs57AEVH20ajlglRpN3HukjHk0UbNMTlKGuaYl7Gt6/O5Gg2NU2Q==", + "dependencies": { + "qrcode-generator": "^1.4.3" + } + }, + "node_modules/qrcode-generator": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/qrcode-generator/-/qrcode-generator-1.4.4.tgz", + "integrity": "sha512-HM7yY8O2ilqhmULxGMpcHSF1EhJJ9yBj8gvDEuZ6M+KGJ0YY2hKpnXvRD+hZPLrDVck3ExIGhmPtSdcjC+guuw==" + }, + "node_modules/qrcode-terminal-nooctal": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/qrcode-terminal-nooctal/-/qrcode-terminal-nooctal-0.12.1.tgz", + "integrity": "sha512-jy/kkD0iIMDjTucB+5T6KBsnirlhegDH47vHgrj5MejchSQmi/EAMM0xMFeePgV9CJkkAapNakpVUWYgHvtdKg==", + "bin": { + "qrcode-terminal": "bin/qrcode-terminal.js" + } + }, "node_modules/qs": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.1.tgz", - "integrity": "sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dependencies": { "side-channel": "^1.0.6" }, @@ -21129,6 +22789,11 @@ "rc": "cli.js" } }, + "node_modules/rc/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/rc/node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", @@ -21148,6 +22813,19 @@ "node": ">=0.10.0" } }, + "node_modules/react-alert": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/react-alert/-/react-alert-7.0.3.tgz", + "integrity": "sha512-cZ2ZhxytECTxljDfBKpQmwWbfJQFzFf2Qf03L/IB5shbEXtWhDD2JjiW60rwmKT1oZoU+GEnUQw5MFM5+f0B6A==", + "dependencies": { + "prop-types": "^15.7.2", + "react-transition-group": "^4.4.1" + }, + "peerDependencies": { + "react": "^16.8.1 || ^17", + "react-dom": "^16.8.1 || ^17" + } + }, "node_modules/react-dev-utils": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.1.tgz", @@ -21297,6 +22975,20 @@ "react": "^18.3.1" } }, + "node_modules/react-dropdown-select": { + "version": "4.11.3", + "resolved": "https://registry.npmjs.org/react-dropdown-select/-/react-dropdown-select-4.11.3.tgz", + "integrity": "sha512-/mOGSqqhmKsxxrmotLM+qn1Ss3nxGN6QnYusyQ7f0wizsWrc7ZmbcZhGRtwkJwpL6JYDQVTn19EYxJU1XfXrDA==", + "dependencies": { + "@emotion/react": "11.11.0", + "@emotion/styled": "11.11.0" + }, + "peerDependencies": { + "prop-types": ">=15.7.2", + "react": ">=16.x", + "react-dom": ">=16.x" + } + }, "node_modules/react-error-overlay": { "version": "6.0.11", "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz", @@ -21329,9 +23021,9 @@ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" }, "node_modules/react-json-view-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/react-json-view-lite/-/react-json-view-lite-1.4.0.tgz", - "integrity": "sha512-wh6F6uJyYAmQ4fK0e8dSQMEWuvTs2Wr3el3sLD9bambX1+pSWUVXIz1RFaoy3TI1mZ0FqdpKq9YgbgTTgyrmXA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/react-json-view-lite/-/react-json-view-lite-1.5.0.tgz", + "integrity": "sha512-nWqA1E4jKPklL2jvHWs6s+7Na0qNgw9HCP6xehdQJeg6nPBTFZgGwyko9Q0oj+jQWKTTVRS30u0toM5wiuL3iw==", "engines": { "node": ">=14" }, @@ -21339,6 +23031,11 @@ "react": "^16.13.1 || ^17.0.0 || ^18.0.0" } }, + "node_modules/react-lifecycles-compat": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", + "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + }, "node_modules/react-loadable": { "name": "@docusaurus/react-loadable", "version": "6.0.0", @@ -21413,9 +23110,20 @@ } }, "node_modules/react-markdown/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" + }, + "node_modules/react-markdown/node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/react-markdown/node_modules/mdast-util-from-markdown": { "version": "1.3.1", @@ -21965,6 +23673,45 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/react-modal": { + "version": "3.16.1", + "resolved": "https://registry.npmjs.org/react-modal/-/react-modal-3.16.1.tgz", + "integrity": "sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg==", + "dependencies": { + "exenv": "^1.2.0", + "prop-types": "^15.7.2", + "react-lifecycles-compat": "^3.0.0", + "warning": "^4.0.3" + }, + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "react": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18", + "react-dom": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18" + } + }, + "node_modules/react-native-webview": { + "version": "11.26.1", + "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-11.26.1.tgz", + "integrity": "sha512-hC7BkxOpf+z0UKhxFSFTPAM4shQzYmZHoELa6/8a/MspcjEP7ukYKpuSUTLDywQditT8yI9idfcKvfZDKQExGw==", + "dependencies": { + "escape-string-regexp": "2.0.0", + "invariant": "2.2.4" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-webview/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "engines": { + "node": ">=8" + } + }, "node_modules/react-overflow-list": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/react-overflow-list/-/react-overflow-list-0.5.0.tgz", @@ -22062,6 +23809,38 @@ "react": ">= 0.14.0" } }, + "node_modules/react-tippy": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/react-tippy/-/react-tippy-1.4.0.tgz", + "integrity": "sha512-r/hM5XK9Ztr2ZY7IWKuRmISTlUPS/R6ddz6PO2EuxCgW+4JBcGZRPU06XcVPRDCOIiio8ryBQFrXMhFMhsuaHA==", + "dependencies": { + "popper.js": "^1.11.1" + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/react-transition-group/node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, "node_modules/react-universal-interface": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/react-universal-interface/-/react-universal-interface-0.6.2.tgz", @@ -22072,9 +23851,9 @@ } }, "node_modules/react-use": { - "version": "17.5.0", - "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.0.tgz", - "integrity": "sha512-PbfwSPMwp/hoL847rLnm/qkjg3sTRCvn6YhUZiHaUa3FA6/aNoFX79ul5Xt70O1rK+9GxSVqkY0eTwMdsR/bWg==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.1.tgz", + "integrity": "sha512-LG/uPEVRflLWMwi3j/sZqR00nF6JGqTTDblkXK2nzXsIvij06hXl1V/MZIlwj1OKIQUtlh1l9jK8gLsRyCQxMg==", "dependencies": { "@types/js-cookie": "^2.2.6", "@xobotyi/scrollbar-width": "^1.9.5", @@ -22082,7 +23861,7 @@ "fast-deep-equal": "^3.1.3", "fast-shallow-equal": "^1.0.0", "js-cookie": "^2.2.1", - "nano-css": "^5.6.1", + "nano-css": "^5.6.2", "react-universal-interface": "^0.6.2", "resize-observer-polyfill": "^1.5.1", "screenfull": "^5.1.0", @@ -22096,6 +23875,11 @@ "react-dom": "*" } }, + "node_modules/react-use/node_modules/js-cookie": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz", + "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==" + }, "node_modules/read-cmd-shim": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz", @@ -22292,18 +24076,16 @@ "dev": true }, "node_modules/readable-stream": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", - "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">= 6" } }, "node_modules/readdirp": { @@ -22436,9 +24218,9 @@ } }, "node_modules/refractor/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/refractor/node_modules/character-entities": { "version": "1.2.4", @@ -22593,9 +24375,9 @@ "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" }, "node_modules/regenerate-unicode-properties": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", - "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", + "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", "dependencies": { "regenerate": "^1.4.2" }, @@ -22839,9 +24621,9 @@ } }, "node_modules/rehype-raw/node_modules/vfile-location": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.2.tgz", - "integrity": "sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", "dependencies": { "@types/unist": "^3.0.0", "vfile": "^6.0.0" @@ -22876,9 +24658,9 @@ } }, "node_modules/remark-codesandbox/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/remark-codesandbox/node_modules/is-stream": { "version": "1.1.0", @@ -22985,9 +24767,9 @@ } }, "node_modules/remark-docusaurus-tabs/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/remark-docusaurus-tabs/node_modules/mdast-util-to-string": { "version": "2.0.0", @@ -23184,9 +24966,9 @@ } }, "node_modules/remark-stringify/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/remark-stringify/node_modules/character-entities": { "version": "1.2.4", @@ -23451,7 +25233,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -23541,6 +25322,11 @@ "node": ">=0.10.0" } }, + "node_modules/resolve-dir/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, "node_modules/resolve-dir/node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -23619,6 +25405,11 @@ "node": ">=0.10.0" } }, + "node_modules/rfdc": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==" + }, "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -23688,6 +25479,31 @@ "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==" }, + "node_modules/rollup-plugin-visualizer": { + "version": "5.12.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz", + "integrity": "sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==", + "dependencies": { + "open": "^8.4.0", + "picomatch": "^2.3.1", + "source-map": "^0.7.4", + "yargs": "^17.5.1" + }, + "bin": { + "rollup-plugin-visualizer": "dist/bin/cli.js" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "rollup": "2.x || 3.x || 4.x" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, "node_modules/rtl-css-js": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.16.1.tgz", @@ -23702,9 +25518,9 @@ "integrity": "sha512-PGMBq03+TTG/p/cRB7HCLKJ1MgDIi07+QU1faSjiYRfmY5UsAttV9Hs08jDAHVwcOwmVLcSJkpwyfXszVjWfIQ==" }, "node_modules/rtlcss": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-4.1.1.tgz", - "integrity": "sha512-/oVHgBtnPNcggP2aVXQjSy6N1mMAfHg4GSag0QtZBlD5bdDgAHwr4pydqJGd+SUCu9260+Pjqbjwtvu7EMH1KQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/rtlcss/-/rtlcss-4.3.0.tgz", + "integrity": "sha512-FI+pHEn7Wc4NqKXMXFM+VAYKEj/mRIcW4h24YVwVtyjI+EqGrLc2Hx/Ny0lrZ21cBWU2goLy36eqMcNj3AQJig==", "dependencies": { "escalade": "^3.1.1", "picocolors": "^1.0.0", @@ -23837,27 +25653,104 @@ "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-regex": "^1.1.4" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sass": { + "version": "1.78.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.78.0.tgz", + "integrity": "sha512-AaIqGSrjo5lA2Yg7RvFZrlXDBCp3nV4XP73GrLGvdRWWwk+8H3l0SDvq/5bA4eF+0RFPLuWUk3E+P1U/YqnpsQ==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-loader": { + "version": "10.5.2", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.5.2.tgz", + "integrity": "sha512-vMUoSNOUKJILHpcNCCyD23X34gve1TS7Rjd9uXHeKqhvBG39x6XbswFDtpbTElj6XdMFezoWhkh5vtKudf2cgQ==", + "dependencies": { + "klona": "^2.0.4", + "loader-utils": "^2.0.0", + "neo-async": "^2.6.2", + "schema-utils": "^3.0.0", + "semver": "^7.3.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "sass": "^1.3.0", + "webpack": "^4.36.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "node_modules/sass-loader/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/sass-loader/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" }, "engines": { - "node": ">= 0.4" + "node": ">= 10.13.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, - "node_modules/safe-stable-stringify": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", - "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "node_modules/sax": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", @@ -23890,14 +25783,14 @@ } }, "node_modules/schema-utils/node_modules/ajv": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz", - "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -23920,6 +25813,20 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/secp256k1": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-5.0.0.tgz", + "integrity": "sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA==", + "hasInstallScript": true, + "dependencies": { + "elliptic": "^6.5.4", + "node-addon-api": "^5.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/section-matter": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz", @@ -23950,9 +25857,9 @@ } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "bin": { "semver": "bin/semver.js" }, @@ -23975,9 +25882,9 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", @@ -24010,10 +25917,13 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } }, "node_modules/send/node_modules/range-parser": { "version": "1.2.1", @@ -24142,19 +26052,27 @@ } }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" } }, + "node_modules/ses": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ses/-/ses-1.8.0.tgz", + "integrity": "sha512-pis9agyAy7s9lDApaYY9OSktkzc10gkBggSbhHXwTf3cWL9H8xA7oKiXIfT/uVNf8dzZN3o2TtPYjer9/axIhw==", + "dependencies": { + "@endo/env-options": "^1.1.6" + } + }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", @@ -24399,6 +26317,31 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" }, + "node_modules/siwe": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/siwe/-/siwe-2.3.2.tgz", + "integrity": "sha512-aSf+6+Latyttbj5nMu6GF3doMfv2UYj83hhwZgUF20ky6fTS83uVhkQABdIVnEuS8y1bBdk7p6ltb9SmlhTTlA==", + "dependencies": { + "@spruceid/siwe-parser": "^2.1.2", + "@stablelib/random": "^1.0.1", + "uri-js": "^4.4.1", + "valid-url": "^1.0.9" + }, + "peerDependencies": { + "ethers": "^5.6.8 || ^6.0.8" + } + }, + "node_modules/siwe/node_modules/@spruceid/siwe-parser": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.1.2.tgz", + "integrity": "sha512-d/r3S1LwJyMaRAKQ0awmo9whfXeE88Qt00vRj91q5uv5ATtWIQEGJ67Yr5eSZw5zp1/fZCXZYuEckt8lSkereQ==", + "dependencies": { + "@noble/hashes": "^1.1.2", + "apg-js": "^4.3.0", + "uri-js": "^4.4.1", + "valid-url": "^1.0.9" + } + }, "node_modules/skin-tone": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", @@ -24454,6 +26397,32 @@ "tslib": "^2.0.3" } }, + "node_modules/socket.io-client": { + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.5.tgz", + "integrity": "sha512-sJ/tqHOCe7Z50JCBCXrsY3I2k03iOiUe+tj1OmKeD2lXPiGH/RUCdTZFoqVyN7l1MnpIzPrGtLcijffmeouNlQ==", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.2", + "engine.io-client": "~6.5.2", + "socket.io-parser": "~4.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/socket.io-parser": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/sockjs": { "version": "0.3.24", "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", @@ -24479,14 +26448,14 @@ } }, "node_modules/socks-proxy-agent": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.3.tgz", - "integrity": "sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", + "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", "dev": true, "dependencies": { "agent-base": "^7.1.1", "debug": "^4.3.4", - "socks": "^2.7.1" + "socks": "^2.8.3" }, "engines": { "node": ">= 14" @@ -24509,9 +26478,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "engines": { "node": ">=0.10.0" } @@ -24566,9 +26535,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.18", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", - "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==" + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==" }, "node_modules/spdy": { "version": "4.0.2", @@ -24598,19 +26567,6 @@ "wbuf": "^1.7.3" } }, - "node_modules/spdy-transport/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/sprintf-js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", @@ -24702,19 +26658,6 @@ "readable-stream": "^3.5.0" } }, - "node_modules/stream-browserify/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/stream-each": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", @@ -24735,19 +26678,6 @@ "xtend": "^4.0.2" } }, - "node_modules/stream-http/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/stream-shift": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", @@ -24845,6 +26775,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/string.prototype.repeat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz", + "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, "node_modules/string.prototype.trim": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", @@ -24980,6 +26920,18 @@ "node": ">=6" } }, + "node_modules/strip-hex-prefix": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", + "integrity": "sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, "node_modules/strip-indent": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", @@ -25006,6 +26958,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, "node_modules/style-search": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", @@ -25196,9 +27153,9 @@ } }, "node_modules/stylis": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.2.tgz", - "integrity": "sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==" + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.4.tgz", + "integrity": "sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==" }, "node_modules/supports-color": { "version": "7.2.0", @@ -25212,9 +27169,9 @@ } }, "node_modules/supports-hyperlinks": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", - "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", + "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", "dev": true, "dependencies": { "has-flag": "^4.0.0", @@ -25222,6 +27179,9 @@ }, "engines": { "node": ">=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/supports-preserve-symlinks-flag": { @@ -25312,15 +27272,15 @@ } }, "node_modules/table/node_modules/ajv": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz", - "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -25426,6 +27386,15 @@ "mkdirp": "bin/cmd.js" } }, + "node_modules/tar-fs/node_modules/pump": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/pump/-/pump-1.0.3.tgz", + "integrity": "sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/tar-stream": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz", @@ -25642,9 +27611,9 @@ "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, "node_modules/terser": { - "version": "5.31.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.1.tgz", - "integrity": "sha512-37upzU1+viGvuFtBo9NPufCb9dwM0+l9hMxYyWfBA+fbwrPqNJAhbZ6W47bBFnZHKHTUBnMvi87434qq+qnxOg==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.32.0.tgz", + "integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -25909,9 +27878,9 @@ } }, "node_modules/to-vfile/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/to-vfile/node_modules/unist-util-stringify-position": { "version": "2.0.3", @@ -26052,9 +28021,9 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -26211,9 +28180,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", + "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -26239,14 +28208,14 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", "engines": { "node": ">=4" } @@ -26272,9 +28241,9 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", - "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", + "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", "engines": { "node": ">=4" } @@ -26305,6 +28274,17 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/unified/node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/unique-filename": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", @@ -26356,9 +28336,9 @@ } }, "node_modules/unist-builder/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/unist-util-generated": { "version": "2.0.1", @@ -26406,22 +28386,9 @@ } }, "node_modules/unist-util-position/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" - }, - "node_modules/unist-util-remove-position": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", - "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-visit": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/unist-util-select": { "version": "4.0.3", @@ -26439,9 +28406,9 @@ } }, "node_modules/unist-util-select/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/unist-util-stringify-position": { "version": "4.0.0", @@ -26507,9 +28474,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", - "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "funding": [ { "type": "opencollective", @@ -26614,12 +28581,15 @@ } }, "node_modules/url": { - "version": "0.11.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.3.tgz", - "integrity": "sha512-6hxOLGfZASQK/cijlZnZJTq8OXAkt/3YGfQX45vvMYXpZoo8NdWZcY73K108Jf759lS1Bv/8wXnHDTSz17dSRw==", + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.4.tgz", + "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==", "dependencies": { "punycode": "^1.4.1", - "qs": "^6.11.2" + "qs": "^6.12.3" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/url-loader": { @@ -26720,6 +28690,18 @@ "react-dom": "16.8.0 - 18" } }, + "node_modules/utf-8-validate": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", + "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", + "hasInstallScript": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, "node_modules/util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", @@ -26791,6 +28773,11 @@ "node": ">=6" } }, + "node_modules/valid-url": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", + "integrity": "sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==" + }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -26804,7 +28791,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", - "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -26855,12 +28841,11 @@ } }, "node_modules/vfile": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.1.tgz", - "integrity": "sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", "dependencies": { "@types/unist": "^3.0.0", - "unist-util-stringify-position": "^4.0.0", "vfile-message": "^4.0.0" }, "funding": { @@ -26882,9 +28867,9 @@ } }, "node_modules/vfile-location/node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==" }, "node_modules/vfile-location/node_modules/unist-util-stringify-position": { "version": "3.0.3", @@ -26944,10 +28929,18 @@ "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" }, + "node_modules/warning": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, "node_modules/watchpack": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz", - "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" @@ -26978,17 +28971,21 @@ "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.3.0.tgz", "integrity": "sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==" }, + "node_modules/webextension-polyfill": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/webextension-polyfill/-/webextension-polyfill-0.10.0.tgz", + "integrity": "sha512-c5s35LgVa5tFaHhrZDnr3FpQpjj1BB+RXhLTYUxGqBVN460HkbM8TBtEqdXWbpTKfzwCcjAZVF7zXCYSKtcp9g==" + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/webpack": { - "version": "5.92.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.92.0.tgz", - "integrity": "sha512-Bsw2X39MYIgxouNATyVpCNVWBCuUwDgWtN78g6lSdPJRLaQ/PUVm/oXcaRAyY/sMFoKFQrsPeqvTizWtq7QPCA==", + "version": "5.94.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz", + "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==", "dependencies": { - "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.12.1", "@webassemblyjs/wasm-edit": "^1.12.1", @@ -26997,7 +28994,7 @@ "acorn-import-attributes": "^1.9.5", "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.0", + "enhanced-resolve": "^5.17.1", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -27062,6 +29059,26 @@ "node": ">= 10" } }, + "node_modules/webpack-bundle-analyzer/node_modules/ws": { + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/webpack-dev-middleware": { "version": "5.3.4", "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", @@ -27169,26 +29186,6 @@ } } }, - "node_modules/webpack-dev-server/node_modules/ws": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/webpack-merge": { "version": "5.10.0", "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", @@ -27343,13 +29340,13 @@ } }, "node_modules/which-builtin-type": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz", - "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.4.tgz", + "integrity": "sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w==", "dev": true, "dependencies": { - "function.prototype.name": "^1.1.5", - "has-tostringtag": "^1.0.0", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", "is-async-function": "^2.0.0", "is-date-object": "^1.0.5", "is-finalizationregistry": "^1.0.2", @@ -27358,8 +29355,8 @@ "is-weakref": "^1.0.2", "isarray": "^2.0.5", "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.9" + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.15" }, "engines": { "node": ">= 0.4" @@ -27539,15 +29536,15 @@ } }, "node_modules/ws": { - "version": "7.5.10", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", - "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { - "node": ">=8.3.0" + "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -27580,6 +29577,14 @@ "xml-js": "bin/cli.js" } }, + "node_modules/xmlhttprequest-ssl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz", + "integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -27592,7 +29597,6 @@ "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, "engines": { "node": ">=10" } @@ -27614,7 +29618,6 @@ "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -27641,7 +29644,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -27649,14 +29651,12 @@ "node_modules/yargs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -27670,7 +29670,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -27682,15 +29681,14 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, "engines": { "node": ">=12" } }, "node_modules/yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz", + "integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==", "engines": { "node": ">=12.20" }, @@ -27724,4 +29722,4 @@ } } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 20e3e53e628..df762e7ed4e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "(MIT OR Apache-2.0)", "scripts": { "docusaurus": "docusaurus", - "start": "docusaurus start", + "start": "docusaurus start -p 3003", "build": "docusaurus build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", @@ -19,7 +19,7 @@ "lint:js": "eslint . --ext js,jsx,ts,tsx --max-warnings=5", "lint:style": "stylelint \"**/*.css\" --fix", "lint:fix": "npm run lint:js -- --fix", - "format": "prettier --write '{blog,docs,src,static}/**/*.{md,mdx,ts,js,tsx,jsx,json}'" + "format": "prettier --write '{blog,docs,src}/**/*.{md,mdx,ts,js,tsx,jsx,json}'" }, "lint-staged": { "src/**/*.{ts,js,jsx,tsx}": "npm run lint:fix", @@ -31,35 +31,43 @@ "@apidevtools/json-schema-ref-parser": "^11.6.4", "@docusaurus/core": "^3.0.0", "@docusaurus/plugin-content-docs": "^3.0.0", + "@docusaurus/plugin-content-pages": "^3.4.0", "@docusaurus/theme-common": "^3.0.0", "@docusaurus/theme-mermaid": "^3.0.0", "@intercom/messenger-js-sdk": "^0.0.11", "@mdx-js/react": "^3.0.0", "@metamask/design-tokens": "^1.11.1", "@metamask/docusaurus-openrpc": "^0.4.1", - "@metamask/sdk": "^0.26.5", - "@metamask/sdk-react": "^0.26.5", + "@metamask/profile-sync-controller": "^0.6.0", + "@metamask/sdk": "^0.28.1", "@rjsf/core": "^5.18.4", "@rjsf/utils": "^5.18.4", "@rjsf/validator-ajv8": "^5.18.4", + "@sentry/browser": "^8.30.0", + "@types/react": "^18.3.3", "clsx": "^1.2.1", + "docusaurus-plugin-sass": "^0.2.5", "docusaurus-plugin-segment": "^1.0.4", - "docusaurus-plugin-sentry": "^2.0.0", "dotenv": "^16.4.5", + "ethers": "^6.13.2", "js-cookie": "^3.0.5", + "jsonwebtoken": "^9.0.2", "launchdarkly-js-client-sdk": "^3.3.0", "lodash.debounce": "^4.0.8", - "lodash.isobject": "^3.0.2", + "lodash.isplainobject": "^4.0.6", "node-polyfill-webpack-plugin": "^2.0.1", - "prettier": "^3.0.0", + "prettier": "^3.3.3", "prism-react-renderer": "^2.1.0", "react": "^18.0.0", + "react-alert": "^7.0.3", "react-dom": "^18.0.0", "react-dropdown-select": "^4.11.2", + "react-modal": "^3.16.1", "react-player": "^2.13.0", "react-tippy": "^1.4.0", "remark-codesandbox": "^0.10.1", - "remark-docusaurus-tabs": "^0.2.0" + "remark-docusaurus-tabs": "^0.2.0", + "sass": "^1.77.6" }, "devDependencies": { "@docusaurus/eslint-plugin": "^3.0.0", @@ -69,12 +77,14 @@ "@docusaurus/types": "^3.4.0", "@lavamoat/allow-scripts": "^3.0.4", "@tsconfig/docusaurus": "^1.0.5", + "@types/react-alert": "^7.0.6", + "@types/react-modal": "^3.16.3", "@typescript-eslint/parser": "^7.12.0", "eslint-plugin-react": "^7.34.2", "stylelint": "^15.0.0 ", "stylelint-config-standard": "^34.0.0", "tsc-files": "^1.1.4", - "typescript": "^5.4.5" + "typescript": "^5.5.4" }, "browserslist": { "production": [ @@ -112,7 +122,9 @@ "@metamask/sdk-react>@metamask/sdk>eciesjs>secp256k1": false, "@metamask/sdk>@metamask/sdk-communication-layer>bufferutil": false, "@metamask/sdk>@metamask/sdk-communication-layer>utf-8-validate": false, - "@metamask/sdk>eciesjs>secp256k1": false + "@metamask/sdk>eciesjs>secp256k1": false, + "ethers>ws>bufferutil": false, + "ethers>ws>utf-8-validate": false } } } diff --git a/services/concepts/archive-data.md b/services/concepts/archive-data.md index f1d0dca929f..b79753ebad0 100644 --- a/services/concepts/archive-data.md +++ b/services/concepts/archive-data.md @@ -7,7 +7,10 @@ sidebar_position: 2 Archive data is data on the blockchain that is older than 128 blocks. -Infura provides free access to archive data on Ethereum and most networks. +:::caution important +For users on [Infura's credit pricing plan](../get-started/pricing/index.md), requests for +archive data currently cost the same as non-archive data, but this might change in the future. +::: ## Infura-supported archive data @@ -49,35 +52,3 @@ The following methods include a parameter for specifying a block number for the - `eth_getTransactionCount` - `eth_getStorageAt` - `eth_call` - -## Rate limits - -Infura applies [rate limits](../how-to/avoid-rate-limiting.md) to ensure network efficiency. - -Requests for Ethereum archive data are more expensive and are therefore subject to different rate limits. - -### Free plan - -You can make up to 25,000 archive requests and 100,000 total requests per day. -After reaching 25,000 archive requests, you can still make 75,000 additional standard requests. - -:::info - -If you need more archive requests, upgrade to the Developer plan. - -::: - -### Developer plan - -You can make up to 100,000 archive requests and 200,000 total requests per day. -After reaching 100,000 archive requests, you can still make 100,000 additional standard requests. - -:::info - -If you need more archive requests, upgrade to the growth plan. - -::: - -### Custom, team, and growth plans - -There is no change. The process remains the same as a standard request. diff --git a/services/concepts/curl.md b/services/concepts/curl.md index 327e4033efb..4e42cbb33c1 100644 --- a/services/concepts/curl.md +++ b/services/concepts/curl.md @@ -24,7 +24,7 @@ Your operating system may include curl, or you may need to [download and install Many Infura requests take the form: ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -38,17 +38,17 @@ It requests the latest block number using the method `eth_blockNumber`. Let's step through each line of the code snippet to understand what's happening. -The first line uses the `curl` command to send a request to the URL `https://mainnet.infura.io/v3/YOUR-API-KEY`. +The first line uses the `curl` command to send a request to the URL `https://mainnet.infura.io/v3/`. #### curl command ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ ``` :::info -Replace `YOUR-API-KEY` with a specific [API key](../../../developer-tools/dashboard/get-started/create-api/). +Replace `` with a specific [API key](../../../developer-tools/dashboard/get-started/create-api/). ::: diff --git a/services/concepts/websockets.md b/services/concepts/websockets.md index 6b4a179ef85..cfd6a98079d 100644 --- a/services/concepts/websockets.md +++ b/services/concepts/websockets.md @@ -55,7 +55,7 @@ Infura support subscriptions over WebSockets for the following networks: :::info -WebSocket support is currently in public beta for Arbitrum, Avalanche (C-Chain) and Optimism. +WebSocket support is currently in public beta for Arbitrum, Avalanche (C-Chain), BNB, opBNB, and Optimism. ::: @@ -71,12 +71,26 @@ Create stateful subscriptions over WebSockets to listen to specific events. Exam ## Pricing -WebSocket activity is counted toward your daily request limits. View the [Infura pricing](https://www.infura.io/pricing) -for more information about your request limits. +For users on [Infura's credit pricing plan](../get-started/pricing/index.md), subscribing and unsubscribing to +events using the `eth_subscribe` and `eth_unsubscribe` methods consume credits from your daily quota. +Credits are consumed for these actions to prevent spamming, even if no valuable data is sent. -:::info Pricing model may change +:::tip -Infura might change the pricing model and implement some limitations on subscriptions over WebSockets in the future. Before -implementing any changes, customers will receive advanced notification, so they can consider the best option for their needs. +Refer to the [credit cost table](../get-started/pricing/credit-cost.md) for more information about the +credit costs associated with the relevant method calls. + +For users on the existing request-based billing system, WebSocket activity is counted toward your daily request +limits. View the [Infura pricing website](https://www.infura.io/pricing) for more information about your +request limits. ::: + +Additional credit-based charges are applied for the events returned: + +- `newHeads`: Each new block event consumes 50 credits from your daily quota. This event is triggered + once per announced block. +- `logs`: Depending on the filters applied, this event can consume 300 credits per block from your + daily quota. At most, one event per announced block is charged, and potentially none if filter constraints are not met. +- `newPendingTransaction`: An event is generated every 700-800ms, aggregating the total amount of + pending transactions collected during that period. Each event consumes 200 credits from your daily quota. diff --git a/services/get-started/endpoints.md b/services/get-started/endpoints.md index d9a3097bbbf..181bc5f03e1 100644 --- a/services/get-started/endpoints.md +++ b/services/get-started/endpoints.md @@ -42,10 +42,12 @@ request to `support@infura.io` and we will assess if your request can be accommo ## Blast -| Network | Description | URL | -| ----------------- | ------------------- | ---------------------------------------------- | -| Mainnet | JSON-RPC over HTTPS | `https://blast-mainnet.infura.io/v3/` | -| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://blast-sepolia.infura.io/v3/` | +| Network | Description | URL | +|-------------------|-------------------------|----------------------------------------------------| +| Mainnet | JSON-RPC over HTTPS | `https://blast-mainnet.infura.io/v3/` | +| Mainnet | JSON-RPC over WebSocket | `wss://blast-mainnet.infura.io/ws/v3/` | +| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://blast-sepolia.infura.io/v3/` | +| Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://blast-sepolia.infura.io/ws/v3/` | ## Binance Smart Chain @@ -66,17 +68,12 @@ request to `support@infura.io` and we will assess if your request can be accommo ## Ethereum -:::note -The Holesky testnet is supported through the -[Decentralized Infrastructure Network (DIN)](https://www.infura.io/solutions/decentralized-infrastructure-service) -service and does not currently support WebSockets. -::: - | Network | Description | URL | | ----------------- | ----------------------- | ----------------------------------------- | | Mainnet | JSON-RPC over HTTPS | `https://mainnet.infura.io/v3/` | | Mainnet | JSON-RPC over WebSocket | `wss://mainnet.infura.io/ws/v3/` | | Testnet (Holesky) | JSON-RPC over HTTPS | `https://holesky.infura.io/v3/` | +| Holesky | JSON-RPC over WebSocket | `wss://holesky.infura.io/ws/v3/` | | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://sepolia.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://sepolia.infura.io/ws/v3/` | @@ -111,16 +108,26 @@ Sepolia instead. | Mainnet | JSON-RPC over HTTPS | `https://linea-mainnet.infura.io/v3/` | | Mainnet | JSON-RPC over WebSocket | `wss://linea-mainnet.infura.io/ws/v3/` | | Testnet (Goerli) | JSON-RPC over HTTPS | `https://linea-goerli.infura.io/v3/` | -| Testnet (Goerli) | JSON-RPC over WebSocket | `wss://linea-goerli.infura.io/ws/v3//` | +| Testnet (Goerli) | JSON-RPC over WebSocket | `wss://linea-goerli.infura.io/ws/v3/` | | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://linea-sepolia.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://linea-sepolia.infura.io/ws/v3/` | ## Mantle -| Network | Description | URL | -| ----------------- | ------------------- | ----------------------------------------------- | -| Mainnet | JSON-RPC over HTTPS | `https://mantle-mainnet.infura.io/v3/` | -| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://mantle-sepolia.infura.io/v3/` | +| Network | Description | URL | +|-------------------|-------------------------|--------------------------------------------------| +| Mainnet | JSON-RPC over HTTPS | `https://mantle-mainnet.infura.io/v3/` | +| Mainnet | JSON-RPC over WebSocket | `wss://mantle-mainnet.infura.io/ws/v3/` | +| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://mantle-sepolia.infura.io/v3/` | +| Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://mantle-sepolia.infura.io/ws/v3/` | + +## opBNB + +| Network | Transport type | URL | +|-------------------|-------------------------|-------------------------------------------------| +| Mainnet | JSON-RPC over HTTPS | `https://opbnb-mainnet.infura.io/v3/` | +| Mainnet | JSON-RPC over WebSocket | `wss://opbnb-mainnet.infura.io/ws/v3/` | +| Testnet | JSON-RPC over HTTPS | `https://opbnb-testnet.infura.io/v3/` | ## Optimism diff --git a/services/get-started/infura.md b/services/get-started/infura.md index 483edb03763..c1e336c18d8 100644 --- a/services/get-started/infura.md +++ b/services/get-started/infura.md @@ -63,7 +63,7 @@ Use the API key when sending requests. The following examples interact with the :::info - All requests are `POST` requests. -- Replace `YOUR-API-KEY` with your own unique API key. +- Replace `` with your own unique API key. ::: @@ -83,7 +83,7 @@ Retrieve the current block number. ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber", "params": []}' @@ -93,7 +93,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -URL: https://mainnet.infura.io/v3/YOUR-API-KEY +URL: https://mainnet.infura.io/v3/ Request_Type: POST Body: { @@ -125,7 +125,7 @@ The example code checks the latest balance of the Ethereum Proof of Stake (PoS) ```bash -curl https://mainnet.infura.io/v3/API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0x00000000219ab540356cBB839Cbe05303d7705Fa", "latest"], "id": 1}' @@ -135,7 +135,7 @@ curl https://mainnet.infura.io/v3/API-KEY \ ```bash -URL: https://mainnet.infura.io/v3/YOUR-PROJECT-ID +URL: https://mainnet.infura.io/v3/ Request_Type: POST Body: { @@ -189,19 +189,51 @@ Use an allowlist to restrict API key access. See to the [allowlist documentation ## 5. View your project stats +The Infura dashboard displays an overview of your daily request health and daily credit usage. +Select **View Stats** or **stats** to monitor your project request stats. + +
+
+ +
+
+ From the Stats page of the Infura dashboard, you can view real-time statistics about your API usage. Optimize your app and better understand your users by -[reviewing your API request stats](../../../developer-tools/dashboard/how-to/dashboard-stats) regularly. +[reviewing your API request stats](/developer-tools/dashboard/how-to/dashboard-stats) regularly. + +
+
+ +
+
+ +## 6. View your credit usage + +The Infura dashboard provides an overview of your daily credit usage. Select **View Usage** +for a [wider view of your credit usage](/developer-tools/dashboard/how-to/credit-usage). + +:::info + +The credit pricing model replaces request-based billing for free-tier (Core) customers. Customers on +Developer and Team plans will be transitioned to the credit model on September 30, 2024. +**Existing customers on Growth and Custom plans will remain on request-based billing**. + +:::
-## 6. Manage your account +## 7. Manage your account Find additional settings in **Settings** to manage your account. You can do the following: diff --git a/services/get-started/pricing/credit-cost.md b/services/get-started/pricing/credit-cost.md new file mode 100644 index 00000000000..2c7e43c11e0 --- /dev/null +++ b/services/get-started/pricing/credit-cost.md @@ -0,0 +1,217 @@ +--- +description: API method credit cost. +--- + +# Credit costs + +The following tables outline the credit costs associated with various RPC methods across different +networks. The credit calculation logic is designed to ensure accurate and fair pricing based on the +specific network and method being used. + +:::caution important + +Requests for [archive data](../../concepts/archive-data.md) (older than 128 blocks) +currently cost the same as non-archive data, but this might change in the near future. +::: + +The process used to determine the credit cost for each request is as follows: + +1. **Initial check for a specific credit value** - When you make a request, the system first checks if there is a specific credit value assigned for the network and method used. + This ensures that any unique resource requirements or costs associated with a particular network are accurately reflected. + +1. **Fallback to the Ethereum method's credit value** - If no specific credit value is found for the network, the system applies the Ethereum method's credit value. + Ethereum serves as the baseline for pricing core RPC methods. + +1. **Fallback to the default credit value** - If the method is not found in the Ethereum table either, the system applies a default credit value. + Initially set to 80 credits, this default value ensures all requests are accounted for, even if specific pricing information is not available. + +## Error code costs + +When making requests that return status code errors, some errors count towards your credit usage. + +- **`429` errors**: These are not charged and can occur for the following reasons: + - **Key settings credit limit caps**: These are limits set per API key. + - **Credit quota limit caps**: These are overall credit usage limits. + - **Credit throughput limit caps**: These are limits on the rate or throughput of requests. + +- **`4xx` errors**: These are errors caused by human input, and consume 5 credits. + +- **`5xx` errors**: These are server errors, and do not consume any credit charges. + +## Ethereum + +The Ethereum methods serve as a baseline for pricing RPC methods. If a credit cost is not available for +a specific network, then use the default Ethereum method's credit cost. + +### Standard Ethereum-compliant JSON-RPC methods + +| RPC method | Credit cost | +|-------------------------------------------|-------------| +| `eth_accounts` | 80 | +| `eth_blobBaseFee` | 300 | +| `eth_blockNumber` | 80 | +| `eth_call` | 80 | +| `eth_chainId` | 5 | +| `eth_createAccessList` | 80 | +| `eth_estimateGas` | 300 | +| `eth_feeHistory` | 80 | +| `eth_gasPrice` | 80 | +| `eth_getBalance` | 80 | +| `eth_getBlockByHash` | 80 | +| `eth_getBlockByNumber` | 80 | +| `eth_getBlockReceipts` | 1000 | +| `eth_getBlockTransactionCountByHash` | 150 | +| `eth_getBlockTransactionCountByNumber` | 150 | +| `eth_getCode` | 80 | +| `eth_getLogs` | 255 | +| `eth_getProof` | 150 | +| `eth_getStorageAt` | 80 | +| `eth_getTransactionByBlockHashAndIndex` | 150 | +| `eth_getTransactionByBlockNumberAndIndex` | 150 | +| `eth_getTransactionByHash` | 80 | +| `eth_getTransactionCount` | 80 | +| `eth_getTransactionReceipt` | 80 | +| `eth_getUncleByBlockHashAndIndex` | 150 | +| `eth_getUncleByBlockNumberAndIndex` | 150 | +| `eth_getUncleCountByBlockHash` | 150 | +| `eth_getUncleCountByBlockNumber` | 150 | +| `eth_getWork` | 80 | +| `eth_hashrate` | 5 | +| `eth_maxPriorityFeePerGas` | 80 | +| `eth_mining` | 5 | +| `eth_protocolVersion` | 5 | +| `eth_sendRawTransaction` | 720 | +| `eth_sign` | 80 | +| `eth_submitWork` | 80 | +| `eth_subscribe` | 5 | +| `eth_syncing` | 5 | +| `eth_unsubscribe` | 10 | +| `net_listening` | 5 | +| `net_peerCount` | 80 | +| `net_version` | 5 | +| `web3_clientVersion` | 80 | + +### Trace methods + +| RPC method | Credit cost | +|---------------------|-------------| +| `trace_block` | 300 | +| `trace_call` | 300 | +| `trace_callMany` | 300 | +| `trace_filter` | 300 | +| `trace_transaction` | 300 | + + +### Filter methods + +| RPC method | Credit cost | +|-----------------------------------|-------------| +| `eth_getFilterChanges` | 140 | +| `eth_getFilterLogs` | 255 | +| `eth_newBlockFilter` | 80 | +| `eth_newFilter` | 80 | +| `eth_uninstallFilter` | 80 | + +### Debug methods + +| RPC method | Credit cost | +|----------------------------|-------------| +| `debug_storageRangeAt` | 1000 | +| `debug_traceBlock` | 1000 | +| `debug_traceBlockByHash` | 1000 | +| `debug_traceBlockByNumber` | 1000 | +| `debug_traceCall` | 1000 | +| `debug_traceTransaction` | 1000 | + + +### Subscription events + +You can subscribe and unsubscribe to events using [`eth_subscribe`](../../reference/ethereum/json-rpc-methods/subscription-methods/eth_subscribe.mdx) and [`eth_unsubscribe`](../../reference/ethereum/json-rpc-methods/subscription-methods/eth_unsubscribe.mdx). + +The credit costs for the `logs` and `newHeads` events are charged per block, whereas `newPendingTransaction` events +are charged at approximately one second intervals. + +| Subscription events | Credit cost | +|-------------------------|-------------| +| `logs` | 300 | +| `newHeads` | 50 | +| `newPendingTransaction` | 200 | + +## Linea + +| RPC method | Credit cost | +|-------------------------------------------|-------------| +| `linea_estimateGas` | 100 | + + +## Polygon + +| RPC method | Credit cost | +|----------------------------|-------------| +| `bor_getAuthor` | 80 | +| `bor_getCurrentProposer` | 80 | +| `bor_getCurrentValidators` | 80 | +| `bor_getRootHash` | 80 | +| `bor_getSignersAtHash` | 80 | + +## Starknet + +| RPC Method | Credit cost | +|--------------------------------------------|-------------| +| `starknet_addDeclareTransaction` | 700 | +| `starknet_addDeployAccountTransaction` | 700 | +| `starknet_addInvokeTransaction` | 700 | +| `starknet_blockHashAndNumber` | 80 | +| `starknet_blockNumber` | 80 | +| `starknet_call` | 80 | +| `starknet_chainId` | 5 | +| `starknet_estimateFee` | 240 | +| `starknet_getBlockTransactionCount` | 80 | +| `starknet_getBlockWithTxHashes` | 80 | +| `starknet_getBlockWithTxs` | 80 | +| `starknet_getClass` | 80 | +| `starknet_getClassAt` | 80 | +| `starknet_getClassHashAt` | 80 | +| `starknet_getEvents` | 200 | +| `starknet_getNonce` | 80 | +| `starknet_getStateUpdate` | 80 | +| `starknet_getStorageAt` | 80 | +| `starknet_getTransactionByBlockIdAndIndex` | 80 | +| `starknet_getTransactionByHash` | 80 | +| `starknet_getTransactionReceipt` | 80 | +| `starknet_pendingTransactions` | 160 | +| `starknet_simulateTransactions` | 160 | +| `starknet_specVersion` | 5 | +| `starknet_syncing` | 5 | + + +## ZKsync Era + +| RPC method | Credit cost | +|-------------------------------|-------------| +| `zks_estimateFee` | 80 | +| `zks_estimateGasL1ToL2` | 80 | +| `zks_getAllAccountBalances` | 80 | +| `zks_getBlockDetails` | 80 | +| `zks_getBridgeContracts` | 80 | +| `zks_getBytecodeByHash` | 80 | +| `zks_getL1BatchBlockRange` | 80 | +| `zks_getL1BatchDetails` | 80 | +| `zks_getL2ToL1LogProof` | 80 | +| `zks_getL2ToL1MsgProof` | 80 | +| `zks_getMainContract` | 80 | +| `zks_getProof` | 80 | +| `zks_getRawBlockTransactions` | 80 | +| `zks_getTestnetPaymaster` | 80 | +| `zks_getTransactionDetails` | 80 | +| `zks_L1BatchNumber` | 80 | +| `zks_L1ChainId` | 80 | + +## Gas API + +| API endpoint | Credit cost | +|---------------------|--------------| +| `baseFeeHistory` | 80 | +| `baseFeePercentile` | 80 | +| `busyThreshold` | 80 | +| `suggestedGasFees` | 80 | diff --git a/services/get-started/pricing/index.md b/services/get-started/pricing/index.md new file mode 100644 index 00000000000..7f3f5397c6f --- /dev/null +++ b/services/get-started/pricing/index.md @@ -0,0 +1,56 @@ +--- +description: Infura's credit pricing model. +--- + +# Pricing + +:::info + +The credit pricing model replaces request-based billing for free-tier (Core) customers. Customers on +Developer and Team plans will be transitioned to the credit model on September 30, 2024. + +**Existing customers on Growth and Custom plans will remain on request-based billing**. + +::: + +Infura's credit pricing model introduces a more accurate and transparent pricing structure by assigning +specific credit values to each request, based on computational complexity. + +Infura users get a fixed allocated daily credit quota as part of their subscription plan, which they can +use toward any combination of requests, allowing for more precise budgeting and resource management. +This shift not only provides greater flexibility but also encourages efficient use of resources. + +:::tip + +View the [credit cost table](./credit-cost.md) for a breakdown of the cost for each method. + +::: + +## Credit pricing considerations + +Depending on the type of requests, the credit pricing model might have unique ways of counting +credits toward your daily credit quota: + +- [**WebSocket streaming**](../../concepts/websockets.md#pricing): Subscribing and unsubscribing to events consume credits from your + daily quota. Each event received through a WebSocket connection also + [consumes credits based on the event type](./credit-cost.md#subscription-events). + WebSocket connections are severed once you reach your daily credit limit. + +- [**Batch requests**](../../how-to/make-batch-requests.md): Each individual RPC call + within a batch call consumes credits (including the batch call itself). + +- [**Archive requests**](../../concepts/archive-data.md): Accessing archive data (older than 128 blocks) + currently consumes the same amount of credits as non-archive data, however, this might change in the future. + +## Infura plans + +The following credit plans are available for new customers: + +- **Free tier**: 6,000,000 daily credits, and 2,000 credits per second rate limit. +- **Developer**: 15,000,000 daily credits, and 4,000 credits per second rate limit. +- **Team**: 75,000,000 daily credits, and 40,000 credits per second rate limit. +- **Custom**: [Contact us](https://www.infura.io/contact) to determine the custom plan for your requirements. + +:::info important +The existing Growth plan is no longer available to new Infura customers. +::: diff --git a/services/how-to/avoid-rate-limiting.md b/services/how-to/avoid-rate-limiting.md index a089a08be6d..1ae429cdaec 100644 --- a/services/how-to/avoid-rate-limiting.md +++ b/services/how-to/avoid-rate-limiting.md @@ -5,31 +5,34 @@ sidebar_position: 1 # Avoid rate limiting -Infura applies rate limiting account-wide after exceeding the daily request limit or the number of requests per second. +Infura applies rate limiting account-wide after exceeding the [daily credit limit](../get-started/pricing/index.md) +or the number of credits per second (throughput). -For rate limiting designed to protect our service in the event of an attack, Infura uses a combination of: +:::info -- Source IP address. -- JSON-RPC method. -- API key. +The credit pricing model replaces request-based billing for free-tier (Core) customers. Customers on +Developer and Team plans will be transitioned to the credit model on September 30, 2024. -Infura is constantly adjusting rate limits based on overall usage and possible abuse. +**Existing customers on Growth and Custom plans will remain on request-based billing**. -Typically only aggressive use should experience rate limiting. +::: -Customers running into rate limits are encouraged to [contact us](https://www.infura.io/contact). We'll work with you to determine how best to avoid rate limits. +For rate limiting designed to protect our service in the event of an attack, Infura uses a combination of: -:::info +The throughput of an an account will be throttled once the daily credit limit is reached. Credit +quota limits will be reset everyday at 00:00 UTC for all customers. -Requests for archive data are more expensive and are therefore subject to different rate limits. [Find out more](../concepts/archive-data.md#rate-limits). +## Rate limit implications -::: +Daily credit quota limits apply after reaching your daily credit allowance: -### Notice rate limiting behavior? +- Once you reach your daily request limit, you can still make further requests, but throughput + will be throttled. +- The WebSocket service will sever connections. -When you're rate limited, your JSON-RPC responses have HTTP status code `429.` +### Notice rate limiting behavior? -They also contain a JSON-RPC error response with the reason for the rate limit. For example, if you use all the allowed daily requests: +You'll receive a JSON response with an HTTP status code `429` if you reach your credits per second limits: ```json { @@ -42,7 +45,8 @@ They also contain a JSON-RPC error response with the reason for the rate limit. } ``` -Or if you submit a higher number of requests per second than the maximum allowed limit: +Or if you submit a request with a higher number of credits per second throughput than the maximum +allowed limit: ```json { @@ -69,7 +73,8 @@ The `data` array contains three fields related to rate limits: :::info -The value for `allowed_rps` changes depending on overall network conditions; therefore consider the value for `current_rps` valid and up-to-date. +The value for `allowed_rps` changes depending on overall network conditions; therefore consider the value +for `current_rps` valid and up-to-date. ::: @@ -79,13 +84,16 @@ We recommend pausing JSON-RPC activity for the time value in `backoff_seconds`. If you're consistently rate limited, consider these workarounds: -- **Cache Ethereum data locally.** Barring rare deep reorganizations of the chain, blocks more than a couple of blocks below the head of the chain can be cached indefinitely. Ask for the data once then keep it locally. -- **Limit RPCs at dapp startup.** Likewise, limit the number of RPCs your dapp calls immediately at startup. Only request data as the user accesses that portion of the dapp, and cache anything from older blocks for next time. -- **Don't poll Infura in a tight loop.** New blocks come roughly every 15 seconds, so requesting new data at a faster rate usually doesn't make sense. Consider using `eth_subscribe` to be notified when new blocks are available. - -You can have Infura notify you when you're near your daily limit by selecting **Email Notifications** the **Accounts** tab -of the Infura **Settings**. Infura sends emails when your daily requests reach 75%, 85%, and 100% of the allowed limit. - -**Example email**: - -![Example email](../images/emailexample.png) +- **Cache Ethereum data locally.** Barring rare deep reorganizations of the chain, blocks more than a + couple of blocks below the head of the chain can be cached indefinitely. Ask for the data once then + keep it locally. +- **Limit RPCs at dapp startup.** Likewise, limit the number of RPCs your dapp calls immediately + at startup. Only request data as the user accesses that portion of the dapp, and cache anything + from older blocks for next time. +- **Don't poll Infura in a tight loop.** New blocks come roughly every 15 seconds, so requesting new + data at a faster rate usually doesn't make sense. Consider using `eth_subscribe` to be notified + when new blocks are available. + +You can have Infura notify you when you're near your daily daily credit limit by selecting +**Email Notifications** in the **Accounts** page of the Infura **Settings**. Infura sends emails +when your daily credits reach 75%, 85%, and 100% of the allowed limit. \ No newline at end of file diff --git a/services/how-to/enable-api-forwarding.md b/services/how-to/enable-api-forwarding.md index 49292b16350..14450f5b6e7 100644 --- a/services/how-to/enable-api-forwarding.md +++ b/services/how-to/enable-api-forwarding.md @@ -28,7 +28,7 @@ In the code tabs, the `eth_blockNumber` method is used as an example. ```bash -curl https://.infura.io/v3/YOUR-API-KEY \ +curl https://.infura.io/v3/ \ -X POST \ -H "Enable-Failover: true" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -51,7 +51,7 @@ const provider = new https.Agent(options) const web3 = new Web3( new Web3.providers.HttpProvider( - "https://.infura.io/v3/YOUR-API-KEY", + "https://.infura.io/v3/", { agent: provider } ) ) @@ -93,7 +93,7 @@ class InfuraJsonRpcProvider extends ethers.providers.JsonRpcProvider { } const provider = new InfuraJsonRpcProvider( - "https://.infura.io/v3/YOUR-API-KEY" + "https://.infura.io/v3/" ) provider.getBlockNumber().then((blockNumber) => { diff --git a/services/how-to/test-net.md b/services/how-to/get-testnet-tokens.md similarity index 94% rename from services/how-to/test-net.md rename to services/how-to/get-testnet-tokens.md index 395a5296ee2..52b3cfaf20e 100644 --- a/services/how-to/test-net.md +++ b/services/how-to/get-testnet-tokens.md @@ -18,7 +18,7 @@ Use [testnet endpoints](../get-started/endpoints.md) during development and init | Testnet | Faucet URL | Bridge URL | |-------------|-------------------|-------------------------------| | [Arbitrum Sepolia](https://docs.arbitrum.io/launch-orbit-chain/how-tos/add-orbit-chain-to-bridge-ui)| [Arbitrum Sepolia faucet](https://faucet.quicknode.com/arbitrum/sepolia)| [Arbitrum bridge](https://bridge.arbitrum.io/)| -| [Avalanche Fuji](https://docs.avax.network/build/tutorials/platform/fuji-workflow)| [Avalanche Fuji faucet](https://faucet.avax.network)| [Avalanche bridge](https://bridge.avax.network/)| +| [Avalanche Fuji](https://docs.avax.network/learn/networks/fuji-testnet)| [Avalanche Fuji faucet](https://faucet.avax.network)| [Avalanche bridge](https://bridge.avax.network/)| | [Base Sepolia](https://docs.base.org/docs/using-base/)| [Base Sepolia faucet](https://faucet.quicknode.com/base/sepolia)| [Base bridge](https://bridge.base.org/deposit)| | [Blast Sepolia](https://docs.blast.io/using-blast)| [Blast Sepolia faucet](https://faucet.quicknode.com/blast/sepolia)| | | [Binance Smart Chain (BSC) Sepolia](https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain)| [BSC Sepolia faucet](https://www.bnbchain.org/en/testnet-faucet)| [BSC bridge](https://www.bnbchain.org/en/bnb-chain-bridges)| diff --git a/services/how-to/interact-with-erc-20-tokens.md b/services/how-to/interact-with-erc-20-tokens.md index b5b66b78a44..609fadab511 100644 --- a/services/how-to/interact-with-erc-20-tokens.md +++ b/services/how-to/interact-with-erc-20-tokens.md @@ -64,7 +64,7 @@ The first four bytes of this hash comprise its four-byte signature. Take this fo ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -102,7 +102,7 @@ The following example uses `eth_getLogs` on the DAI ERC-20 Solidity contract [`0 ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "id": 1, "params": [{"fromBlock": "0x91F37C", "toBlock": "0x91F37C", "topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x000000000000000000000000ee25e1ba53c225d250861c8e5a9a3e0fe19c790e", "0x000000000000000000000000dfbaf3e4c7496dad574a1b842bc85b402bdc298d"], "address": "0x6B175474E89094C44Da98b954EedeAC495271d0F"}]}' diff --git a/services/how-to/make-batch-requests.md b/services/how-to/make-batch-requests.md index a873664ea1c..700dd41d939 100644 --- a/services/how-to/make-batch-requests.md +++ b/services/how-to/make-batch-requests.md @@ -7,17 +7,20 @@ sidebar_position: 4 Multiple requests can be sent at the same time in an array. This is called a [batch](https://www.jsonrpc.org/specification#batch) request, and conforms to the [JSON-RPC 2.0 specification](https://www.jsonrpc.org/specification). Batch is also commonly -eferred to as "multi-call." +referred to as "multi-call." :::info -All requests within the array are counted as individual requests against the daily request limit and batch itself is counted as a request. +All requests in the array are counted as individual requests against the [daily credit limit](../get-started/pricing/index.md) +and batch itself is counted as a request. -For example, if the array of request contains 30 requests, then those 30 requests count against the daily request limit, as well as the batch of requests, so this would be 31 total requests. +For example, if the array contains 30 requests, then those 30 requests count against the +daily credit request limit, as well as the batch of requests, so this would be 31 total requests. ::: -Each request contained within the array is processed before all the requests are returned. Therefore, when requests are sent in a batch, they will be returned only after every request is processed. +Each request in the array is processed before all the requests are returned. Therefore, when +requests are sent in a batch, they will be returned only after each request is processed. Example batch request (containing 30 requests plus the batch request itself): diff --git a/services/how-to/subscribe-to-events.md b/services/how-to/subscribe-to-events.md index 09fcd4cfdd1..a97301a7d35 100644 --- a/services/how-to/subscribe-to-events.md +++ b/services/how-to/subscribe-to-events.md @@ -11,6 +11,14 @@ on the blockchain. For example, monitor an NFT smart contract to alert you when Stateless HTTP WebSockets are supported, however, we recommend using the WSS protocol to set up bidirectional stateful subscriptions. +:::info +For users on [Infura's credit pricing plan](../get-started/pricing/index.md), subscribing and unsubscribing to +events using the `eth_subscribe` and `eth_unsubscribe` methods consume credits from your daily quota. +Credits are consumed for these actions to prevent spamming, even if no valuable data is sent. + +View the [WebSocket pricing information](../concepts/websockets.md#pricing) for a breakdown of the costs. +::: + You need to be aware of the following when sending HTTP RPC requests: - Silent failures - [Users need to manage client-side silent failures](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#pings_and_pongs_the_heartbeat_of_websockets). @@ -26,6 +34,6 @@ You need to be aware of the following when sending HTTP RPC requests: The following WebSocket subscription example fires a notification each time a new header is appended to the chain: ```bash -$ wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY +$ wscat -c wss://mainnet.infura.io/ws/v3/ > {"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]} ``` diff --git a/services/images/analytics.png b/services/images/analytics.png new file mode 100644 index 00000000000..785b99a0faa Binary files /dev/null and b/services/images/analytics.png differ diff --git a/services/images/api-key-page copy.png b/services/images/api-key-page copy.png new file mode 100644 index 00000000000..a7fd524b119 Binary files /dev/null and b/services/images/api-key-page copy.png differ diff --git a/services/images/credit-usage.png b/services/images/credit-usage.png new file mode 100644 index 00000000000..1565a6d80c6 Binary files /dev/null and b/services/images/credit-usage.png differ diff --git a/services/images/dashboard-stats.png b/services/images/dashboard-stats.png deleted file mode 100644 index e4ba8d55204..00000000000 Binary files a/services/images/dashboard-stats.png and /dev/null differ diff --git a/services/images/dashboard_stats.png b/services/images/dashboard_stats.png index b3ded48836e..4952ae7e2ce 100644 Binary files a/services/images/dashboard_stats.png and b/services/images/dashboard_stats.png differ diff --git a/services/images/first-api-key.png b/services/images/first-api-key.png index 79ce21f235c..bd2c5d4a735 100644 Binary files a/services/images/first-api-key.png and b/services/images/first-api-key.png differ diff --git a/services/images/rate-limiting-settings.png b/services/images/rate-limiting-settings.png deleted file mode 100644 index c4ef3c08575..00000000000 Binary files a/services/images/rate-limiting-settings.png and /dev/null differ diff --git a/services/images/settings.png b/services/images/settings.png index 24fdda1f680..114a8e35650 100644 Binary files a/services/images/settings.png and b/services/images/settings.png differ diff --git a/services/images/view-usage.png b/services/images/view-usage.png new file mode 100644 index 00000000000..cccfa341222 Binary files /dev/null and b/services/images/view-usage.png differ diff --git a/services/reference/_partials/_eth_accounts-example.mdx b/services/reference/_partials/_eth_accounts-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_accounts-example.mdx +++ b/services/reference/_partials/_eth_accounts-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_accounts-request.mdx b/services/reference/_partials/_eth_accounts-request.mdx index 388fc2b2692..94bde24fd64 100644 --- a/services/reference/_partials/_eth_accounts-request.mdx +++ b/services/reference/_partials/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_blobbasefee-example.mdx b/services/reference/_partials/_eth_blobbasefee-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_blobbasefee-example.mdx +++ b/services/reference/_partials/_eth_blobbasefee-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_blobbasefee-request.mdx b/services/reference/_partials/_eth_blobbasefee-request.mdx index 068d5b7130c..b46ff03d4f0 100644 --- a/services/reference/_partials/_eth_blobbasefee-request.mdx +++ b/services/reference/_partials/_eth_blobbasefee-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blobBaseFee", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blobBaseFee", "params": [], "id":1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blobBaseFee", "params": [], "id":1}' ``` diff --git a/services/reference/_partials/_eth_blocknumber-example.mdx b/services/reference/_partials/_eth_blocknumber-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_blocknumber-example.mdx +++ b/services/reference/_partials/_eth_blocknumber-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_blocknumber-request.mdx b/services/reference/_partials/_eth_blocknumber-request.mdx index 27f6e08deca..1da2ef2f824 100644 --- a/services/reference/_partials/_eth_blocknumber-request.mdx +++ b/services/reference/_partials/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params":[], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params":[], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_call-example.mdx b/services/reference/_partials/_eth_call-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_call-example.mdx +++ b/services/reference/_partials/_eth_call-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_call-request.mdx b/services/reference/_partials/_eth_call-request.mdx index 2f8c16a57b7..5d6362d60d3 100644 --- a/services/reference/_partials/_eth_call-request.mdx +++ b/services/reference/_partials/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_chainid-example.mdx b/services/reference/_partials/_eth_chainid-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_chainid-example.mdx +++ b/services/reference/_partials/_eth_chainid-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_chainid-request.mdx b/services/reference/_partials/_eth_chainid-request.mdx index 5ae02a64fd5..45c72cce7f4 100644 --- a/services/reference/_partials/_eth_chainid-request.mdx +++ b/services/reference/_partials/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_createaccesslist-example.mdx b/services/reference/_partials/_eth_createaccesslist-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_createaccesslist-example.mdx +++ b/services/reference/_partials/_eth_createaccesslist-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_createaccesslist-request.mdx b/services/reference/_partials/_eth_createaccesslist-request.mdx index ac36937ba9a..a45f39100ff 100644 --- a/services/reference/_partials/_eth_createaccesslist-request.mdx +++ b/services/reference/_partials/_eth_createaccesslist-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1, "jsonrpc": "2.0"}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1, "jsonrpc": "2.0"}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1, "jsonrpc": "2.0"}' ``` diff --git a/services/reference/_partials/_eth_estimategas-example.mdx b/services/reference/_partials/_eth_estimategas-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_estimategas-example.mdx +++ b/services/reference/_partials/_eth_estimategas-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_estimategas-request.mdx b/services/reference/_partials/_eth_estimategas-request.mdx index 2cd7038a908..f4bb023a5cc 100644 --- a/services/reference/_partials/_eth_estimategas-request.mdx +++ b/services/reference/_partials/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_feehistory-example.mdx b/services/reference/_partials/_eth_feehistory-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_feehistory-example.mdx +++ b/services/reference/_partials/_eth_feehistory-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_feehistory-request.mdx b/services/reference/_partials/_eth_feehistory-request.mdx index 9870fd99714..dd7b12f272b 100644 --- a/services/reference/_partials/_eth_feehistory-request.mdx +++ b/services/reference/_partials/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_gasprice-example.mdx b/services/reference/_partials/_eth_gasprice-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_gasprice-example.mdx +++ b/services/reference/_partials/_eth_gasprice-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_gasprice-request.mdx b/services/reference/_partials/_eth_gasprice-request.mdx index b6c906e5d2e..732c453b5eb 100644 --- a/services/reference/_partials/_eth_gasprice-request.mdx +++ b/services/reference/_partials/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getbalance-example.mdx b/services/reference/_partials/_eth_getbalance-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getbalance-example.mdx +++ b/services/reference/_partials/_eth_getbalance-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getbalance-request.mdx b/services/reference/_partials/_eth_getbalance-request.mdx index 46d75374fdd..46e53d9ea8e 100644 --- a/services/reference/_partials/_eth_getbalance-request.mdx +++ b/services/reference/_partials/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0","method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getblockbyhash-example.mdx b/services/reference/_partials/_eth_getblockbyhash-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getblockbyhash-example.mdx +++ b/services/reference/_partials/_eth_getblockbyhash-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getblockbyhash-request.mdx b/services/reference/_partials/_eth_getblockbyhash-request.mdx index 0a209243a08..29133489479 100644 --- a/services/reference/_partials/_eth_getblockbyhash-request.mdx +++ b/services/reference/_partials/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getblockbynumber-example.mdx b/services/reference/_partials/_eth_getblockbynumber-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getblockbynumber-example.mdx +++ b/services/reference/_partials/_eth_getblockbynumber-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getblockbynumber-request.mdx b/services/reference/_partials/_eth_getblockbynumber-request.mdx index ea1fedcade7..5cf511390b2 100644 --- a/services/reference/_partials/_eth_getblockbynumber-request.mdx +++ b/services/reference/_partials/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55",false], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getblockreceipts-example.mdx b/services/reference/_partials/_eth_getblockreceipts-example.mdx index 9bec5e3a7d5..18b78c40076 100644 --- a/services/reference/_partials/_eth_getblockreceipts-example.mdx +++ b/services/reference/_partials/_eth_getblockreceipts-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). \ No newline at end of file +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). \ No newline at end of file diff --git a/services/reference/_partials/_eth_getblockreceipts-request.mdx b/services/reference/_partials/_eth_getblockreceipts-request.mdx index 411062cd61e..4d5151e14c4 100644 --- a/services/reference/_partials/_eth_getblockreceipts-request.mdx +++ b/services/reference/_partials/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import Tabs from "@theme/Tabs"; ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getblocktransactioncountbyhash-example.mdx b/services/reference/_partials/_eth_getblocktransactioncountbyhash-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getblocktransactioncountbyhash-example.mdx +++ b/services/reference/_partials/_eth_getblocktransactioncountbyhash-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/_partials/_eth_getblocktransactioncountbyhash-request.mdx index f8315d33fea..e9790fc3210 100644 --- a/services/reference/_partials/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/_partials/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getblocktransactioncountbynumber-example.mdx b/services/reference/_partials/_eth_getblocktransactioncountbynumber-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getblocktransactioncountbynumber-example.mdx +++ b/services/reference/_partials/_eth_getblocktransactioncountbynumber-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/_partials/_eth_getblocktransactioncountbynumber-request.mdx index 770b99c54e7..7830e1026a4 100644 --- a/services/reference/_partials/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/_partials/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getcode-example.mdx b/services/reference/_partials/_eth_getcode-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getcode-example.mdx +++ b/services/reference/_partials/_eth_getcode-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getcode-request.mdx b/services/reference/_partials/_eth_getcode-request.mdx index e5db05f2e94..a1184ae9702 100644 --- a/services/reference/_partials/_eth_getcode-request.mdx +++ b/services/reference/_partials/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getlogs-example.mdx b/services/reference/_partials/_eth_getlogs-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getlogs-example.mdx +++ b/services/reference/_partials/_eth_getlogs-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getlogs-request.mdx b/services/reference/_partials/_eth_getlogs-request.mdx index 89b8f9c22f8..4e8c2bbd32a 100644 --- a/services/reference/_partials/_eth_getlogs-request.mdx +++ b/services/reference/_partials/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id":1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id":1}' ``` diff --git a/services/reference/_partials/_eth_getproof-example.mdx b/services/reference/_partials/_eth_getproof-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getproof-example.mdx +++ b/services/reference/_partials/_eth_getproof-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getproof-request.mdx b/services/reference/_partials/_eth_getproof-request.mdx index b84ec7cb554..89fb9fb2a0c 100644 --- a/services/reference/_partials/_eth_getproof-request.mdx +++ b/services/reference/_partials/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getstorageat-example.mdx b/services/reference/_partials/_eth_getstorageat-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getstorageat-example.mdx +++ b/services/reference/_partials/_eth_getstorageat-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getstorageat-request.mdx b/services/reference/_partials/_eth_getstorageat-request.mdx index 0022347764e..03db9181560 100644 --- a/services/reference/_partials/_eth_getstorageat-request.mdx +++ b/services/reference/_partials/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getstorageat-response.mdx b/services/reference/_partials/_eth_getstorageat-response.mdx index 7a606d3f85c..5dea70a45b9 100644 --- a/services/reference/_partials/_eth_getstorageat-response.mdx +++ b/services/reference/_partials/_eth_getstorageat-response.mdx @@ -34,7 +34,7 @@ contract Storage { Retrieving the value of pos0 is straight forward: ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x0", "0x65a8db"], "id": 1}' @@ -77,7 +77,7 @@ undefined Now to fetch the storage: ```bash -curl https://mainnet.infura.io/v3/YOUR-PROJECT-ID \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' diff --git a/services/reference/_partials/_eth_gettransactionbyblockhashandindex-example.mdx b/services/reference/_partials/_eth_gettransactionbyblockhashandindex-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_gettransactionbyblockhashandindex-example.mdx +++ b/services/reference/_partials/_eth_gettransactionbyblockhashandindex-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/_partials/_eth_gettransactionbyblockhashandindex-request.mdx index 79d44fbb7d7..ef4ee949013 100644 --- a/services/reference/_partials/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/_partials/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-example.mdx b/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-example.mdx +++ b/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-request.mdx index f126273619e..b3bdfe150e5 100644 --- a/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_gettransactionbyhash-example.mdx b/services/reference/_partials/_eth_gettransactionbyhash-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_gettransactionbyhash-example.mdx +++ b/services/reference/_partials/_eth_gettransactionbyhash-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_gettransactionbyhash-request.mdx b/services/reference/_partials/_eth_gettransactionbyhash-request.mdx index b6306160695..27d08984b04 100644 --- a/services/reference/_partials/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/_partials/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_gettransactioncount-example.mdx b/services/reference/_partials/_eth_gettransactioncount-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_gettransactioncount-example.mdx +++ b/services/reference/_partials/_eth_gettransactioncount-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_gettransactioncount-request.mdx b/services/reference/_partials/_eth_gettransactioncount-request.mdx index b5dc40ad32c..d00689d3d7e 100644 --- a/services/reference/_partials/_eth_gettransactioncount-request.mdx +++ b/services/reference/_partials/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_gettransactionreceipt-example.mdx b/services/reference/_partials/_eth_gettransactionreceipt-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_gettransactionreceipt-example.mdx +++ b/services/reference/_partials/_eth_gettransactionreceipt-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_gettransactionreceipt-request.mdx b/services/reference/_partials/_eth_gettransactionreceipt-request.mdx index 59cbb23b741..f5260b78147 100644 --- a/services/reference/_partials/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/_partials/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getunclebyblockhashandindex-example.mdx b/services/reference/_partials/_eth_getunclebyblockhashandindex-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getunclebyblockhashandindex-example.mdx +++ b/services/reference/_partials/_eth_getunclebyblockhashandindex-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/_partials/_eth_getunclebyblockhashandindex-request.mdx index 9b805dd624a..097adb76932 100644 --- a/services/reference/_partials/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/_partials/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getunclebyblocknumberandindex-example.mdx b/services/reference/_partials/_eth_getunclebyblocknumberandindex-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getunclebyblocknumberandindex-example.mdx +++ b/services/reference/_partials/_eth_getunclebyblocknumberandindex-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/_partials/_eth_getunclebyblocknumberandindex-request.mdx index 2402cb9fa96..0f2e39c4831 100644 --- a/services/reference/_partials/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/_partials/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getunclecountbyblockhash-example.mdx b/services/reference/_partials/_eth_getunclecountbyblockhash-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getunclecountbyblockhash-example.mdx +++ b/services/reference/_partials/_eth_getunclecountbyblockhash-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getunclecountbyblockhash-request.mdx b/services/reference/_partials/_eth_getunclecountbyblockhash-request.mdx index 636cf57d269..e8dcea612ee 100644 --- a/services/reference/_partials/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/_partials/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getunclecountbyblocknumber-example.mdx b/services/reference/_partials/_eth_getunclecountbyblocknumber-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getunclecountbyblocknumber-example.mdx +++ b/services/reference/_partials/_eth_getunclecountbyblocknumber-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/_partials/_eth_getunclecountbyblocknumber-request.mdx index c1a926171e3..dfe40609e94 100644 --- a/services/reference/_partials/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/_partials/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_getwork-example.mdx b/services/reference/_partials/_eth_getwork-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_getwork-example.mdx +++ b/services/reference/_partials/_eth_getwork-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_getwork-request.mdx b/services/reference/_partials/_eth_getwork-request.mdx index f7611087b8e..ad418c6f919 100644 --- a/services/reference/_partials/_eth_getwork-request.mdx +++ b/services/reference/_partials/_eth_getwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_hashrate-example.mdx b/services/reference/_partials/_eth_hashrate-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_hashrate-example.mdx +++ b/services/reference/_partials/_eth_hashrate-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_hashrate-request.mdx b/services/reference/_partials/_eth_hashrate-request.mdx index abe97f2ec35..cd8db3d11eb 100644 --- a/services/reference/_partials/_eth_hashrate-request.mdx +++ b/services/reference/_partials/_eth_hashrate-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_maxpriorityfeepergas-example.mdx b/services/reference/_partials/_eth_maxpriorityfeepergas-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_maxpriorityfeepergas-example.mdx +++ b/services/reference/_partials/_eth_maxpriorityfeepergas-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_maxpriorityfeepergas-request.mdx b/services/reference/_partials/_eth_maxpriorityfeepergas-request.mdx index 3c38105ef84..deae57887d2 100644 --- a/services/reference/_partials/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/_partials/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/_partials/_eth_mining-example.mdx b/services/reference/_partials/_eth_mining-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_mining-example.mdx +++ b/services/reference/_partials/_eth_mining-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_mining-request.mdx b/services/reference/_partials/_eth_mining-request.mdx index 6d369f64d28..f4d9c69c530 100644 --- a/services/reference/_partials/_eth_mining-request.mdx +++ b/services/reference/_partials/_eth_mining-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_protocolversion-example.mdx b/services/reference/_partials/_eth_protocolversion-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_protocolversion-example.mdx +++ b/services/reference/_partials/_eth_protocolversion-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_protocolversion-request.mdx b/services/reference/_partials/_eth_protocolversion-request.mdx index 2603ef334b8..2553833b38b 100644 --- a/services/reference/_partials/_eth_protocolversion-request.mdx +++ b/services/reference/_partials/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_sendrawtransaction-example.mdx b/services/reference/_partials/_eth_sendrawtransaction-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_sendrawtransaction-example.mdx +++ b/services/reference/_partials/_eth_sendrawtransaction-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_sendrawtransaction-request.mdx b/services/reference/_partials/_eth_sendrawtransaction-request.mdx index 8125540f28b..3f0e3d2efa9 100644 --- a/services/reference/_partials/_eth_sendrawtransaction-request.mdx +++ b/services/reference/_partials/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_submitwork-example.mdx b/services/reference/_partials/_eth_submitwork-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_submitwork-example.mdx +++ b/services/reference/_partials/_eth_submitwork-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_submitwork-request.mdx b/services/reference/_partials/_eth_submitwork-request.mdx index c48597b1d69..7b7cd2b9887 100644 --- a/services/reference/_partials/_eth_submitwork-request.mdx +++ b/services/reference/_partials/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' ``` diff --git a/services/reference/_partials/_eth_syncing-example.mdx b/services/reference/_partials/_eth_syncing-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_eth_syncing-example.mdx +++ b/services/reference/_partials/_eth_syncing-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_eth_syncing-request.mdx b/services/reference/_partials/_eth_syncing-request.mdx index 4b30f746099..b8d33a95a00 100644 --- a/services/reference/_partials/_eth_syncing-request.mdx +++ b/services/reference/_partials/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_net_listening-example.mdx b/services/reference/_partials/_net_listening-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_net_listening-example.mdx +++ b/services/reference/_partials/_net_listening-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_net_listening-request.mdx b/services/reference/_partials/_net_listening-request.mdx index b6997b52384..12dbf0ce0af 100644 --- a/services/reference/_partials/_net_listening-request.mdx +++ b/services/reference/_partials/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_net_peercount-example.mdx b/services/reference/_partials/_net_peercount-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_net_peercount-example.mdx +++ b/services/reference/_partials/_net_peercount-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_net_peercount-request.mdx b/services/reference/_partials/_net_peercount-request.mdx index 3ccce1ec5af..408318146bf 100644 --- a/services/reference/_partials/_net_peercount-request.mdx +++ b/services/reference/_partials/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_net_version-example.mdx b/services/reference/_partials/_net_version-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_net_version-example.mdx +++ b/services/reference/_partials/_net_version-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_net_version-request.mdx b/services/reference/_partials/_net_version-request.mdx index 559a6fa205e..5daa5c5a84d 100644 --- a/services/reference/_partials/_net_version-request.mdx +++ b/services/reference/_partials/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/_web3_clientversion-example.mdx b/services/reference/_partials/_web3_clientversion-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/_web3_clientversion-example.mdx +++ b/services/reference/_partials/_web3_clientversion-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/_web3_clientversion-request.mdx b/services/reference/_partials/_web3_clientversion-request.mdx index 6a3247132c2..c9183b41e14 100644 --- a/services/reference/_partials/_web3_clientversion-request.mdx +++ b/services/reference/_partials/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/filter-methods/_eth_getfilterchanges-example.mdx b/services/reference/_partials/filter-methods/_eth_getfilterchanges-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/filter-methods/_eth_getfilterchanges-example.mdx +++ b/services/reference/_partials/filter-methods/_eth_getfilterchanges-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/filter-methods/_eth_getfilterchanges-request.mdx b/services/reference/_partials/filter-methods/_eth_getfilterchanges-request.mdx index bb13d684e93..c84659c90d5 100644 --- a/services/reference/_partials/filter-methods/_eth_getfilterchanges-request.mdx +++ b/services/reference/_partials/filter-methods/_eth_getfilterchanges-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getFilterChanges", "params": ["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getFilterChanges", "params": ["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getFilterChanges", "params": ["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id": 1}' ``` diff --git a/services/reference/_partials/filter-methods/_eth_getfilterlogs-example.mdx b/services/reference/_partials/filter-methods/_eth_getfilterlogs-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/filter-methods/_eth_getfilterlogs-example.mdx +++ b/services/reference/_partials/filter-methods/_eth_getfilterlogs-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/filter-methods/_eth_getfilterlogs-request.mdx b/services/reference/_partials/filter-methods/_eth_getfilterlogs-request.mdx index 3ead8a5b0d9..888c3d13ff1 100644 --- a/services/reference/_partials/filter-methods/_eth_getfilterlogs-request.mdx +++ b/services/reference/_partials/filter-methods/_eth_getfilterlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getFilterLogs", "params": ["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getFilterLogs", "params": ["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getFilterLogs", "params": ["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id": 1}' ``` diff --git a/services/reference/_partials/filter-methods/_eth_newblockfilter-description.mdx b/services/reference/_partials/filter-methods/_eth_newblockfilter-description.mdx index ad1673d5a13..fd0f16b5bad 100644 --- a/services/reference/_partials/filter-methods/_eth_newblockfilter-description.mdx +++ b/services/reference/_partials/filter-methods/_eth_newblockfilter-description.mdx @@ -1,5 +1,5 @@ Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call [`eth_getFilterChanges`](../../ethereum/json-rpc-methods/filter-methods/eth_getfilterchanges.mdx). :::tip Valid for fifteen minutes -Filter IDs will be valid for up to fifteen minutes, and can polled by any connection using the same `YOUR-API-KEY`. +Filter IDs will be valid for up to fifteen minutes, and can polled by any connection using the same ``. ::: diff --git a/services/reference/_partials/filter-methods/_eth_newblockfilter-example.mdx b/services/reference/_partials/filter-methods/_eth_newblockfilter-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/filter-methods/_eth_newblockfilter-example.mdx +++ b/services/reference/_partials/filter-methods/_eth_newblockfilter-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/filter-methods/_eth_newblockfilter-request.mdx b/services/reference/_partials/filter-methods/_eth_newblockfilter-request.mdx index 688491bde4d..6dbde6b6001 100644 --- a/services/reference/_partials/filter-methods/_eth_newblockfilter-request.mdx +++ b/services/reference/_partials/filter-methods/_eth_newblockfilter-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params": [], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params": [], "id": 1}' ``` diff --git a/services/reference/_partials/filter-methods/_eth_newfilter-description.mdx b/services/reference/_partials/filter-methods/_eth_newfilter-description.mdx index ddeacc0e2f6..e7303d38864 100644 --- a/services/reference/_partials/filter-methods/_eth_newfilter-description.mdx +++ b/services/reference/_partials/filter-methods/_eth_newfilter-description.mdx @@ -1,5 +1,5 @@ Creates a filter object based on the given filter options, to notify when the state changes (logs). To check if the state has changed, call [`eth_getFilterChanges`](../../ethereum/json-rpc-methods/filter-methods/eth_getfilterchanges.mdx). :::tip Valid for fifteen minutes -Filter IDs will be valid for up to fifteen minutes, and can polled by any connection using the same `YOUR-API-KEY`. +Filter IDs will be valid for up to fifteen minutes, and can polled by any connection using the same ``. ::: diff --git a/services/reference/_partials/filter-methods/_eth_newfilter-example.mdx b/services/reference/_partials/filter-methods/_eth_newfilter-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/filter-methods/_eth_newfilter-example.mdx +++ b/services/reference/_partials/filter-methods/_eth_newfilter-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/filter-methods/_eth_newfilter-request.mdx b/services/reference/_partials/filter-methods/_eth_newfilter-request.mdx index 9a6829c9f0d..3354ae727a4 100644 --- a/services/reference/_partials/filter-methods/_eth_newfilter-request.mdx +++ b/services/reference/_partials/filter-methods/_eth_newfilter-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_newFilter", "params": [{"topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_newFilter", "params": [{"topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_newFilter", "params": [{"topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}], "id": 1}' ``` diff --git a/services/reference/_partials/filter-methods/_eth_uninstallfilter-example.mdx b/services/reference/_partials/filter-methods/_eth_uninstallfilter-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/filter-methods/_eth_uninstallfilter-example.mdx +++ b/services/reference/_partials/filter-methods/_eth_uninstallfilter-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/filter-methods/_eth_uninstallfilter-request.mdx b/services/reference/_partials/filter-methods/_eth_uninstallfilter-request.mdx index 91b5310b5ad..e155d40a55f 100644 --- a/services/reference/_partials/filter-methods/_eth_uninstallfilter-request.mdx +++ b/services/reference/_partials/filter-methods/_eth_uninstallfilter-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_uninstallFilter", "params": ["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_uninstallFilter", "params": ["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_uninstallFilter", "params": ["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"], "id": 1}' ``` diff --git a/services/reference/_partials/subscription-methods/_eth_subscribe-example.mdx b/services/reference/_partials/subscription-methods/_eth_subscribe-example.mdx index b8029645073..1060ec18ead 100644 --- a/services/reference/_partials/subscription-methods/_eth_subscribe-example.mdx +++ b/services/reference/_partials/subscription-methods/_eth_subscribe-example.mdx @@ -1,4 +1,4 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). :::tip WebSocket connections only diff --git a/services/reference/_partials/subscription-methods/_eth_subscribe-request.mdx b/services/reference/_partials/subscription-methods/_eth_subscribe-request.mdx index 62aa6179ce3..ed2af47320c 100644 --- a/services/reference/_partials/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/_partials/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` @@ -20,7 +20,7 @@ wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' ``` diff --git a/services/reference/_partials/subscription-methods/_eth_unsubscribe-example.mdx b/services/reference/_partials/subscription-methods/_eth_unsubscribe-example.mdx index b8029645073..1060ec18ead 100644 --- a/services/reference/_partials/subscription-methods/_eth_unsubscribe-example.mdx +++ b/services/reference/_partials/subscription-methods/_eth_unsubscribe-example.mdx @@ -1,4 +1,4 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). :::tip WebSocket connections only diff --git a/services/reference/_partials/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/_partials/subscription-methods/_eth_unsubscribe-request.mdx index 504da5ae67b..e84301e1895 100644 --- a/services/reference/_partials/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/_partials/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/_partials/trace-methods/_trace_block-example.mdx b/services/reference/_partials/trace-methods/_trace_block-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/trace-methods/_trace_block-example.mdx +++ b/services/reference/_partials/trace-methods/_trace_block-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/trace-methods/_trace_block-request.mdx b/services/reference/_partials/trace-methods/_trace_block-request.mdx index a0d393e2611..c911d81df78 100644 --- a/services/reference/_partials/trace-methods/_trace_block-request.mdx +++ b/services/reference/_partials/trace-methods/_trace_block-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "trace_block", "params": ["0x6"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "trace_block", "params": ["0x6"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "trace_block", "params": ["0x6"], "id": 1}' ``` diff --git a/services/reference/_partials/trace-methods/_trace_call-example.mdx b/services/reference/_partials/trace-methods/_trace_call-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/trace-methods/_trace_call-example.mdx +++ b/services/reference/_partials/trace-methods/_trace_call-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/trace-methods/_trace_call-request.mdx b/services/reference/_partials/trace-methods/_trace_call-request.mdx index 058e9840784..41943ea2d12 100644 --- a/services/reference/_partials/trace-methods/_trace_call-request.mdx +++ b/services/reference/_partials/trace-methods/_trace_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "trace_call", "params": [{"from": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", "to": "0x0010000000000000000000000000000000000000", "gas": "0xfffff2", "gasPrice": "0xef", "value": "0x0", "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002", "nonce": "0x0"}, ["trace"], "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "trace_call", "params": [{"from":"0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", "to": 0x0010000000000000000000000000000000000000", "gas": "0xfffff2", "gasPrice": "0xef", "value": "0x0", "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002", "nonce": "0x0"}, ["trace"], "latest"], "id":1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "trace_call", "params": [{"from":"0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", "to": 0x0010000000000000000000000000000000000000", "gas": "0xfffff2", "gasPrice": "0xef", "value": "0x0", "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002", "nonce": "0x0"}, ["trace"], "latest"], "id":1}' ``` diff --git a/services/reference/_partials/trace-methods/_trace_callmany-example.mdx b/services/reference/_partials/trace-methods/_trace_callmany-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/trace-methods/_trace_callmany-example.mdx +++ b/services/reference/_partials/trace-methods/_trace_callmany-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx b/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx index 8c9f4fc4d6a..2d65dddecbf 100644 --- a/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx +++ b/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx @@ -1,2 +1,5 @@ -- `block parameter`: _[Required]_ The hexadecimal block number, or the string `latest`, `earliest`, or `pending`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block). -- `options`: A list of tracing options. Tracing options are [`trace`](../../ethereum/json-rpc-methods/trace-methods/index.md#trace) and [`stateDiff`](../../ethereum/json-rpc-methods/trace-methods/index.md#statediff). Specify both options or none. +- `trace call parameters`: _[Required]_ Array of trace call parameters. + Each trace call parameter itself is an array containing the following: + - `transaction call object`: _[Required]_ Transaction call object containing the same data as in the [`trace_call`](../../ethereum/json-rpc-methods/trace-methods/trace_call.mdx#parameters) parameter. + - `options`:_[Optional]_ An array of tracing options. Tracing options are [`trace`](../../ethereum/json-rpc-methods/trace-methods/index.md#trace) and [`stateDiff`](../../ethereum/json-rpc-methods/trace-methods/index.md#statediff). Specify both options or none. +- `block parameter`: _[Required]_ The hexadecimal block number, or the string `latest`, `earliest`, or `pending`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block). The block parameter is applied uniformly to all trace calls in the `trace call parameters` array. diff --git a/services/reference/_partials/trace-methods/_trace_callmany-request.mdx b/services/reference/_partials/trace-methods/_trace_callmany-request.mdx index 6a3403a0933..d91786e9046 100644 --- a/services/reference/_partials/trace-methods/_trace_callmany-request.mdx +++ b/services/reference/_partials/trace-methods/_trace_callmany-request.mdx @@ -5,17 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "trace_callMany", "params": [[[{"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1", "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]], [{"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1", "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]]], "latest"], "latest"], "id": 1} + -d '{"jsonrpc": "2.0", "method": "trace_callMany", "params": [[[{"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1", "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]], [{"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1", "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]]], "latest"], "id": 1} ``` ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "trace_callMany", "params": [[[{"from":"0x407d73d8a49eeb85d32cf465507dd71d507100c1","to":"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]], [{"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1", "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]]], "latest"], "latest"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "trace_callMany", "params": [[[{"from":"0x407d73d8a49eeb85d32cf465507dd71d507100c1","to":"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]], [{"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1", "to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value": "0x186a0"}, ["trace"]]], "latest"], "id": 1}' ``` diff --git a/services/reference/_partials/trace-methods/_trace_filter-example.mdx b/services/reference/_partials/trace-methods/_trace_filter-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/trace-methods/_trace_filter-example.mdx +++ b/services/reference/_partials/trace-methods/_trace_filter-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/trace-methods/_trace_filter-request.mdx b/services/reference/_partials/trace-methods/_trace_filter-request.mdx index 3d7b0ee977b..11dad9e0b45 100644 --- a/services/reference/_partials/trace-methods/_trace_filter-request.mdx +++ b/services/reference/_partials/trace-methods/_trace_filter-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "trace_filter", "params": [{"fromBlock": "0x1", "toBlock": "0x21", "after": 2, "count": 2, "fromAddress": ["0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]}], "id": 415}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "trace_filter", "params": [{"fromBlock": "0x1", "toBlock": "0x21", "after": 2, "count":2, "fromAddress": ["0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]}], "id": 415}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "trace_filter", "params": [{"fromBlock": "0x1", "toBlock": "0x21", "after": 2, "count":2, "fromAddress": ["0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]}], "id": 415}' ``` diff --git a/services/reference/_partials/trace-methods/_trace_transaction-example.mdx b/services/reference/_partials/trace-methods/_trace_transaction-example.mdx index 47f187cb22e..e6703977041 100644 --- a/services/reference/_partials/trace-methods/_trace_transaction-example.mdx +++ b/services/reference/_partials/trace-methods/_trace_transaction-example.mdx @@ -1 +1 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/_partials/trace-methods/_trace_transaction-request.mdx b/services/reference/_partials/trace-methods/_trace_transaction-request.mdx index b195952d4f2..78bd29a36b4 100644 --- a/services/reference/_partials/trace-methods/_trace_transaction-request.mdx +++ b/services/reference/_partials/trace-methods/_trace_transaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "trace_transaction","params": ["0x4c253746668dca6ac3f7b9bc18248b558a95b5fc881d140872c2dff984d344a7"],"id": 1}' @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "trace_transaction", "params": ["0x4c253746668dca6ac3f7b9bc18248b558a95b5fc881d140872c2dff984d344a7"], "id": 1}' +wscat -c wss://mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "trace_transaction", "params": ["0x4c253746668dca6ac3f7b9bc18248b558a95b5fc881d140872c2dff984d344a7"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_accounts-request.mdx index c99d9aa48f0..6cc59587a9b 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params":[], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_blocknumber-request.mdx index 24d8dcf6b91..07bb04eced2 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_call-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_call-request.mdx index f9ca4b8e300..c33f6d74dc5 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_chainid-request.mdx index 147f568816c..49d0dba701d 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_createaccesslist-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_createaccesslist-request.mdx index f5ed944d37a..7a02ba25813 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_createaccesslist-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_createaccesslist-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_estimategas-request.mdx index 5ff868a54e0..3a818f524bc 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_feehistory-request.mdx index 2b1f9bc12b9..32f9acbe2be 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20, 30]], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_gasprice-request.mdx index 3b852a82e48..0f90c6da422 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getbalance-request.mdx index a3c1a50b2b9..a707b2f64bb 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getblockbyhash-request.mdx index b547881d30b..3a10b02f4ba 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getblockbynumber-request.mdx index facb4ec7920..af7d57736c4 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getblockreceipts-request.mdx index 84f4739d836..5dda398a738 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash - wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' + wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 599a2b3835d..766c68168f7 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 73ecfaa760e..0bb7370eeb9 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getcode-request.mdx index 28eac4a69e8..000ba7b0751 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id":1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getlogs-request.mdx index 15a02e5a257..1a20b811017 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getproof-request.mdx index bfef07a9de8..f390c5ad0c6 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getstorageat-request.mdx index d9f2589eb23..07dbee12adb 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index 72814ef983e..440761f2357 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 5e12486daf7..850e3bdd057 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 2a25a7d4502..af81a6fdb40 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactioncount-request.mdx index d762fcdd064..dae17e39ab9 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 02d27ca5cbf..dd78c889884 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 76f9a5a567a..bdeb427871d 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 15cba3d1794..8dc48f56dfd 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index f29bd4deaa3..3fb629e8b7b 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id":1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index ba53cb5c2fc..220e2e48c72 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index 67162b7cf7c..d9bf3f2c680 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_sendrawtransaction-request.mdx index 5b5cf8de87f..7f3fc619cbb 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/arbitrum/json-rpc-methods/_eth_syncing-request.mdx index e6654567100..17e299c476b 100644 --- a/services/reference/arbitrum/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_net_listening-request.mdx b/services/reference/arbitrum/json-rpc-methods/_net_listening-request.mdx index 4a3ffc00b31..002a621cf41 100644 --- a/services/reference/arbitrum/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_net_peercount-request.mdx b/services/reference/arbitrum/json-rpc-methods/_net_peercount-request.mdx index da81e409d33..1f43fda5738 100644 --- a/services/reference/arbitrum/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_net_version-request.mdx b/services/reference/arbitrum/json-rpc-methods/_net_version-request.mdx index 716fcef8e02..8f410fc1a62 100644 --- a/services/reference/arbitrum/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/arbitrum/json-rpc-methods/_web3_clientversion-request.mdx index 24190675d80..3c009cca84a 100644 --- a/services/reference/arbitrum/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 3063d6493e5..ff5a1d16353 100644 --- a/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://arbitrum-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` diff --git a/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index 6cf58a5f02a..250af79b451 100644 --- a/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/arbitrum/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://arbitrum-mainnet.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://arbitrum-mainnet.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/arbitrum/quickstart.md b/services/reference/arbitrum/quickstart.md index 01951b0266a..6e00e9051a1 100644 --- a/services/reference/arbitrum/quickstart.md +++ b/services/reference/arbitrum/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://arbitrum-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params":[], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://arbitrum-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://arbitrum-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,12 +122,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers"); - const provider = new ethers.providers.JsonRpcProvider("https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY"); + const provider = new ethers.providers.JsonRpcProvider("https://arbitrum-mainnet.infura.io/v3/"); provider.getBlockNumber() .then(blockNumber => { @@ -154,13 +154,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://arbitrum-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/avalanche-c-chain/index.md b/services/reference/avalanche-c-chain/index.md index eaa3ca58cf1..d514bae09dc 100644 --- a/services/reference/avalanche-c-chain/index.md +++ b/services/reference/avalanche-c-chain/index.md @@ -19,7 +19,7 @@ Avalanche is a Proof of Stake (PoS), layer 1 platform that features 3 built-in b - [Exchange Chain (X-Chain)](https://docs.avax.network/learn/primary-network#x-chain) - [Platform Chain (P-Chain)](https://docs.avax.network/learn/primary-network#p-chain) -Infura provides access to the C-Chain. +Infura provides access to the C-Chain only. The C-Chain supports the Ethereum Virtual Machine (EVM), allowing Ethereum developers to deploy Solidity smart contract dapps onto the C-Chain. Dapps can run on both Avalanche and Ethereum. Avalanche diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_accounts-request.mdx index f84e2175978..e107b1a6181 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_blocknumber-request.mdx index bee36f3e332..71a007a77f9 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_call-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_call-request.mdx index 7645add9b88..ad191105cb0 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0","method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0","method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_chainid-request.mdx index 4fdef4eb012..5f1e62c1ed2 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_estimategas-request.mdx index 5f380e554b2..95463020b6b 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_feehistory-request.mdx index dc1f0b62bec..8b997112fe0 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gasprice-request.mdx index 149e5e9939e..42db174831a 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getbalance-request.mdx index 874d43cdd04..e0a2ad69534 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx index be5de097544..b3b9716126b 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",false], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx index fd3ff7d999c..51c41c62391 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx index d59fda665a7..03c7e7df93f 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https:///avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https:///avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https:///avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss:///avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss:///avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index a9798377d70..68d0e8293c3 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 62893f050c2..630eb6ceb07 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getcode-request.mdx index 1a9116bcd7b..5695cf3c87a 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id":1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getlogs-request.mdx index cee8dc2e34d..7c006040ba7 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getproof-request.mdx index 43e83e14607..23ea591612c 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getstorageat-request.mdx index b16743e7382..7f8fa9d9981 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index fc989e2d01a..595449a9ac5 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 2c8206c5efa..b0a584b5329 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 4096b3e5396..83a5e8beb49 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx index 9cadfd178cc..aa52a4374e0 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index ba53eb4d2b8..d9e522642f8 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 18b5a90ff27..60628c89591 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 22c132a4608..8cf3983b7c2 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 8029b279d06..118a6a772dd 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 98673e94bd0..1cfaa9bb7f3 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index 48be08a9a86..1ded0f7bfe8 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx index 4322398c087..563ba665474 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_net_peercount-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_net_peercount-request.mdx index 011d9a65484..29ad5cc5fd0 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_net_version-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_net_version-request.mdx index 249deb46263..3e721098bb4 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/_web3_clientversion-request.mdx index 325adbe8006..6f2dcb3933b 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/index.md b/services/reference/avalanche-c-chain/json-rpc-methods/index.md index 150e7824912..0747f2e97c9 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/index.md +++ b/services/reference/avalanche-c-chain/json-rpc-methods/index.md @@ -2,7 +2,7 @@ title: JSON-RPC methods --- -Avalanche C-Chain uses the Go Ethereum (Geth) API and supports the standard [Ethereum JSON-RPC-APIs](../../ethereum/json-rpc-methods/index.md) for the following services: +Avalanche C-Chain uses the Go Ethereum (Geth) API and supports the standard [Ethereum JSON-RPC APIs](../../ethereum/json-rpc-methods/index.md) for the following services: - `net_*` - `eth_*` @@ -10,7 +10,7 @@ Avalanche C-Chain uses the Go Ethereum (Geth) API and supports the standard [Eth :::info -- Avalanche-specific methods (`avax.*`) that have a dependency on the P-Chain and X-Chain are not supported. +Avalanche-specific methods (`avax.*`) that have a dependency on the P-Chain and X-Chain are not supported. ::: diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 4437bb1fbde..5bc4f7b71e8 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://avalanche-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` diff --git a/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index 38c7e30101a..abfc6596ddb 100644 --- a/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/avalanche-c-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://avalanche-mainnet.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://avalanche-mainnet.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/avalanche-c-chain/quickstart.md b/services/reference/avalanche-c-chain/quickstart.md index d6e73b79c63..68ce87e8b71 100644 --- a/services/reference/avalanche-c-chain/quickstart.md +++ b/services/reference/avalanche-c-chain/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://avalanche-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://avalanche-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,12 +86,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios"); - axios.post("https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY", { + axios.post("https://avalanche-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -121,13 +121,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY" + "https://avalanche-mainnet.infura.io/v3/" ) provider @@ -156,13 +156,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://avalanche-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/base/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/base/json-rpc-methods/_eth_accounts-request.mdx index deed4a53e16..01a315de1ff 100644 --- a/services/reference/base/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/base/json-rpc-methods/_eth_blocknumber-request.mdx index 7ab3fe768f2..8e47d1b4928 100644 --- a/services/reference/base/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_call-request.mdx b/services/reference/base/json-rpc-methods/_eth_call-request.mdx index c6752dbf7a2..834286f1bc9 100644 --- a/services/reference/base/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/base/json-rpc-methods/_eth_chainid-request.mdx index 8c53d7eaf07..26c2f8dd536 100644 --- a/services/reference/base/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/base/json-rpc-methods/_eth_estimategas-request.mdx index 9e3d4e26078..a0933a3b9c0 100644 --- a/services/reference/base/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id":1}' diff --git a/services/reference/base/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/base/json-rpc-methods/_eth_feehistory-request.mdx index ba9e73cb768..70e98447629 100644 --- a/services/reference/base/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20, 30]], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/base/json-rpc-methods/_eth_gasprice-request.mdx index b281cf8bac8..44ce19e716c 100644 --- a/services/reference/base/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/base/json-rpc-methods/_eth_getbalance-request.mdx index 71470d8cdb3..e8d692bf01f 100644 --- a/services/reference/base/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/base/json-rpc-methods/_eth_getblockbyhash-request.mdx index 6c44dbede78..79b27b6c006 100644 --- a/services/reference/base/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/base/json-rpc-methods/_eth_getblockbynumber-request.mdx index 5d4d7c67cdd..fe8c26cea3a 100644 --- a/services/reference/base/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params":["0x5BAD55", false], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 846f6264365..4ac6209ad48 100644 --- a/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 348b770fb9d..05533c1454a 100644 --- a/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/base/json-rpc-methods/_eth_getcode-request.mdx index 9dfa15fe7ee..f5af98b6a56 100644 --- a/services/reference/base/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/base/json-rpc-methods/_eth_getlogs-request.mdx index 91983685232..285463067f9 100644 --- a/services/reference/base/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/base/json-rpc-methods/_eth_getproof-request.mdx index 7be7dede4c8..eee150d2afe 100644 --- a/services/reference/base/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/base/json-rpc-methods/_eth_getstorageat-request.mdx index fc654087bd2..fe5c8aadfe2 100644 --- a/services/reference/base/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/base/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index ef5d815d081..46a7a5c2681 100644 --- a/services/reference/base/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/base/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 2224929ac3f..1705763e272 100644 --- a/services/reference/base/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/base/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 3ad67060764..1a4e4430a77 100644 --- a/services/reference/base/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/base/json-rpc-methods/_eth_gettransactioncount-request.mdx index df1ce1e4924..5c62bb8340a 100644 --- a/services/reference/base/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/base/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 26d5a0c3bba..3c4eaba7beb 100644 --- a/services/reference/base/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/base/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 434bf16e9fc..76699875db4 100644 --- a/services/reference/base/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/base/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index fb674b99b57..f97e5c64fa0 100644 --- a/services/reference/base/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/base/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 050088ad655..e7a41669eec 100644 --- a/services/reference/base/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/base/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 679ea8a9339..405d236d87c 100644 --- a/services/reference/base/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_getwork-request.mdx b/services/reference/base/json-rpc-methods/_eth_getwork-request.mdx index 64ba7bbe365..b1df5f3e592 100644 --- a/services/reference/base/json-rpc-methods/_eth_getwork-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_getwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_hashrate-request.mdx b/services/reference/base/json-rpc-methods/_eth_hashrate-request.mdx index dc6434c3b9d..72b1993a3dc 100644 --- a/services/reference/base/json-rpc-methods/_eth_hashrate-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_hashrate-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/base/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index ea01ada6863..81b9053233b 100644 --- a/services/reference/base/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_mining-request.mdx b/services/reference/base/json-rpc-methods/_eth_mining-request.mdx index 06768b77742..7de48c29f7b 100644 --- a/services/reference/base/json-rpc-methods/_eth_mining-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_mining-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/base/json-rpc-methods/_eth_protocolversion-request.mdx index ba556a01685..f87f30fa614 100644 --- a/services/reference/base/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/base/json-rpc-methods/_eth_sendrawtransaction-request.mdx index d4082c6f34f..9c5e8993dc1 100644 --- a/services/reference/base/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/base/json-rpc-methods/_eth_submitwork-request.mdx index e9ae9108d88..094304611f2 100644 --- a/services/reference/base/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/base/json-rpc-methods/_eth_syncing-request.mdx index 3a97fa4dc29..8f93cde5458 100644 --- a/services/reference/base/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/base/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_net_listening-request.mdx b/services/reference/base/json-rpc-methods/_net_listening-request.mdx index 5fe973ac650..ab4acd0b144 100644 --- a/services/reference/base/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/base/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_net_peercount-request.mdx b/services/reference/base/json-rpc-methods/_net_peercount-request.mdx index 4adf003bf62..50ec3b95dfa 100644 --- a/services/reference/base/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/base/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_net_version-request.mdx b/services/reference/base/json-rpc-methods/_net_version-request.mdx index e3bdae4a246..d4c056f8fae 100644 --- a/services/reference/base/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/base/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' diff --git a/services/reference/base/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/base/json-rpc-methods/_web3_clientversion-request.mdx index fa314272c87..7eb194a5cdf 100644 --- a/services/reference/base/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/base/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://base-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://base-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' diff --git a/services/reference/base/quickstart.md b/services/reference/base/quickstart.md index d7ca3a92a9d..2d23c4bcf86 100644 --- a/services/reference/base/quickstart.md +++ b/services/reference/base/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://base-sepolia.infura.io/v3/YOUR-API-KEY \ +curl https://base-sepolia.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://base-sepolia.infura.io/v3/YOUR-API-KEY", { + fetch("https://base-sepolia.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://base-sepolia.infura.io/v3/YOUR-API-KEY", { + .post("https://base-sepolia.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://base-sepolia.infura.io/v3/YOUR-API-KEY" + "https://base-sepolia.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://base-sepolia.infura.io/v3/YOUR-API-KEY" + url = "https://base-sepolia.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/blast/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/blast/json-rpc-methods/_eth_accounts-request.mdx index 81e998e1a40..013479d4ee7 100644 --- a/services/reference/blast/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_accounts-request.mdx @@ -5,11 +5,19 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +``` + + diff --git a/services/reference/blast/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/blast/json-rpc-methods/_eth_blocknumber-request.mdx index 957c90b39ac..7d8498c6b84 100644 --- a/services/reference/blast/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,11 +5,19 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params":[], "id": 1}' +``` + + + diff --git a/services/reference/blast/json-rpc-methods/_eth_call-request.mdx b/services/reference/blast/json-rpc-methods/_eth_call-request.mdx index 4474de1ef04..55e4d6c2f2d 100644 --- a/services/reference/blast/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_call-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method":"eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' + -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +``` + + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/blast/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/blast/json-rpc-methods/_eth_chainid-request.mdx index 932e28d5c4f..4f02002cea0 100644 --- a/services/reference/blast/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_chainid-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/blast/json-rpc-methods/_eth_estimategas-request.mdx index e23dcc7fa47..49d584372c1 100644 --- a/services/reference/blast/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/blast/json-rpc-methods/_eth_feehistory-request.mdx index 08a3e875088..f220d501555 100644 --- a/services/reference/blast/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20, 30]]}' + -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' +``` + + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/blast/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/blast/json-rpc-methods/_eth_gasprice-request.mdx index 936d002ee16..bae99a6dc57 100644 --- a/services/reference/blast/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getbalance-request.mdx index c3b26725ab5..3716965dc28 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' + -d '{"jsonrpc": "2.0","method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +``` + + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/blast/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getblockbyhash-request.mdx index ae23db778bf..f6594884478 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getblockbynumber-request.mdx index ea41b469466..196aa36de15 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getblockreceipts-request.mdx index ac3b06a3414..91d5ae4c01d 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -1,15 +1,22 @@ import Tabs from "@theme/Tabs" import TabItem from "@theme/TabItem" - - + + ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` - - + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +``` + + + \ No newline at end of file diff --git a/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 5db650efbe8..fbe9ecec4b2 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index aa75c0bad8f..813d3ecdfc3 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getcode-request.mdx index eea9034df34..f43484822e9 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getcode-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getlogs-request.mdx index b0ac991a67a..ffc9c950fe8 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' + -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +``` + + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/blast/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getproof-request.mdx index 49d3339e78d..72ee968f359 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getproof-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getstorageat-request.mdx index 735ead3d050..64cf3881a87 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index c8b65da7e48..d87be43ab50 100644 --- a/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 9c4efd7da7b..ac2cb8e45ce 100644 --- a/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/blast/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index fc1fde124b5..f58f4baa724 100644 --- a/services/reference/blast/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/blast/json-rpc-methods/_eth_gettransactioncount-request.mdx index c86ab3bd823..507660fe632 100644 --- a/services/reference/blast/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/blast/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index c6fb75347b3..08f748db370 100644 --- a/services/reference/blast/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index baf76acc3a3..f0058c05dc5 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 23f195ba5bd..bec1c9ce620 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 196794f0eae..7875709a34d 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 59116a1256c..1a4f2e9de09 100644 --- a/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/blast/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index 1ce7b5a73e0..be8c1deb258 100644 --- a/services/reference/blast/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/d23391e03c6d40738530a1b4b679e66e -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/blast/json-rpc-methods/_eth_protocolversion-request.mdx index 283efebc23d..54a85bf4140 100644 --- a/services/reference/blast/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/blast/json-rpc-methods/_eth_sendrawtransaction-request.mdx index 9ed6c563b62..01463d4bb4e 100644 --- a/services/reference/blast/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/blast/json-rpc-methods/_eth_submitwork-request.mdx index b9793af10d5..248960e3420 100644 --- a/services/reference/blast/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/blast/json-rpc-methods/_eth_syncing-request.mdx index 154df717a57..d6890dfd2f9 100644 --- a/services/reference/blast/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/blast/json-rpc-methods/_eth_syncing-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_net_listening-request.mdx b/services/reference/blast/json-rpc-methods/_net_listening-request.mdx index 4c6663f9cd3..6cbbf0e3062 100644 --- a/services/reference/blast/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/blast/json-rpc-methods/_net_listening-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_net_peercount-request.mdx b/services/reference/blast/json-rpc-methods/_net_peercount-request.mdx index 1a12082cd19..3e083bc3a04 100644 --- a/services/reference/blast/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/blast/json-rpc-methods/_net_peercount-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_net_version-request.mdx b/services/reference/blast/json-rpc-methods/_net_version-request.mdx index 160b9b6b927..a848d2a8c72 100644 --- a/services/reference/blast/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/blast/json-rpc-methods/_net_version-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/blast/json-rpc-methods/_web3_clientversion-request.mdx index b6e81cd4eca..a182ddc19d1 100644 --- a/services/reference/blast/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/blast/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +``` + diff --git a/services/reference/blast/json-rpc-methods/eth_getbalancevalues.mdx b/services/reference/blast/json-rpc-methods/eth_getbalancevalues.mdx index e60eb47b6ed..c758aad95d6 100644 --- a/services/reference/blast/json-rpc-methods/eth_getbalancevalues.mdx +++ b/services/reference/blast/json-rpc-methods/eth_getbalancevalues.mdx @@ -31,7 +31,7 @@ Object with the following fields: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -39,14 +39,21 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc":"2.0","method":"eth_getBalanceValues","params":["0xd071acb641553a2e205181a42aa3a8ace97dae6d","latest"],"id":1}' + -d '{"jsonrpc": "2.0","method": "eth_getBalanceValues", "params": ["0xd071acb641553a2e205181a42aa3a8ace97dae6d", "latest"], "id": 1}' ``` - + + +```bash +wscat -c wss://blast-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalanceValues", "params": ["0xd071acb641553a2e205181a42aa3a8ace97dae6d", "latest"], "id": 1}' +``` + + + ### Response diff --git a/services/reference/blast/quickstart.md b/services/reference/blast/quickstart.md index 308715becb2..cac00329d7e 100644 --- a/services/reference/blast/quickstart.md +++ b/services/reference/blast/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://blast-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://blast-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://blast-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://blast-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://blast-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://blast-mainnet.infura.io/v3/YOUR-API-KEY" + "https://blast-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://blast-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://blast-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_accounts-request.mdx index f5761ee027a..e3e5a6bd808 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id":1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_blocknumber-request.mdx index 9dadf21a5c2..7d3d43690af 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_call-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_call-request.mdx index 78a56c38470..76f5b379401 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id":1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_chainid-request.mdx index 46b56406fdc..b8d9eca22bb 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id":1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_estimategas-request.mdx index 797b16b5b73..89957a090b5 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id":1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gasprice-request.mdx index 348926f73fb..60e53bf3237 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_gasPrice", "params": [], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_gasPrice", "params": [], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getbalance-request.mdx index 19d13d12514..ac8f9e4c95f 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx index c67ae8e6f33..012aa85855d 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method":"eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx index 82af1d63b1c..3b3763d6f95 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params":["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params":["0x5BAD55", false], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params":["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx index 7a9ffcc4bfe..bf05571a30c 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index b1edeabb843..9b53f23cbe2 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index f81de3cd152..60f0c3c4953 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getcode-request.mdx index b2d499e898d..1cc5af4df00 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method":"eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getlogs-request.mdx index b93224df3f5..4fe332b40ba 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getproof-request.mdx index 24c87de4572..fa59be7ad03 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getstorageat-request.mdx index 933f6c5566a..47d969d7391 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index 0c1d73c1af6..db1b71ff120 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index ccd4d9b57fd..96b2a8a10e4 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index a85c9467b9d..02e7424d578 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx index b99dc610cd6..7b35e18bfc4 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index e63bedb3073..56aeea4e7ed 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 370077f62e2..c6c59e250a4 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 1cd5263663b..a94e3bee324 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index d7a3d88230c..41aec0c8f14 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 7d542e72424..c868c04c96e 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index a5bee7642e6..8ac6bf8630a 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_protocolversion-request.mdx index 14c5716612e..44f49702726 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx index b2c6757e652..6b76490f62f 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_submitwork-request.mdx index d8c8f421de7..84b6ca0ca10 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_syncing-request.mdx index 80dad26f348..ec3f96273d5 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_net_listening-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_net_listening-request.mdx index d6967bc69c4..d886292d965 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0","method": "net_listening", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0","method": "net_listening", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0","method": "net_listening", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_net_peercount-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_net_peercount-request.mdx index dbd714b19f0..d670ef82cb9 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_net_version-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_net_version-request.mdx index 717c66f9f1d..237148bc02d 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/_web3_clientversion-request.mdx index 6d1616ca811..b8c99246dfe 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterchanges-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterchanges-request.mdx index 958c04cc2bb..b0647295d3c 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterchanges-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterchanges-request.mdx @@ -6,7 +6,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method":"eth_getFilterChanges", "params":["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id":1}' @@ -16,7 +16,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_getFilterChanges", "params":["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_getFilterChanges", "params":["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterlogs-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterlogs-request.mdx index 88c54872049..9becaf1adf5 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterlogs-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_getfilterlogs-request.mdx @@ -6,7 +6,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getFilterLogs", "params":["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id":1}' @@ -16,7 +16,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getFilterLogs", "params":["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getFilterLogs", "params":["0x10ff0bfbedb01f0dbd4106d14eb719ec38b6eb5b821c"], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newblockfilter-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newblockfilter-request.mdx index ab2354d5d2a..cc32d9c74ef 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newblockfilter-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newblockfilter-request.mdx @@ -6,7 +6,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params":[], "id":1}' @@ -16,7 +16,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params":[], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "params":[], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newfilter-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newfilter-request.mdx index 8b0656079e8..d5735ad8409 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newfilter-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newfilter-request.mdx @@ -6,7 +6,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc" : "2.0", "method": "eth_newFilter", "params": [{"topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}], "id":1}' @@ -16,7 +16,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc" :"2.0", "method": "eth_newFilter", "params": [{"topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}], "id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc" :"2.0", "method": "eth_newFilter", "params": [{"topics": ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}], "id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-example.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-example.mdx index 9f7546de129..a54d63c1a3d 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-example.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-example.mdx @@ -1,2 +1,2 @@ -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-request.mdx index 643d6c1374a..ab7bd18d21b 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_newpendingtransactionfilter-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "newPendingTransactionFilter", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"newPendingTransactionFilter", "params": [], "id": 1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"newPendingTransactionFilter", "params": [], "id": 1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_uninstallfilter-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_uninstallfilter-request.mdx index 1e7e9abeb55..965bcd4d926 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_uninstallfilter-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/filter-methods/_eth_uninstallfilter-request.mdx @@ -6,7 +6,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"],"id":1}' @@ -16,7 +16,7 @@ curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"],"id":1}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"],"id":1}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/index.md b/services/reference/bnb-smart-chain/json-rpc-methods/index.md index 5dabdba3cae..b1f73b79f59 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/index.md +++ b/services/reference/bnb-smart-chain/json-rpc-methods/index.md @@ -7,6 +7,6 @@ BSC service. Archive requests are not currently supported. :::info -WebSockets are also supported on the BSC network and can be used to set up bidirectional stateful [subscriptions](../../ethereum/json-rpc-methods/subscription-methods/index.md). +WebSockets are also supported on the BSC network and can be used to set up bidirectional stateful [subscriptions](subscription-methods/index.md). ::: diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 4545ef5bd98..fb2ddb9c3e5 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` @@ -20,7 +20,7 @@ wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", " ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' ``` diff --git a/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index 88e848c9e10..e8f3865d8ca 100644 --- a/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/bnb-smart-chain/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://bsc-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://bsc-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/bnb-smart-chain/quickstart.md b/services/reference/bnb-smart-chain/quickstart.md index 3687bdc4410..1d3ea79c4ce 100644 --- a/services/reference/bnb-smart-chain/quickstart.md +++ b/services/reference/bnb-smart-chain/quickstart.md @@ -21,10 +21,10 @@ Don't have an Infura account? Sign up for our free plan and start using the BNB ### cURL -Run the following command in your terminal. Replace `YOUR-API-KEY` with your actual Infura API key. +Run the following command in your terminal. Replace `` with your actual Infura API key. ```bash -curl https://bsc-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://bsc-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Javascript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch"; - fetch("https://bsc-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://bsc-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json" @@ -88,12 +88,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Javascript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios"); - axios.post("https://bsc-mainnet.infura.io/v3/YOUR-API-KEY", { + axios.post("https://bsc-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -123,12 +123,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Javascript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers"); - const provider = new ethers.providers.JsonRpcProvider("https://bsc-mainnet.infura.io/v3/YOUR-API-KEY"); + const provider = new ethers.providers.JsonRpcProvider("https://bsc-mainnet.infura.io/v3/"); provider.getBlockNumber() .then(blockNumber => { @@ -155,13 +155,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://bsc-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://bsc-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/celo/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/celo/json-rpc-methods/_eth_accounts-request.mdx index 04663c18252..9a0c555957d 100644 --- a/services/reference/celo/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/celo/json-rpc-methods/_eth_blocknumber-request.mdx index 147f0659f02..b008e1c82d5 100644 --- a/services/reference/celo/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_call-request.mdx b/services/reference/celo/json-rpc-methods/_eth_call-request.mdx index 9dc2bde9fc5..a550b4afef8 100644 --- a/services/reference/celo/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/celo/json-rpc-methods/_eth_chainid-request.mdx index c24cf810740..8d23f85b307 100644 --- a/services/reference/celo/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/celo/json-rpc-methods/_eth_estimategas-request.mdx index ee4b3e00e92..a8a6e650b90 100644 --- a/services/reference/celo/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/celo/json-rpc-methods/_eth_gasprice-request.mdx index 242445e852c..665cfe8a266 100644 --- a/services/reference/celo/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getbalance-request.mdx index 16d316de228..665207944fb 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getblockbyhash-request.mdx index 74d31641fe6..cf405e281c3 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getblockbynumber-request.mdx index 41c325e32f2..e0df51ebbe2 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getblockreceipts-request.mdx index 7a7c5f43439..2994bb0b083 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 19700d862d1..821c22803f1 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 2601b9671a6..566b9fcf474 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id":1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id":1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id":1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getcode-request.mdx index ea6afacdf73..28b403e646c 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getlogs-request.mdx index 8999c2e389e..0720ed30d87 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getproof-request.mdx index fbf3bc7cdd7..cc355117804 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/celo/json-rpc-methods/_eth_getstorageat-request.mdx index 1b4794dcd4b..a6f772c0365 100644 --- a/services/reference/celo/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index f78bfef14f1..ba756009de2 100644 --- a/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 4b920b392a1..3bc84ad67c2 100644 --- a/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id":1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id":1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id":1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/celo/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 3823fcdfa76..12ec76c2895 100644 --- a/services/reference/celo/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/celo/json-rpc-methods/_eth_gettransactioncount-request.mdx index 2a5e257e581..493476db15e 100644 --- a/services/reference/celo/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/celo/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index ed81dc6c939..9e1ef047ce4 100644 --- a/services/reference/celo/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/celo/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index e475dc7a077..f0315b46463 100644 --- a/services/reference/celo/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/celo/json-rpc-methods/_eth_sendrawtransaction-request.mdx index e901fe693d6..a8743767749 100644 --- a/services/reference/celo/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/celo/json-rpc-methods/_eth_syncing-request.mdx index 5084827dd5b..d1e03065372 100644 --- a/services/reference/celo/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/celo/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_net_listening-request.mdx b/services/reference/celo/json-rpc-methods/_net_listening-request.mdx index 408cb2faed7..cb07c31c49b 100644 --- a/services/reference/celo/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/celo/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_net_peercount-request.mdx b/services/reference/celo/json-rpc-methods/_net_peercount-request.mdx index 04223828eee..7f58057f6ad 100644 --- a/services/reference/celo/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/celo/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_net_version-request.mdx b/services/reference/celo/json-rpc-methods/_net_version-request.mdx index 0a5788da2e3..be3b2381eb1 100644 --- a/services/reference/celo/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/celo/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/celo/json-rpc-methods/_web3_clientversion-request.mdx index 068a7d91c41..75155fb8648 100644 --- a/services/reference/celo/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/celo/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/celo/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/celo/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 4228801b7a1..246abd02a69 100644 --- a/services/reference/celo/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/celo/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem"; ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` @@ -20,7 +20,7 @@ wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' ``` diff --git a/services/reference/celo/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/celo/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index 14bd96b9aeb..04c4bba69f0 100644 --- a/services/reference/celo/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/celo/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -wscat -c wss://celo-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://celo-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/celo/quickstart.md b/services/reference/celo/quickstart.md index b08617070dd..1c460030e68 100644 --- a/services/reference/celo/quickstart.md +++ b/services/reference/celo/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://celo-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://celo-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://celo-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://celo-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://celo-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://celo-mainnet.infura.io/v3/YOUR-API-KEY" + "https://celo-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://celo-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://celo-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/ethereum/quickstart.md b/services/reference/ethereum/quickstart.md index 0796315a157..981e77da0af 100644 --- a/services/reference/ethereum/quickstart.md +++ b/services/reference/ethereum/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -64,12 +64,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY", { + fetch("https://mainnet.infura.io.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -106,13 +106,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY", { + .post("https://mainnet.infura.io.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -142,13 +142,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY" + "https://mainnet.infura.io.infura.io/v3/" ) provider @@ -173,11 +173,11 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" var { Web3 } = require("web3") - var provider = "https://mainnet.infura.io/v3/YOUR-API-KEY" + var provider = "https://mainnet.infura.io/v3/" var web3Provider = new Web3.providers.HttpProvider(provider) var web3 = new Web3(web3Provider) @@ -202,13 +202,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/linea/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/linea/json-rpc-methods/_eth_accounts-request.mdx index ad06979cbfe..23dc588e189 100644 --- a/services/reference/linea/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [],"id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [],"id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/linea/json-rpc-methods/_eth_blocknumber-request.mdx index 283e8e90cd9..55b58fc3fa8 100644 --- a/services/reference/linea/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_call-request.mdx b/services/reference/linea/json-rpc-methods/_eth_call-request.mdx index 9dcf1a07f4e..54dd4279ce2 100644 --- a/services/reference/linea/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/linea/json-rpc-methods/_eth_chainid-request.mdx index 2db99ba6fad..ca90962aadd 100644 --- a/services/reference/linea/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/linea/json-rpc-methods/_eth_estimategas-request.mdx index 458e0e04688..9176ad43d74 100644 --- a/services/reference/linea/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/linea/json-rpc-methods/_eth_feehistory-request.mdx index 45744bfa706..28e2b5b1bfb 100644 --- a/services/reference/linea/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_feeHistory","params":["0x5", "latest", []],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_feeHistory","params":["0x5", "latest", []],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/linea/json-rpc-methods/_eth_gasprice-request.mdx index 25614af1673..4053bc457b3 100644 --- a/services/reference/linea/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_gasPrice","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_gasPrice","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_gasPrice","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getbalance-request.mdx index 1e7664d2cc2..57bd8e453ae 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getBalance","params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getBalance","params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getBalance","params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getblockbyhash-request.mdx index ebe1eccd27e..6c7c8e1276e 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",false],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",false],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",false],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getblockbynumber-request.mdx index d96a0c9140c..f5403bc552b 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getblockreceipts-request.mdx index 1699b04f9da..771e5ffe8ff 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index a63e918c999..ef87eebe5a6 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 9369d15bc30..cbaf1fd9c23 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getcode-request.mdx index 05f12b0c525..d0929d35f51 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getCode","params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getCode","params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getCode","params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getlogs-request.mdx index 6cc2061fb94..dffa5c433e3 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getproof-request.mdx index 8ae34f8f444..a5fe9af95e7 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0","method": "eth_getProof","id": 1,"params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getProof","params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getProof","params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getstorageat-request.mdx index abe041fa6bd..c686ad8f385 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index 3158b0a2fe0..42c4e7d0506 100644 --- a/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 7696fe68a20..ec53ed239dc 100644 --- a/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params": ["0x5BAD55","0x0"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params": ["0x5BAD55","0x0"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params": ["0x5BAD55","0x0"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/linea/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 6652ff9ba4b..670f8f3187b 100644 --- a/services/reference/linea/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/linea/json-rpc-methods/_eth_gettransactioncount-request.mdx index 175dd91d829..43c682c8b10 100644 --- a/services/reference/linea/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getTransactionCount","params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f","0x5bad55"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getTransactionCount","params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f","0x5bad55"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getTransactionCount","params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f","0x5bad55"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/linea/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 293a4893eb5..bb19bbbaa6d 100644 --- a/services/reference/linea/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index edbda5a2887..363cb69dae7 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 7930f97c5e8..58d37ee7e5b 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params": ["0x29c","0x0"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params": ["0x29c","0x0"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params": ["0x29c","0x0"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 4c1112efe3c..957ad4ea454 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockHash","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockHash","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockHash","params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 09e8db3b8e1..112159ff357 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params": ["0x5bad55"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params": ["0x5bad55"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params": ["0x5bad55"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_getwork-request.mdx b/services/reference/linea/json-rpc-methods/_eth_getwork-request.mdx index 1e82e2b4298..903c16edea5 100644 --- a/services/reference/linea/json-rpc-methods/_eth_getwork-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_getwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getWork","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getWork","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getWork","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_hashrate-request.mdx b/services/reference/linea/json-rpc-methods/_eth_hashrate-request.mdx index d4458258b22..42fa9e76a57 100644 --- a/services/reference/linea/json-rpc-methods/_eth_hashrate-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_hashrate-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_hashrate","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_hashrate","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_hashrate","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/linea/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index c4ae38407ee..94a80433edf 100644 --- a/services/reference/linea/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params": [],"id":1}' diff --git a/services/reference/linea/json-rpc-methods/_eth_mining-request.mdx b/services/reference/linea/json-rpc-methods/_eth_mining-request.mdx index c8c5a0e3751..2f6d0fbb3c0 100644 --- a/services/reference/linea/json-rpc-methods/_eth_mining-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_mining-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_mining","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_mining","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_mining","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/linea/json-rpc-methods/_eth_protocolversion-request.mdx index 980042bf909..1858eb6b1ff 100644 --- a/services/reference/linea/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_protocolVersion","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_protocolVersion","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_protocolVersion","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/linea/json-rpc-methods/_eth_sendrawtransaction-request.mdx index 1f7bcfc4bc0..b6d2d92aa74 100644 --- a/services/reference/linea/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/linea/json-rpc-methods/_eth_submitwork-request.mdx index 9259fa5fb51..25268c7c4cc 100644 --- a/services/reference/linea/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_submitWork","params": ["0x0000000000000001","0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_submitWork","params": ["0x0000000000000001","0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_submitWork","params": ["0x0000000000000001","0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/linea/json-rpc-methods/_eth_syncing-request.mdx index 07a6a8ca3ca..8b4f919b387 100644 --- a/services/reference/linea/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/linea/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_syncing","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_syncing","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_syncing","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_net_listening-request.mdx b/services/reference/linea/json-rpc-methods/_net_listening-request.mdx index 8a40af989c5..245093af72e 100644 --- a/services/reference/linea/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/linea/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"net_listening","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"net_listening","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"net_listening","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_net_peercount-request.mdx b/services/reference/linea/json-rpc-methods/_net_peercount-request.mdx index a716d68b8ee..596716759e6 100644 --- a/services/reference/linea/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/linea/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"net_peerCount","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"net_peerCount","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"net_peerCount","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_net_version-request.mdx b/services/reference/linea/json-rpc-methods/_net_version-request.mdx index 85203c3e03a..dbad91be8ea 100644 --- a/services/reference/linea/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/linea/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"net_version","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"net_version","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"net_version","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/linea/json-rpc-methods/_web3_clientversion-request.mdx index f32d70fab41..99c4f0120be 100644 --- a/services/reference/linea/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/linea/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params": [],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"web3_clientVersion","params": [],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"web3_clientVersion","params": [],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/index.md b/services/reference/linea/json-rpc-methods/index.md index 122f4264aa0..b6c4694a8b4 100644 --- a/services/reference/linea/json-rpc-methods/index.md +++ b/services/reference/linea/json-rpc-methods/index.md @@ -6,7 +6,7 @@ Linea supports the standard [Ethereum JSON-RPC-APIs](../../ethereum/json-rpc-met :::info - WebSockets are also supported on the Linea network and can be used to set up bidirectional - stateful [subscriptions](../../ethereum/json-rpc-methods/subscription-methods/index.md). + stateful [subscriptions](subscription-methods/index.md). - `eth_newFilter` and `eth_newBlockFilter` methods are not supported. ::: diff --git a/services/reference/linea/json-rpc-methods/linea_estimategas.mdx b/services/reference/linea/json-rpc-methods/linea_estimategas.mdx index 9ca76f53f4a..9ed3e8106c0 100644 --- a/services/reference/linea/json-rpc-methods/linea_estimategas.mdx +++ b/services/reference/linea/json-rpc-methods/linea_estimategas.mdx @@ -51,7 +51,7 @@ Hexidecimal values representing the recommended gas limit, the base fee per gas, ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -59,7 +59,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "linea_estimateGas", "params": [{"from": "0x42c27251C710864Cf76f1b9918Ace3E585e6E21b", "value": "0x1", "gasPrice": "0x100000000", "gas": "0x21000"}], "id": 53}' @@ -69,7 +69,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "linea_estimateGas", "params": [{"from": "0x42c27251C710864Cf76f1b9918Ace3E585e6E21b", "value": "0x1", "gasPrice": "0x100000000", "gas": "0x21000"}], "id": 53}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "linea_estimateGas", "params": [{"from": "0x42c27251C710864Cf76f1b9918Ace3E585e6E21b", "value": "0x1", "gasPrice": "0x100000000", "gas": "0x21000"}], "id": 53}' ``` diff --git a/services/reference/linea/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/linea/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 8403124c5f1..ab59c7e9658 100644 --- a/services/reference/linea/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/linea/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://linea-sepolia.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://linea-sepolia.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://linea-sepolia.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://linea-sepolia.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` @@ -20,7 +20,7 @@ wscat -c wss://linea-sepolia.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", ```bash -wscat -c wss://linea-sepolia.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +wscat -c wss://linea-sepolia.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' ``` diff --git a/services/reference/linea/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/linea/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index 8a9af1c613e..1f212c0501d 100644 --- a/services/reference/linea/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/linea/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/linea/json-rpc-methods/trace-methods/_trace_block-request.mdx b/services/reference/linea/json-rpc-methods/trace-methods/_trace_block-request.mdx index b9cd8a46649..64cb8379b31 100644 --- a/services/reference/linea/json-rpc-methods/trace-methods/_trace_block-request.mdx +++ b/services/reference/linea/json-rpc-methods/trace-methods/_trace_block-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"trace_block","params":["0x6"],"id":1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"trace_block","params":["0x6"],"id":1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"trace_block","params":["0x6"],"id":1}' ``` diff --git a/services/reference/linea/json-rpc-methods/trace-methods/_trace_transaction-request.mdx b/services/reference/linea/json-rpc-methods/trace-methods/_trace_transaction-request.mdx index 8df85c3c0d4..539fdc69c0c 100644 --- a/services/reference/linea/json-rpc-methods/trace-methods/_trace_transaction-request.mdx +++ b/services/reference/linea/json-rpc-methods/trace-methods/_trace_transaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "trace_transaction","params": ["0x4c253746668dca6ac3f7b9bc18248b558a95b5fc881d140872c2dff984d344a7"],"id": 1}' @@ -15,7 +15,7 @@ curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "trace_transaction","params": ["0x4c253746668dca6ac3f7b9bc18248b558a95b5fc881d140872c2dff984d344a7"],"id": 1}' +wscat -c wss://linea-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "trace_transaction","params": ["0x4c253746668dca6ac3f7b9bc18248b558a95b5fc881d140872c2dff984d344a7"],"id": 1}' ``` diff --git a/services/reference/linea/quickstart.md b/services/reference/linea/quickstart.md index 52fb766914e..6e41331fdcb 100644 --- a/services/reference/linea/quickstart.md +++ b/services/reference/linea/quickstart.md @@ -21,10 +21,10 @@ Don't have an Infura account? Sign up for our free plan and start using the Line ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://linea-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://linea-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://linea-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://linea-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://linea-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://linea-mainnet.infura.io/v3/YOUR-API-KEY" + "https://linea-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://linea-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://linea-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/mantle/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_accounts-request.mdx index 3c0f124f5b2..5fa63ac4b5a 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_accounts-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_blocknumber-request.mdx index ac458cd7a5c..1df1b447c31 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,11 +5,19 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params":[], "id": 1}' +``` + + + diff --git a/services/reference/mantle/json-rpc-methods/_eth_call-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_call-request.mdx index 45cb1d05454..2048eddec18 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_call-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_chainid-request.mdx index bfc8e49ab9e..9ffe3427280 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_chainid-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_estimategas-request.mdx index 9f4cd35fa7a..74f9f44851d 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_feehistory-request.mdx index 46f816ad981..c638aa884d0 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20, 30]]}' + -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_gasprice-request.mdx index 9724947d181..d31a5f4dad6 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getbalance-request.mdx index 417ab32afd1..e7ecee338ff 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' + -d '{"jsonrpc": "2.0","method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getblockbyhash-request.mdx index 088a7e357fb..916bce9d593 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ - -X POST \ - -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +curl https://mantle-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getblockbynumber-request.mdx index 2ef51fd0523..a392646c776 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 4e877c13991..0573b9a196f 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 9593e88efe0..9e94a2a216f 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getcode-request.mdx index 5dc260e96b2..8863a82a427 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getcode-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getlogs-request.mdx index 9cd6b0cdedc..1ca4396a10f 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' + -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id":1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getproof-request.mdx index 79686cc9582..dbef6a37fda 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getproof-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getstorageat-request.mdx index 959791505d8..11803ad70fc 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index 59d9f765877..bfc3009f78e 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 789f29d6cec..1f3706d6baf 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55","0x0"], "id": 1}' + -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index fc8b10ffefa..e2a78ebdefa 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_gettransactioncount-request.mdx index f904ef17b43..d2f05341d9b 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 90f1741ef9f..95371568ed5 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index afea4944941..76a1a743312 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 92f5332b4a8..2814c1cb30d 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c","0x0"], "id": 1}' + -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 7bdc9cb3104..f925683168a 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 0f48f2e5a7f..8f7b44196ab 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index ad95ca78b05..70f989a0400 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/d23391e03c6d40738530a1b4b679e66e -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_protocolversion-request.mdx index 6926f735673..6c729ff8771 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_sendrawtransaction-request.mdx index 5caf4b4097b..f5129d02a20 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_submitwork-request.mdx index fe1b33e41f0..f2c699eab4f 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,10 +5,17 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ - -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001","0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' + -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' +``` + + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/mantle/json-rpc-methods/_eth_syncing-request.mdx index ab336681448..ccf02866778 100644 --- a/services/reference/mantle/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_eth_syncing-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_net_listening-request.mdx b/services/reference/mantle/json-rpc-methods/_net_listening-request.mdx index 46ee2fcddfe..e65fb29f253 100644 --- a/services/reference/mantle/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_net_listening-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_net_peercount-request.mdx b/services/reference/mantle/json-rpc-methods/_net_peercount-request.mdx index df96dab3c78..5e222a71e5c 100644 --- a/services/reference/mantle/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_net_peercount-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_net_version-request.mdx b/services/reference/mantle/json-rpc-methods/_net_version-request.mdx index 4d973d087e6..00ac38df250 100644 --- a/services/reference/mantle/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_net_version-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/mantle/json-rpc-methods/_web3_clientversion-request.mdx index 6cda18788ef..79e39c8ed29 100644 --- a/services/reference/mantle/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/mantle/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,11 +5,18 @@ import TabItem from "@theme/TabItem" ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/debug/debug_storagerangeat.md b/services/reference/mantle/json-rpc-methods/debug/debug_storagerangeat.md index 3b1b51c2801..ab902813796 100644 --- a/services/reference/mantle/json-rpc-methods/debug/debug_storagerangeat.md +++ b/services/reference/mantle/json-rpc-methods/debug/debug_storagerangeat.md @@ -23,7 +23,7 @@ An object with the storage hash values, and for each of them the key and value i ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -37,6 +37,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "debug_storageRangeAt", "params": ["0x7aaff18735842066baee6a2eb53961a69e67f5e012072c81c05a0fd793069a6c", 0, "0x371c7ec6D8039ff7933a2AA28EB827Ffe1F52f07", "0x0000000000000000000000000000000000000000000000000000000000000000", 1], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x'{"jsonrpc": "2.0", "method": "debug_storageRangeAt", "params": ["0x7aaff18735842066baee6a2eb53961a69e67f5e012072c81c05a0fd793069a6c", 0, "0x371c7ec6D8039ff7933a2AA28EB827Ffe1F52f07", "0x0000000000000000000000000000000000000000000000000000000000000000", 1], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/debug/debug_traceblock.md b/services/reference/mantle/json-rpc-methods/debug/debug_traceblock.md index de9c3860f3c..e78ee5b54d7 100644 --- a/services/reference/mantle/json-rpc-methods/debug/debug_traceblock.md +++ b/services/reference/mantle/json-rpc-methods/debug/debug_traceblock.md @@ -26,7 +26,7 @@ Depending on the specified tracer type, returns a [`callTracer`](index.md##callt ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -40,6 +40,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "debug_traceBlock", "params": ["0xf90277f90208a05a41d0e66b4120775176c09fcf39e7c0520517a13d2b57b18d33d342df038bfca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794e6a7a1d47ff21b6321162aea7c6cb457d5476bcaa00e0df2706b0a4fb8bd08c9246d472abbe850af446405d9eba1db41db18b4a169a04513310fcb9f6f616972a3b948dc5d547f280849a87ebb5af0191f98b87be598a0fe2bf2a941abf41d72637e5b91750332a30283efd40c424dc522b77e6f0ed8c4b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000860153886c1bbd82b44382520b8252088455c426598b657468706f6f6c2e6f7267a0b48c515a9dde8d346c3337ea520aa995a4738bb595495506125449c1149d6cf488ba4f8ecd18aab215f869f86780862d79883d2000825208945df9b87991262f6ba471f09758cde1c0fc1de734827a69801ca088ff6cf0fefd94db46111149ae4bfc179e9b94721fffd821d38d16464b3f71d0a045e0aff800961cfce805daef7016b9b675c137a6a41a548f7b60a3484c06a33ac0", {"tracer": "callTracer"}], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x'{"jsonrpc": "2.0", "method": "debug_traceBlock", "params": ["0xf90277f90208a05a41d0e66b4120775176c09fcf39e7c0520517a13d2b57b18d33d342df038bfca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794e6a7a1d47ff21b6321162aea7c6cb457d5476bcaa00e0df2706b0a4fb8bd08c9246d472abbe850af446405d9eba1db41db18b4a169a04513310fcb9f6f616972a3b948dc5d547f280849a87ebb5af0191f98b87be598a0fe2bf2a941abf41d72637e5b91750332a30283efd40c424dc522b77e6f0ed8c4b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000860153886c1bbd82b44382520b8252088455c426598b657468706f6f6c2e6f7267a0b48c515a9dde8d346c3337ea520aa995a4738bb595495506125449c1149d6cf488ba4f8ecd18aab215f869f86780862d79883d2000825208945df9b87991262f6ba471f09758cde1c0fc1de734827a69801ca088ff6cf0fefd94db46111149ae4bfc179e9b94721fffd821d38d16464b3f71d0a045e0aff800961cfce805daef7016b9b675c137a6a41a548f7b60a3484c06a33ac0", {"tracer": "callTracer"}], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbyhash.md b/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbyhash.md index a388552e957..ac5f46934bf 100644 --- a/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbyhash.md +++ b/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbyhash.md @@ -26,7 +26,7 @@ Depending on the specified tracer type, returns a [`callTracer`](index.md##callt ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -40,6 +40,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "debug_traceBlockByHash", "params": ["0xec8cb29209d9170b31008738ec9e80acc22257249cfd0f4bce19590cd09834c8", {"tracer": "callTracer"}], "id": 1}' ``` + + + +```bash +wscat -c wss://mantlemainnet.infura.io/ws/v3/YOUR-API-KEY -x'{"jsonrpc": "2.0", "method": "debug_traceBlockByHash", "params": ["0xec8cb29209d9170b31008738ec9e80acc22257249cfd0f4bce19590cd09834c8", {"tracer": "callTracer"}], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbynumber.md b/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbynumber.md index f80ec1aaa07..27876e4bd98 100644 --- a/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbynumber.md +++ b/services/reference/mantle/json-rpc-methods/debug/debug_traceblockbynumber.md @@ -27,7 +27,7 @@ Depending on the specified tracer type, returns a [`callTracer`](index.md##callt ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -41,6 +41,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "debug_traceBlockByNumber", "params": ["0x4d0c", {"tracer": "callTracer"}], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "debug_traceBlockByNumber", "params": ["0x4d0c", {"tracer": "callTracer"}], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/debug/debug_tracecall.md b/services/reference/mantle/json-rpc-methods/debug/debug_tracecall.md index b9a07e88178..856786a7b00 100644 --- a/services/reference/mantle/json-rpc-methods/debug/debug_tracecall.md +++ b/services/reference/mantle/json-rpc-methods/debug/debug_tracecall.md @@ -12,7 +12,7 @@ given block execution. ## Parameters -- Transaction object with the foloowing fields: +- Transaction object with the following fields: - `from`: (string) address (20 bytes) the transaction is sent from. - `to`: (string) _[required]_ address (20 bytes) the transaction is directed to. - `gas`: (string) hexadecimal value of the gas provided for the transaction execution. `eth_call` consumes zero @@ -42,7 +42,7 @@ Depending on the specified tracer type, returns a [`callTracer`](index.md##callt ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -56,6 +56,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "debug_traceCall", "params": [{"to": "0x6b175474e89094c44da98b954eedeac495271d0f", "data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"}, "latest", {"tracer": "callTracer"}], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "debug_traceCall", "params": [{"to": "0x6b175474e89094c44da98b954eedeac495271d0f", "data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"}, "latest", {"tracer": "callTracer"}], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/debug/debug_tracetransaction.md b/services/reference/mantle/json-rpc-methods/debug/debug_tracetransaction.md index 1bf05a2b141..31158944c6e 100644 --- a/services/reference/mantle/json-rpc-methods/debug/debug_tracetransaction.md +++ b/services/reference/mantle/json-rpc-methods/debug/debug_tracetransaction.md @@ -28,7 +28,7 @@ Depending on the specified tracer type, returns a [`callTracer`](index.md##callt ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -42,6 +42,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "debug_traceTransaction", "params": ["0xdcecf3f9fc68c92276d6c4b40c17b185f8a3fcb9d1a959a495d38d480782404b", {"tracer": "callTracer"}], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "debug_traceTransaction", "params": ["0xdcecf3f9fc68c92276d6c4b40c17b185f8a3fcb9d1a959a495d38d480782404b", {"tracer": "callTracer"}], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/eth_getbalancevalues.mdx b/services/reference/mantle/json-rpc-methods/eth_getbalancevalues.mdx index 5229dd03bbe..1eab1ed18aa 100644 --- a/services/reference/mantle/json-rpc-methods/eth_getbalancevalues.mdx +++ b/services/reference/mantle/json-rpc-methods/eth_getbalancevalues.mdx @@ -31,7 +31,7 @@ Object with the following fields: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -39,12 +39,19 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getBalanceValues","params":["0xd071acb641553a2e205181a42aa3a8ace97dae6d","latest"],"id":1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalanceValues", "params": ["0xd071acb641553a2e205181a42aa3a8ace97dae6d", "latest"], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/eth_getblockrange.md b/services/reference/mantle/json-rpc-methods/eth_getblockrange.md index 4a2225a378d..b3fbb40b66a 100644 --- a/services/reference/mantle/json-rpc-methods/eth_getblockrange.md +++ b/services/reference/mantle/json-rpc-methods/eth_getblockrange.md @@ -46,7 +46,7 @@ Array of block objects: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -64,7 +64,7 @@ curl https://mantle-mainnet.infura.io/v3/ \ ```bash -wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockRange", "params": ["0x1", "0x2", false], "id": 1}' +wscat -c wss://mantle-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockRange", "params": ["0x1", "0x2", false], "id": 1}' ``` diff --git a/services/reference/mantle/json-rpc-methods/rollup_gasprices.md b/services/reference/mantle/json-rpc-methods/rollup_gasprices.md index 76d9b2eaded..27dfb534a55 100644 --- a/services/reference/mantle/json-rpc-methods/rollup_gasprices.md +++ b/services/reference/mantle/json-rpc-methods/rollup_gasprices.md @@ -22,7 +22,7 @@ Gas price object: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -36,6 +36,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "rollup_gasPrices", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "rollup_gasPrices", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/json-rpc-methods/rollup_getinfo.md b/services/reference/mantle/json-rpc-methods/rollup_getinfo.md index d1669d6e4d0..8d9f3807ab2 100644 --- a/services/reference/mantle/json-rpc-methods/rollup_getinfo.md +++ b/services/reference/mantle/json-rpc-methods/rollup_getinfo.md @@ -28,7 +28,7 @@ Node information object: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -42,6 +42,13 @@ curl https://mantle-mainnet.infura.io/v3/ \ -d '{"jsonrpc": "2.0", "method": "rollup_getInfo", "params": [], "id": 1}' ``` + + + +```bash +wscat -c wss://mantle-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "rollup_getInfo", "params": [], "id": 1}' +``` + diff --git a/services/reference/mantle/quickstart.md b/services/reference/mantle/quickstart.md index 9ee868809ff..8fc3000e590 100644 --- a/services/reference/mantle/quickstart.md +++ b/services/reference/mantle/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://mantle-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://mantle-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://mantle-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://mantle-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://mantle-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://mantle-mainnet.infura.io/v3/YOUR-API-KEY" + "https://mantle-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://mantle-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://mantle-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/opbnb/index.md b/services/reference/opbnb/index.md new file mode 100644 index 00000000000..aa97bfcef9d --- /dev/null +++ b/services/reference/opbnb/index.md @@ -0,0 +1,60 @@ +--- +description: opBNB network documentation +--- + +import CardList from "@site/src/components/CardList" + +# opBNB + +:::note Decentralized Infrastructure Network (DIN) + +opBNB is supported through the [DIN](https://www.infura.io/solutions/decentralized-infrastructure-service) service, +meaning calls to the network are routed to [partner infrastructure providers](#partners-and-privacy-policies). + +Infura provides open beta access to the layer 2 opBNB and its layer 1 [BNB Smart Chain (BSC)](../bnb-smart-chain/index.md). During this period, there might be [feature limitations](json-rpc-methods/index.md#partner-supported-methods). +Performance issues are not expected, but they are possible as we optimize and stabilize the service. + +Archive requests are not currently supported for opBNB: only near head requests (the last 128 blocks) are supported. Be aware of this limitation when making calls +to API calls to methods such as [`eth_getStorageAt`](./json-rpc-methods/eth_getstorageat.mdx), +[`eth_getTransactionReceipt`](./json-rpc-methods/eth_gettransactionreceipt.mdx), and +[`eth_getTransactionByHash`](./json-rpc-methods/eth_gettransactionbyhash.mdx). + +::: + +opBNB is an EVM-compatible, layer 2, rollup scaling solution that operates on top of [BSC](../bnb-smart-chain/index.md). All transactions that occur on opBNB are posted and validated on BSC using Optimistic Rollups. + +:::info See also + +For more information, refer to the official [opBNB documentation](https://docs.bnbchain.org/bnb-opbnb/overview/). + +::: + +Select an option below to get started with the opBNB network. + + + +## Partners and privacy policies + +The following partners provide access to the opBNB network: + +- Infstones ([Privacy Policy](https://infstones.com/terms/privacy-notice)) +- NodeReal ([Privacy Policy](https://nodereal.io/privacy-policy)) + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_accounts-request.mdx new file mode 100644 index 00000000000..238ece819ab --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_accounts-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id":1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_blocknumber-request.mdx new file mode 100644 index 00000000000..ca9eb503c68 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_blocknumber-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_call-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_call-request.mdx new file mode 100644 index 00000000000..cc8bbc158e8 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_call-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id":1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_chainid-request.mdx new file mode 100644 index 00000000000..dc14de31ded --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_chainid-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id":1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_estimategas-request.mdx new file mode 100644 index 00000000000..11b46c91aa8 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_estimategas-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id":1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_feehistory-request.mdx new file mode 100644 index 00000000000..290ef9c18c7 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_feehistory-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_feeHistory","params":["0x5", "latest", []],"id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gasprice-request.mdx new file mode 100644 index 00000000000..3ad4cb1e40c --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gasprice-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_gasPrice", "params": [], "id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getbalance-request.mdx new file mode 100644 index 00000000000..c3d6f40e983 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getbalance-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getblockbyhash-request.mdx new file mode 100644 index 00000000000..049138278c9 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method":"eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id":1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getblockbynumber-request.mdx new file mode 100644 index 00000000000..fe5fc2d8f76 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params":["0x5BAD55", false], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params":["0x5BAD55", false], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx new file mode 100644 index 00000000000..440066b1206 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx new file mode 100644 index 00000000000..237483107e3 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getcode-request.mdx new file mode 100644 index 00000000000..3658a280302 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getcode-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method":"eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getlogs-request.mdx new file mode 100644 index 00000000000..c7b97db03ac --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getlogs-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getproof-request.mdx new file mode 100644 index 00000000000..eed945955ad --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getproof-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getstorageat-description.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getstorageat-description.mdx new file mode 100644 index 00000000000..76e45f74479 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getstorageat-description.mdx @@ -0,0 +1,8 @@ +Returns the value from a storage position at a given address. + +:::info + +Currently, the opBNB network service supports only near head requests (the latest 128 blocks). +Archive requests are not available at this time. + +::: diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getstorageat-request.mdx new file mode 100644 index 00000000000..a072d68c70c --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getstorageat-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx new file mode 100644 index 00000000000..f8121b57737 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx new file mode 100644 index 00000000000..e131698347a --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyhash-description.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyhash-description.mdx new file mode 100644 index 00000000000..2e0ce979e77 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyhash-description.mdx @@ -0,0 +1,8 @@ +Returns information about a transaction for a given hash. + +:::info + +Currently, the opBNB network service supports only near head requests (the latest 128 blocks). +Archive requests are not available at this time. + +::: \ No newline at end of file diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyhash-request.mdx new file mode 100644 index 00000000000..09eb6cc27d1 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactioncount-request.mdx new file mode 100644 index 00000000000..0ae5437b2bc --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactionreceipt-description.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionreceipt-description.mdx new file mode 100644 index 00000000000..80c706610ff --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionreceipt-description.mdx @@ -0,0 +1,8 @@ +Returns the receipt of a transaction given transaction hash. Note that the receipt is not available for pending transactions. + +:::info + +Currently, the opBNB network service supports only near head requests (the latest 128 blocks). +Archive requests are not available at this time. + +::: \ No newline at end of file diff --git a/services/reference/opbnb/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionreceipt-request.mdx new file mode 100644 index 00000000000..b4cbfec97ea --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx new file mode 100644 index 00000000000..e8e93be586a --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx new file mode 100644 index 00000000000..5442ca4894f --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx new file mode 100644 index 00000000000..a7bbfbe3360 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/d23391e03c6d40738530a1b4b679e66e -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_sendrawtransaction-request.mdx new file mode 100644 index 00000000000..0abe837fc5f --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/opbnb/json-rpc-methods/_eth_syncing-request.mdx new file mode 100644 index 00000000000..f03abf3b11c --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_eth_syncing-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_net_peercount-request.mdx b/services/reference/opbnb/json-rpc-methods/_net_peercount-request.mdx new file mode 100644 index 00000000000..60a2c3ef4fa --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_net_peercount-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_net_version-request.mdx b/services/reference/opbnb/json-rpc-methods/_net_version-request.mdx new file mode 100644 index 00000000000..f3ac0c20fb5 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_net_version-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/opbnb/json-rpc-methods/_web3_clientversion-request.mdx new file mode 100644 index 00000000000..c1fd3102c85 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/_web3_clientversion-request.mdx @@ -0,0 +1,22 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +``` + + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_accounts.mdx b/services/reference/opbnb/json-rpc-methods/eth_accounts.mdx new file mode 100644 index 00000000000..0c5088b9560 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_accounts.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_accounts" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_accounts-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_accounts-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_accounts-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_accounts-example.mdx"; + + + +### Request + +import Request from "./_eth_accounts-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_accounts-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_blocknumber.mdx b/services/reference/opbnb/json-rpc-methods/eth_blocknumber.mdx new file mode 100644 index 00000000000..f10357f32e3 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_blocknumber.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_blockNumber" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_blocknumber-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_blocknumber-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_blocknumber-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_blocknumber-example.mdx"; + + + +### Request + +import Request from "./_eth_blocknumber-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_blocknumber-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_call.mdx b/services/reference/opbnb/json-rpc-methods/eth_call.mdx new file mode 100644 index 00000000000..d4c9cf9a095 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_call.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_call" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_call-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_call-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_call-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_call-example.mdx"; + + + +### Request + +import Request from "./_eth_call-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_call-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_chainid.mdx b/services/reference/opbnb/json-rpc-methods/eth_chainid.mdx new file mode 100644 index 00000000000..c385efc1ed1 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_chainid.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_chainId" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_chainid-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_chainid-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_chainid-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_chainid-example.mdx"; + + + +### Request + +import Request from "./_eth_chainid-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_chainid-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_estimategas.mdx b/services/reference/opbnb/json-rpc-methods/eth_estimategas.mdx new file mode 100644 index 00000000000..fcf752d84b3 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_estimategas.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_estimateGas" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_estimategas-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_estimategas-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_estimategas-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_estimategas-example.mdx"; + + + +### Request + +import Request from "./_eth_estimategas-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_estimategas-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_feehistory.mdx b/services/reference/opbnb/json-rpc-methods/eth_feehistory.mdx new file mode 100644 index 00000000000..9aafc564c46 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_feehistory.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_feeHistory" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_feehistory-description.mdx" + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_feehistory-parameters.mdx" + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_feehistory-returns.mdx" + + + +## Example + +import Example from "/services/reference/_partials/_eth_feehistory-example.mdx" + + + +### Request + +import Request from "./_eth_feehistory-request.mdx" + + + +### Response + +import Response from "/services/reference/_partials/_eth_feehistory-response.mdx" + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_gasprice.mdx b/services/reference/opbnb/json-rpc-methods/eth_gasprice.mdx new file mode 100644 index 00000000000..f5ce241a9ae --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_gasprice.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_gasPrice" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_gasprice-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_gasprice-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_gasprice-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_gasprice-example.mdx"; + + + +### Request + +import Request from "./_eth_gasprice-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_gasprice-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getbalance.mdx b/services/reference/opbnb/json-rpc-methods/eth_getbalance.mdx new file mode 100644 index 00000000000..814f2e5a8bf --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getbalance.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getBalance" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getbalance-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getbalance-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getbalance-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getbalance-example.mdx"; + + + +### Request + +import Request from "./_eth_getbalance-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getbalance-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getblockbyhash.mdx b/services/reference/opbnb/json-rpc-methods/eth_getblockbyhash.mdx new file mode 100644 index 00000000000..435c47dd6d2 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getblockbyhash.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getBlockByHash" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getblockbyhash-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getblockbyhash-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getblockbyhash-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getblockbyhash-example.mdx"; + + + +### Request + +import Request from "./_eth_getblockbyhash-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getblockbyhash-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getblockbynumber.mdx b/services/reference/opbnb/json-rpc-methods/eth_getblockbynumber.mdx new file mode 100644 index 00000000000..2a4855cfb5d --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getblockbynumber.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getBlockByNumber" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getblockbynumber-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getblockbynumber-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getblockbynumber-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getblockbynumber-example.mdx"; + + + +### Request + +import Request from "./_eth_getblockbynumber-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getblockbynumber-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getblocktransactioncountbyhash.mdx b/services/reference/opbnb/json-rpc-methods/eth_getblocktransactioncountbyhash.mdx new file mode 100644 index 00000000000..30ece4724b3 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getblocktransactioncountbyhash.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getBlockTransactionCountByHash" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getblocktransactioncountbyhash-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getblocktransactioncountbyhash-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getblocktransactioncountbyhash-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getblocktransactioncountbyhash-example.mdx"; + + + +### Request + +import Request from "./_eth_getblocktransactioncountbyhash-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getblocktransactioncountbyhash-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getblocktransactioncountbynumber.mdx b/services/reference/opbnb/json-rpc-methods/eth_getblocktransactioncountbynumber.mdx new file mode 100644 index 00000000000..2cc69dd469e --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getblocktransactioncountbynumber.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getBlockTransactionCountByNumber" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getblocktransactioncountbynumber-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getblocktransactioncountbynumber-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getblocktransactioncountbynumber-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getblocktransactioncountbynumber-example.mdx"; + + + +### Request + +import Request from "./_eth_getblocktransactioncountbynumber-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getblocktransactioncountbynumber-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getcode.mdx b/services/reference/opbnb/json-rpc-methods/eth_getcode.mdx new file mode 100644 index 00000000000..906f21a6d9e --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getcode.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getCode" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getcode-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getcode-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getcode-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getcode-example.mdx"; + + + +### Request + +import Request from "./_eth_getcode-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getcode-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getlogs.mdx b/services/reference/opbnb/json-rpc-methods/eth_getlogs.mdx new file mode 100644 index 00000000000..860d7568027 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getlogs.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getLogs" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getlogs-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getlogs-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getlogs-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getlogs-example.mdx"; + + + +### Request + +import Request from "./_eth_getlogs-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getlogs-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getproof.mdx b/services/reference/opbnb/json-rpc-methods/eth_getproof.mdx new file mode 100644 index 00000000000..c80a278d835 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getproof.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getProof" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getproof-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getproof-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getproof-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getproof-example.mdx"; + + + +### Request + +import Request from "./_eth_getproof-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getproof-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getstorageat.mdx b/services/reference/opbnb/json-rpc-methods/eth_getstorageat.mdx new file mode 100644 index 00000000000..e55efec5a0c --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getstorageat.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getStorageAt" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "./_eth_getstorageat-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getstorageat-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getstorageat-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getstorageat-example.mdx"; + + + +### Request + +import Request from "./_eth_getstorageat-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getstorageat-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyblockhashandindex.mdx b/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyblockhashandindex.mdx new file mode 100644 index 00000000000..0a240af37d2 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyblockhashandindex.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getTransactionByBlockHashAndIndex" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_gettransactionbyblockhashandindex-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_gettransactionbyblockhashandindex-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_gettransactionbyblockhashandindex-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_gettransactionbyblockhashandindex-example.mdx"; + + + +### Request + +import Request from "./_eth_gettransactionbyblockhashandindex-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_gettransactionbyblockhashandindex-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyblocknumberandindex.mdx b/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyblocknumberandindex.mdx new file mode 100644 index 00000000000..e31108b277a --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyblocknumberandindex.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getTransactionByBlockNumberAndIndex" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-example.mdx"; + + + +### Request + +import Request from "./_eth_gettransactionbyblocknumberandindex-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_gettransactionbyblocknumberandindex-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyhash.mdx b/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyhash.mdx new file mode 100644 index 00000000000..38ff25005b8 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_gettransactionbyhash.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getTransactionByHash" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "./_eth_gettransactionbyhash-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_gettransactionbyhash-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_gettransactionbyhash-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_gettransactionbyhash-example.mdx"; + + + +### Request + +import Request from "./_eth_gettransactionbyhash-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_gettransactionbyhash-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_gettransactioncount.mdx b/services/reference/opbnb/json-rpc-methods/eth_gettransactioncount.mdx new file mode 100644 index 00000000000..28ec372d1e1 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_gettransactioncount.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getTransactionCount" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_gettransactioncount-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_gettransactioncount-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_gettransactioncount-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_gettransactioncount-example.mdx"; + + + +### Request + +import Request from "./_eth_gettransactioncount-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_gettransactioncount-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_gettransactionreceipt.mdx b/services/reference/opbnb/json-rpc-methods/eth_gettransactionreceipt.mdx new file mode 100644 index 00000000000..2aba9413dba --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_gettransactionreceipt.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getTransactionReceipt" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "./_eth_gettransactionreceipt-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_gettransactionreceipt-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_gettransactionreceipt-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_gettransactionreceipt-example.mdx"; + + + +### Request + +import Request from "./_eth_gettransactionreceipt-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_gettransactionreceipt-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getunclebyblockhashandindex.mdx b/services/reference/opbnb/json-rpc-methods/eth_getunclebyblockhashandindex.mdx new file mode 100644 index 00000000000..dda3bcea3a6 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getunclebyblockhashandindex.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getUncleByBlockHashAndIndex" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getunclebyblockhashandindex-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getunclebyblockhashandindex-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getunclebyblockhashandindex-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getunclebyblockhashandindex-example.mdx"; + + + +### Request + +import Request from "./_eth_getunclebyblockhashandindex-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getunclebyblockhashandindex-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_getunclecountbyblocknumber.mdx b/services/reference/opbnb/json-rpc-methods/eth_getunclecountbyblocknumber.mdx new file mode 100644 index 00000000000..6b5a5f068ae --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_getunclecountbyblocknumber.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getUncleCountByBlockNumber" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_getunclecountbyblocknumber-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getunclecountbyblocknumber-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getunclecountbyblocknumber-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getunclecountbyblocknumber-example.mdx"; + + + +### Request + +import Request from "./_eth_getunclecountbyblocknumber-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getunclecountbyblocknumber-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_maxpriorityfeepergas.mdx b/services/reference/opbnb/json-rpc-methods/eth_maxpriorityfeepergas.mdx new file mode 100644 index 00000000000..89d1421df00 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_maxpriorityfeepergas.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_maxPriorityFeePerGas" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_maxpriorityfeepergas-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_maxpriorityfeepergas-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_maxpriorityfeepergas-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_maxpriorityfeepergas-example.mdx"; + + + +### Request + +import Request from "./_eth_maxpriorityfeepergas-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_maxpriorityfeepergas-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_sendrawtransaction.mdx b/services/reference/opbnb/json-rpc-methods/eth_sendrawtransaction.mdx new file mode 100644 index 00000000000..007139c8a82 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_sendrawtransaction.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_sendRawTransaction" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_sendrawtransaction-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_sendrawtransaction-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_sendrawtransaction-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_sendrawtransaction-example.mdx"; + + + +### Request + +import Request from "./_eth_sendrawtransaction-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_sendrawtransaction-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_sendtransaction.mdx b/services/reference/opbnb/json-rpc-methods/eth_sendtransaction.mdx new file mode 100644 index 00000000000..915363a6184 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_sendtransaction.mdx @@ -0,0 +1,11 @@ +--- +title: "eth_sendTransaction" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_sendtransaction-description.mdx"; + + + diff --git a/services/reference/opbnb/json-rpc-methods/eth_syncing.mdx b/services/reference/opbnb/json-rpc-methods/eth_syncing.mdx new file mode 100644 index 00000000000..4dd0c0a0803 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/eth_syncing.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_syncing" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_eth_syncing-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_syncing-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_syncing-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_syncing-example.mdx"; + + + +### Request + +import Request from "./_eth_syncing-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_syncing-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/index.md b/services/reference/opbnb/json-rpc-methods/index.md new file mode 100644 index 00000000000..faa971d397e --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/index.md @@ -0,0 +1,13 @@ + +# JSON-RPC methods + +The standard Ethereum methods documented here are supported by Infura on the opBNB layer 2 network. + +Currently, only near head requests (the last 128 blocks) are supported in the +opBNB service. Archive requests are not supported. + +:::info + +WebSockets are also supported on the opBNB mainnet network and can be used to set up bidirectional stateful [subscriptions](subscription-methods/index.md). + +::: diff --git a/services/reference/opbnb/json-rpc-methods/net_peercount.mdx b/services/reference/opbnb/json-rpc-methods/net_peercount.mdx new file mode 100644 index 00000000000..c15460a96e3 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/net_peercount.mdx @@ -0,0 +1,40 @@ +--- +title: "net_peerCount" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_net_peercount-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_net_peercount-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_net_peercount-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_net_peercount-example.mdx"; + + + +### Request + +import Request from "./_net_peercount-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_net_peercount-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/net_version.mdx b/services/reference/opbnb/json-rpc-methods/net_version.mdx new file mode 100644 index 00000000000..b594ac81c6e --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/net_version.mdx @@ -0,0 +1,40 @@ +--- +title: "net_version" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_net_version-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_net_version-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_net_version-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_net_version-example.mdx"; + + + +### Request + +import Request from "./_net_version-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_net_version-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/opbnb/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx new file mode 100644 index 00000000000..3eb32e14e0a --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -0,0 +1,28 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +``` + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +``` + + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +``` + + + + diff --git a/services/reference/opbnb/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/opbnb/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx new file mode 100644 index 00000000000..4cea6225da2 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -0,0 +1,14 @@ +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + + + + +```bash +wscat -c wss://opbnb-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +``` + + + + + diff --git a/services/reference/opbnb/json-rpc-methods/subscription-methods/eth_subscribe.mdx b/services/reference/opbnb/json-rpc-methods/subscription-methods/eth_subscribe.mdx new file mode 100644 index 00000000000..2d7043faf78 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/subscription-methods/eth_subscribe.mdx @@ -0,0 +1,45 @@ +--- +title: "eth_subscribe" +todo: Is newPendingTransactions` event only mainnet supported? +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/subscription-methods/_eth_subscribe-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/subscription-methods/_eth_subscribe-parameters.mdx"; + + + +:::note +The `newPendingTransactions` event is only available on mainnet. +::: + +## Returns + +import Returns from "/services/reference/_partials/subscription-methods/_eth_subscribe-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/subscription-methods/_eth_subscribe-example.mdx"; + + + +### Request + +import Request from "./_eth_subscribe-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/subscription-methods/_eth_subscribe-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/subscription-methods/eth_unsubscribe.mdx b/services/reference/opbnb/json-rpc-methods/subscription-methods/eth_unsubscribe.mdx new file mode 100644 index 00000000000..fd4aedad7ad --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/subscription-methods/eth_unsubscribe.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_unsubscribe" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/subscription-methods/_eth_unsubscribe-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/subscription-methods/_eth_unsubscribe-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/subscription-methods/_eth_unsubscribe-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/subscription-methods/_eth_unsubscribe-example.mdx"; + + + +### Request + +import Request from "./_eth_unsubscribe-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/subscription-methods/_eth_unsubscribe-response.mdx"; + + diff --git a/services/reference/opbnb/json-rpc-methods/subscription-methods/index.md b/services/reference/opbnb/json-rpc-methods/subscription-methods/index.md new file mode 100644 index 00000000000..c37f4ff0c12 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/subscription-methods/index.md @@ -0,0 +1,18 @@ +--- +title: "Subscription methods" +--- + +# Subscription methods + +Subscription methods are available for [WebSocket](../../../../learn/websockets.md) connections only, and allow you to wait for events instead of polling for them. For example, dapps can subscribe to logs and receive notifications when a specific event occurs. + +The following subscription methods are available on mainnet: + +- [`eth_subscribe`](./eth_subscribe.mdx) - Create a subscription to a particular event +- [`eth_unsubscribe`](./eth_unsubscribe.mdx) - Cancel an active subscription + +:::info + +We recommend you use the WSS protocol to set up bidirectional stateful subscriptions. Stateless HTTP WebSockets are also supported. + +::: diff --git a/services/reference/opbnb/json-rpc-methods/web3_clientversion.mdx b/services/reference/opbnb/json-rpc-methods/web3_clientversion.mdx new file mode 100644 index 00000000000..0576523fc98 --- /dev/null +++ b/services/reference/opbnb/json-rpc-methods/web3_clientversion.mdx @@ -0,0 +1,40 @@ +--- +title: "web3_clientVersion" +--- + +import Tabs from "@theme/Tabs" +import TabItem from "@theme/TabItem" + +import Description from "/services/reference/_partials/_web3_clientversion-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_web3_clientversion-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_web3_clientversion-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_web3_clientversion-example.mdx"; + + + +### Request + +import Request from "./_web3_clientversion-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_web3_clientversion-response.mdx"; + + diff --git a/services/reference/opbnb/quickstart.md b/services/reference/opbnb/quickstart.md new file mode 100644 index 00000000000..2bf59e8dc04 --- /dev/null +++ b/services/reference/opbnb/quickstart.md @@ -0,0 +1,189 @@ +--- +description: opBNB Smart Chain quickstart guide +sidebar_position: 2 +--- + +import Banner from "@site/src/components/Banner" + +# Quickstart + +This quickstart guide will help you set up and make calls on the opBNB network using the Infura endpoints. + + +Don't have an Infura account? Sign up for our free plan and start using the BNB Smart Chain network! + + +## Prerequisites + +Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/create-api/) with the opBNB network enabled. + +## Make calls + +### cURL + +Run the following command in your terminal. Replace `` with your actual Infura API key. + +```bash +curl https://opbnb-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +``` + +### Node (JavaScript) + +In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) as your package manager. + +#### Node Fetch + +1. In your project folder, install the Node Fetch package using npm: + + ```bash + npm i node-fetch + `````` + +1. Create your Javascript file and copy the following code: + + Replace `` with your actual Infura API key. + + ```javascript title="index.js" + import fetch from 'node-fetch'; + fetch("https://opbnb-mainnet.infura.io/v3/", { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + jsonrpc: "2.0", + method: "eth_blockNumber", + params: [], + id: 1 + }) + }) + .then(response => + response.json() + ) + .then(data => { + console.log(data); + }) + .catch(error => { + console.error(error); + }); + ``` + +1. Run the code using the following command: + + ```bash + node index.js + ``` + +#### Axios + +1. In your project folder, install the Axios package using npm: + + ```bash + npm i axios + ``` + +1. Create your Javascript file and copy the following code: + Replace `` with your actual Infura API key. + + ```javascript title="index.js" + const axios = require("axios); + + axios.post("https://opbnb-mainnet.infura.io/v3/", { + jsonrpc: "2.0", + method: "eth_blockNumber", + params: [], + id: 1 + }) + .then(response => { + console.log(response.data); + }) + .catch(error => { + console.error(error); + }); + ``` + +1. Run the code using the following command: + + ```bash + node index.js + ``` + +#### Ethers + +1. In your project folder, install the ethers package using npm: + + ```bash + npm install ethers + ``` + +1. Create your Javascript file and copy the following code: + + Replace `` with your actual Infura API key. + + ```javascript title="index.js" + const ethers = require("ethers"); + const provider = new ethers.providers.JsonRpcProvider("https://opbnb-mainnet.infura.io/v3/"); + provider.getBlockNumber() + .then(blockNumber => { + console.log(blockNumber); + }) + .catch(error => { + console.error(error); + }); + ``` + +1. Run the code using the following command: + + ```bash + node index.js + ``` + +### Python + +1. In your project folder, install the `requests` library: + + ```bash + pip install requests + ``` + +1. Create your Python file and copy the following code: + + Replace `` with your actual Infura API key. + + ```python title="index.py" + import requests + import json + url = "https://opbnb-mainnet.infura.io/v3/" + payload = { + "jsonrpc": "2.0", + "method": "eth_blockNumber", + "params": [], + "id": 1 + } + headers = {"content-type": "application/json"} + response = requests.post(url, data=json.dumps(payload), headers=headers).json() + print(response) + ``` + +1. Run the code using the following command: + + ```bash + python index.py + ``` + +## Next steps + +Now that you have successfully made a call to the opBNB network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: + +- **Explore other opBNB APIs**: Infura supports a wide range of APIs. You can find more information in the + [JSON-RPC API method documentation](json-rpc-methods/index.md). + +- **Try out different networks**: Infura supports multiple networks including Ethereum, Linea, Polygon, Optimism, and more. + +- **Monitor your usage**: Keep an eye on your usage on the [Infura dashboard](../../../../developer-tools/dashboard/how-to/dashboard-stats/) to ensure you're not hitting your rate limits. + +Remember, the Infura community is here to help. If you have any questions or run into any issues, check out the +[Infura community](https://community.infura.io/) for help and answers to common questions. \ No newline at end of file diff --git a/services/reference/optimism/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_accounts-request.mdx index ba32584a8c9..2dc55a4876c 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_blocknumber-request.mdx index ca60a62e52e..fbaf6659c56 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_call-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_call-request.mdx index 1da13f23c9c..ea223e566c5 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_chainid-request.mdx index 0199d122958..82fe0fa552f 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_estimategas-request.mdx index 9c3157e614a..956fc6ae856 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_feehistory-request.mdx index 30289f27c9a..743c5c98b0e 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_gasprice-request.mdx index e61c262e751..33772ea4752 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getbalance-request.mdx index 75635837f44..69850f62f2e 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getblockbyhash-request.mdx index 6e546c2c67c..ecaf8292ecc 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getblockbynumber-request.mdx index 2c2d760bbe9..f53a1dbd267 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber","params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getblockreceipts-request.mdx index effe0c65001..7b65d2ec02e 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 95cce104a48..a71458e513c 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 63d5f52bff7..5d041e18139 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id":1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id":1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getcode-request.mdx index 9db6563d213..f725fc71149 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getlogs-request.mdx index 77a701af381..1d9c82dd2fd 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}],"id":1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}],"id":1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics":["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}],"id":1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getproof-request.mdx index e9a04e8c1c4..a7c7f6b3826 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getstorageat-request.mdx index e8b74feb9af..f6da64d0c2b 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index 8a45a93525a..0da9c038f93 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35","0x0"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index e52149bf794..2feb749b57b 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55","0x0"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55","0x0"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 994d52f747a..c53a15b5607 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_gettransactioncount-request.mdx index f625661d70c..345163ad32e 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 90315972f35..f2cc28ff69c 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 3e525d97deb..eaeb0598aba 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index e4c09e0e5cb..097456394de 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c","0x0"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c","0x0"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 961789fe3ea..429a0f448c4 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 08a6e93571b..046c1f4244a 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index 7f676a9e2c0..38d8827473b 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/optimism/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_protocolversion-request.mdx index 1b9291426c8..ff49b227940 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_sendrawtransaction-request.mdx index cbbec9f0d32..3b7958ece3c 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_submitwork-request.mdx index 6b845929664..63acde5a3d1 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/optimism/json-rpc-methods/_eth_syncing-request.mdx index d8e7c53d619..947adf0b99a 100644 --- a/services/reference/optimism/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id":1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method":"eth_syncing", "params": [], "id":1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_net_listening-request.mdx b/services/reference/optimism/json-rpc-methods/_net_listening-request.mdx index c0d58b81cbc..9f99bd456e1 100644 --- a/services/reference/optimism/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-sepolia.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-sepolia.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' diff --git a/services/reference/optimism/json-rpc-methods/_net_peercount-request.mdx b/services/reference/optimism/json-rpc-methods/_net_peercount-request.mdx index 1759a752158..b2482d3eb70 100644 --- a/services/reference/optimism/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id":1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id":1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id":1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_net_version-request.mdx b/services/reference/optimism/json-rpc-methods/_net_version-request.mdx index 31d2ae88584..8db8850cc4a 100644 --- a/services/reference/optimism/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/optimism/json-rpc-methods/_web3_clientversion-request.mdx index f9f468eda19..250fddfd108 100644 --- a/services/reference/optimism/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/optimism/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 7ef89fd809a..05d70dea5ea 100644 --- a/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` diff --git a/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index 5370c2e66b0..e5938cbc6ba 100644 --- a/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/optimism/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://optimism-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://optimism-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/optimism/quickstart.md b/services/reference/optimism/quickstart.md index 4b583aa6477..d4548088dc9 100644 --- a/services/reference/optimism/quickstart.md +++ b/services/reference/optimism/quickstart.md @@ -21,10 +21,10 @@ Don't have an Infura account? Sign up for our free plan and start using the Opti ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://optimism-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://optimism-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://optimism-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://optimism-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://optimism-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://optimism-mainnet.infura.io/v3/YOUR-API-KEY" + "https://optimism-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://optimism-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://optimism-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/palm/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/palm/json-rpc-methods/_eth_blocknumber-request.mdx index 5cd41d778d2..8665f9dd7c1 100644 --- a/services/reference/palm/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_call-request.mdx b/services/reference/palm/json-rpc-methods/_eth_call-request.mdx index d50e055c9df..9fe3e5afebf 100644 --- a/services/reference/palm/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/palm/json-rpc-methods/_eth_chainid-request.mdx index b823df1015b..adf2d87652a 100644 --- a/services/reference/palm/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/palm/json-rpc-methods/_eth_estimategas-request.mdx index bf104d3aa62..e4bf629d75b 100644 --- a/services/reference/palm/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/palm/json-rpc-methods/_eth_feehistory-request.mdx index 2e819443034..ca02856877c 100644 --- a/services/reference/palm/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' diff --git a/services/reference/palm/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/palm/json-rpc-methods/_eth_gasprice-request.mdx index 61fb01440d2..b181368282f 100644 --- a/services/reference/palm/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getbalance-request.mdx index c5ede3f19b6..9715a97c1f7 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getblockbyhash-request.mdx index 0d35fa2605c..74d252117e9 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getblockbynumber-request.mdx index fd8695684b1..2c33757e525 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index aea822c3262..720a473d04f 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getcode-request.mdx index adf5a72c485..db9f0a9ad10 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getlogs-request.mdx index 71c0c89502e..756228a54a2 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/palm/json-rpc-methods/_eth_getstorageat-request.mdx index 6674d3c49fc..a01a09bb2d9 100644 --- a/services/reference/palm/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/palm/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index 5609a943ecf..bd69f80daba 100644 --- a/services/reference/palm/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/palm/json-rpc-methods/_eth_gettransactioncount-request.mdx index da4c6e70768..80498ad621a 100644 --- a/services/reference/palm/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/palm/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 74288a49184..9bed1da2f94 100644 --- a/services/reference/palm/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/palm/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index 40797067b3c..258e5f63df2 100644 --- a/services/reference/palm/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/palm/json-rpc-methods/_eth_protocolversion-request.mdx index d98e8a91443..cf9fe387743 100644 --- a/services/reference/palm/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/palm/json-rpc-methods/_eth_sendrawtransaction-request.mdx index c396eb4300f..1bd63ae34ea 100644 --- a/services/reference/palm/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/palm/json-rpc-methods/_eth_submitwork-request.mdx index 58852fefc84..5bbc8d4a338 100644 --- a/services/reference/palm/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/palm/json-rpc-methods/_eth_syncing-request.mdx index a26a44b0915..f48b0395511 100644 --- a/services/reference/palm/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/palm/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_net_listening-request.mdx b/services/reference/palm/json-rpc-methods/_net_listening-request.mdx index ee3cfebf46d..0523877ccbe 100644 --- a/services/reference/palm/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/palm/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_net_peercount-request.mdx b/services/reference/palm/json-rpc-methods/_net_peercount-request.mdx index 1c546fedaed..997b1f39e4c 100644 --- a/services/reference/palm/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/palm/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_net_version-request.mdx b/services/reference/palm/json-rpc-methods/_net_version-request.mdx index e5a0d26d384..e1d75aa6326 100644 --- a/services/reference/palm/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/palm/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' diff --git a/services/reference/palm/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/palm/json-rpc-methods/_web3_clientversion-request.mdx index 677389dd4a4..c676a9c7c79 100644 --- a/services/reference/palm/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/palm/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' diff --git a/services/reference/palm/quickstart.md b/services/reference/palm/quickstart.md index 6c084b80531..48991d8215a 100644 --- a/services/reference/palm/quickstart.md +++ b/services/reference/palm/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://palm-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://palm-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://palm-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://palm-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://palm-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://palm-mainnet.infura.io/v3/YOUR-API-KEY" + "https://palm-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://palm-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://palm-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_accounts-request.mdx index f2595923bc3..e5a240d78e4 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-request.mdx index 0cf217993ce..fdff2d0b8b2 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-requestfop.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-requestfop.mdx index c04d96b8316..5749e4c5fba 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-requestfop.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_blocknumber-requestfop.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "X-INFURA-FAILOVER: true" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -16,7 +16,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash const provider = new Web3.providers.HttpProvider( - "https://polygon-mainnet.infura.io/v3/YOUR-API-KEY" + "https://polygon-mainnet.infura.io/v3/" ); const options = { @@ -49,7 +49,7 @@ class InfuraJsonRpcProvider extends JsonRpcProvider { ``` provider = new InfuraJsonRpcProvider( - "https://polygon-mainnet.infura.io/v3/YOUR-API-KEY" + "https://polygon-mainnet.infura.io/v3/" ); ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_call-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_call-request.mdx index c55a30bb210..e06f689ecc6 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_chainid-request.mdx index 79e3ff53524..4e291aaab38 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_createaccesslist-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_createaccesslist-request.mdx index 3948161c101..2dc167c4410 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_createaccesslist-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_createaccesslist-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1, "jsonrpc": "2.0"}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss:///polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1, "jsonrpc": "2.0"}' +wscat -c wss:///polygon-mainnet.infura.io/ws/v3/ -x '{"method": "eth_createAccessList", "params": [{"from": "0xaeA8F8f781326bfE6A7683C2BD48Dd6AA4d3Ba63", "data": "0x608060806080608155"}, "pending"], "id": 1, "jsonrpc": "2.0"}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_estimategas-request.mdx index cc93525003d..3cab768abe8 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_feehistory-request.mdx index 58ab99b506b..048bf0033ab 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", []], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_gasprice-request.mdx index f43bc06c892..96acd6e4478 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getbalance-request.mdx index 7ace8461b46..21e47d0acaf 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbyhash-request.mdx index 4912f6721e8..640353aa3b5 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbynumber-request.mdx index 8619e088a0b..7a2112ae30a 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getblockreceipts-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getblockreceipts-request.mdx index 81c58250246..e0a9412db2f 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getblockreceipts-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getblockreceipts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 07a2838cc7c..535e0cfe2b1 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index fc6f443e9af..b33fd77334d 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getcode-request.mdx index d5bd2ff58bf..6d332bbc837 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getlogs-request.mdx index 96184361a80..a28189447e2 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getproof-request.mdx index 984723c5a81..7709ec88a22 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getstorageat-request.mdx index 38105588f05..2510719c41e 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index 985d8a1eba7..3c0528f5bd0 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index 5ba610d082c..7c4586059f0 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index c1a4cd076ac..9a08b6ffe07 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactioncount-request.mdx index 495084fbf90..c0e99872686 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index 869dc7c2385..c7136584a8e 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 2dec1f44bd9..95edba040ab 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 37177a5c60e..ae9a63b9daa 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index b5726fa9077..d4fedbcb735 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0","method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0","method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index 455d1dc6093..bcca4158af5 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_getwork-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_getwork-request.mdx index 80178c2626a..c82693beeea 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_getwork-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_getwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_hashrate-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_hashrate-request.mdx index e7a632a6730..201469610c4 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_hashrate-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_hashrate-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index 78ab71f1944..0fdf1d0713b 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_mining-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_mining-request.mdx index 8e3b3ba63f3..053ce959a35 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_mining-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_mining-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_protocolversion-request.mdx index 9e62f43fbda..6b02909fd74 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_sendrawtransaction-request.mdx index e8f0534c85e..f6a325ebddc 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_eth_syncing-request.mdx index 5070d65caf4..07170815d7d 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_net_listening-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_net_listening-request.mdx index 44fe0903987..2c3c389bcd0 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_net_peercount-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_net_peercount-request.mdx index f2604a67c27..e62701b2718 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_net_version-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_net_version-request.mdx index 7aed76c2dcf..7b0599d184a 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/polygon-pos/json-rpc-methods/_web3_clientversion-request.mdx index 54e6c5e3d2b..df0a6a8c413 100644 --- a/services/reference/polygon-pos/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/bor_getauthor.md b/services/reference/polygon-pos/json-rpc-methods/bor_getauthor.md index ad43d989e60..21709fa8242 100644 --- a/services/reference/polygon-pos/json-rpc-methods/bor_getauthor.md +++ b/services/reference/polygon-pos/json-rpc-methods/bor_getauthor.md @@ -27,7 +27,7 @@ self-upgrade to the Growth plan or contact a sales representative to upgrade to ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "bor_getAuthor", "params": ["0x1000"], "id": 1}' @@ -45,7 +45,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x {"jsonrpc": "2.0", "method": "bor_getAuthor", "params": ["0x1000"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x {"jsonrpc": "2.0", "method": "bor_getAuthor", "params": ["0x1000"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentproposer.md b/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentproposer.md index 5ebbb8e00fe..e6edbe2cebd 100644 --- a/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentproposer.md +++ b/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentproposer.md @@ -27,7 +27,7 @@ None ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "bor_getCurrentProposer", "params": [], "id": 1}' @@ -45,7 +45,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "bor_getCurrentProposer", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "bor_getCurrentProposer", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentvalidators.md b/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentvalidators.md index fc2c25ce474..ca0fe3c1ea0 100644 --- a/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentvalidators.md +++ b/services/reference/polygon-pos/json-rpc-methods/bor_getcurrentvalidators.md @@ -32,7 +32,7 @@ Array of validator objects with the following fields: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -40,7 +40,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "bor_getCurrentValidators", "params": [], "id": 1}' @@ -50,7 +50,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x {"jsonrpc": "2.0", "method": "bor_getCurrentValidators", "params": [], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x {"jsonrpc": "2.0", "method": "bor_getCurrentValidators", "params": [], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/bor_getroothash.md b/services/reference/polygon-pos/json-rpc-methods/bor_getroothash.md index f175e7d1882..99d61b8f423 100644 --- a/services/reference/polygon-pos/json-rpc-methods/bor_getroothash.md +++ b/services/reference/polygon-pos/json-rpc-methods/bor_getroothash.md @@ -34,7 +34,7 @@ The maximum difference between the specified block range can be 32767. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -42,7 +42,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "bor_getRootHash", "params": [1000, 1032], "id": 1}' @@ -52,7 +52,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x {"jsonrpc": "2.0", "method": "bor_getRootHash", "params": [1000, 1032], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x {"jsonrpc": "2.0", "method": "bor_getRootHash", "params": [1000, 1032], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/bor_getsignersathash.md b/services/reference/polygon-pos/json-rpc-methods/bor_getsignersathash.md index 72e196fba75..9d97ec8dcbe 100644 --- a/services/reference/polygon-pos/json-rpc-methods/bor_getsignersathash.md +++ b/services/reference/polygon-pos/json-rpc-methods/bor_getsignersathash.md @@ -27,7 +27,7 @@ Array of signers for the specified block hash ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "bor_getSignersAtHash", "params": ["0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876"], "id": 1}' @@ -45,7 +45,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x {"jsonrpc": "2.0", "method": "bor_getSignersAtHash", "params":["0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876"], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x {"jsonrpc": "2.0", "method": "bor_getSignersAtHash", "params":["0x29fa73e3da83ddac98f527254fe37002e052725a88904bac14f03e919e1e2876"], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/eth_getroothash.md b/services/reference/polygon-pos/json-rpc-methods/eth_getroothash.md index cb43c4e311b..a85737601d1 100644 --- a/services/reference/polygon-pos/json-rpc-methods/eth_getroothash.md +++ b/services/reference/polygon-pos/json-rpc-methods/eth_getroothash.md @@ -28,7 +28,7 @@ The maximum difference between the specified block range can be 32767. ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getRootHash", "params": [1000, 1032], "id": 1}' @@ -38,7 +38,7 @@ curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getRootHash", "params":[1000, 1032], "id": 1}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getRootHash", "params":[1000, 1032], "id": 1}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index 442bf01adb2..b02b2951e2d 100644 --- a/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics":["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` @@ -20,7 +20,7 @@ wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0 ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' ``` diff --git a/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index e931b155f10..c4efb4c73d6 100644 --- a/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/polygon-pos/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem" ```bash -wscat -c wss://polygon-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://polygon-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/polygon-pos/quickstart.md b/services/reference/polygon-pos/quickstart.md index f0a3970debc..48e62b104b7 100644 --- a/services/reference/polygon-pos/quickstart.md +++ b/services/reference/polygon-pos/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://polygon-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://polygon-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://polygon-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://polygon-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://polygon-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://polygon-mainnet.infura.io/v3/YOUR-API-KEY" + "https://polygon-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://polygon-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://polygon-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/starknet/json-rpc-methods/index.md b/services/reference/starknet/json-rpc-methods/index.md index 605d102cfe7..77356ff0dc1 100644 --- a/services/reference/starknet/json-rpc-methods/index.md +++ b/services/reference/starknet/json-rpc-methods/index.md @@ -12,6 +12,5 @@ The following Starknet methods are not supported: - `starknet_estimateMessageFee` - `starknet_getBlockWithReceipts` - `starknet_getTransactionStatus` -- `starknet_specVersion` - `starknet_traceBlockTransactions` - `starknet_traceTransaction` diff --git a/services/reference/starknet/json-rpc-methods/starknet_adddeclaretransaction.mdx b/services/reference/starknet/json-rpc-methods/starknet_adddeclaretransaction.mdx index c50c871e3f4..f4b9baed07f 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_adddeclaretransaction.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_adddeclaretransaction.mdx @@ -22,7 +22,7 @@ The result of the transaction submission, including: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -30,7 +30,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_adddeployaccounttransaction.mdx b/services/reference/starknet/json-rpc-methods/starknet_adddeployaccounttransaction.mdx index 98b628aa927..b115ed0c3c3 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_adddeployaccounttransaction.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_adddeployaccounttransaction.mdx @@ -22,7 +22,7 @@ The result of the transaction submission, including: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -30,7 +30,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_addinvoketransaction.mdx b/services/reference/starknet/json-rpc-methods/starknet_addinvoketransaction.mdx index 8bb302c2ced..a07b619f55c 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_addinvoketransaction.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_addinvoketransaction.mdx @@ -19,7 +19,7 @@ The result of the transaction submission, containing `transaction_hash`, the has ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -27,7 +27,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_blockhashandnumber.mdx b/services/reference/starknet/json-rpc-methods/starknet_blockhashandnumber.mdx index 39b6d08bce3..1f83e557cd7 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_blockhashandnumber.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_blockhashandnumber.mdx @@ -20,7 +20,7 @@ An object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -28,7 +28,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"starknet_blockHashAndNumber","params":[],"id":0}' diff --git a/services/reference/starknet/json-rpc-methods/starknet_blocknumber.mdx b/services/reference/starknet/json-rpc-methods/starknet_blocknumber.mdx index 9969bc0db8f..cb4ded4d967 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_blocknumber.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_blocknumber.mdx @@ -17,7 +17,7 @@ The latest block number. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -25,7 +25,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"starknet_blockNumber","params":[],"id":0}' diff --git a/services/reference/starknet/json-rpc-methods/starknet_call.mdx b/services/reference/starknet/json-rpc-methods/starknet_call.mdx index 841186e5287..151a910515b 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_call.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_call.mdx @@ -26,7 +26,7 @@ The function's return value. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -34,7 +34,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_chainid.mdx b/services/reference/starknet/json-rpc-methods/starknet_chainid.mdx index 36c2ee50479..f4252bc0107 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_chainid.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_chainid.mdx @@ -17,7 +17,7 @@ The current chain ID in hexadecimal format. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -25,7 +25,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"starknet_chainId", "params":[], "id":0}' diff --git a/services/reference/starknet/json-rpc-methods/starknet_estimatefee.mdx b/services/reference/starknet/json-rpc-methods/starknet_estimatefee.mdx index fa7cf163f40..61b3a521b6a 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_estimatefee.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_estimatefee.mdx @@ -31,7 +31,7 @@ Each fee estimate object contains: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -39,7 +39,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getblocktransactioncount.mdx b/services/reference/starknet/json-rpc-methods/starknet_getblocktransactioncount.mdx index e884247cd24..d7bb1797545 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getblocktransactioncount.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getblocktransactioncount.mdx @@ -21,7 +21,7 @@ Number of transactions in the requested block. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -29,7 +29,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxhashes.mdx b/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxhashes.mdx index fbc85934055..9954425f30a 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxhashes.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxhashes.mdx @@ -37,7 +37,7 @@ A block object or pending block object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -45,7 +45,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxs.mdx b/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxs.mdx index f71deefe311..ac7c87fffcb 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxs.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getblockwithtxs.mdx @@ -37,7 +37,7 @@ A block object or pending block object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -45,7 +45,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getclass.mdx b/services/reference/starknet/json-rpc-methods/starknet_getclass.mdx index a2244d805ee..3e9413e1cd2 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getclass.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getclass.mdx @@ -29,7 +29,7 @@ object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -37,7 +37,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getclassat.mdx b/services/reference/starknet/json-rpc-methods/starknet_getclassat.mdx index 89291bbe971..0c65726b346 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getclassat.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getclassat.mdx @@ -28,7 +28,7 @@ object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -36,7 +36,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getclasshashat.mdx b/services/reference/starknet/json-rpc-methods/starknet_getclasshashat.mdx index 4c81abb16e6..427c18a6507 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getclasshashat.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getclasshashat.mdx @@ -23,7 +23,7 @@ of the requested contract class. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -31,7 +31,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getevents.mdx b/services/reference/starknet/json-rpc-methods/starknet_getevents.mdx index cf55c730d05..772376ab10b 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getevents.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getevents.mdx @@ -35,7 +35,7 @@ An object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -43,7 +43,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getnonce.mdx b/services/reference/starknet/json-rpc-methods/starknet_getnonce.mdx index 29a46377ab0..304d6d5cf34 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getnonce.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getnonce.mdx @@ -21,7 +21,7 @@ The last nonce used for the requested contract. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -29,7 +29,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getstateupdate.mdx b/services/reference/starknet/json-rpc-methods/starknet_getstateupdate.mdx index c675141f178..4f2f78b105b 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getstateupdate.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getstateupdate.mdx @@ -29,7 +29,7 @@ A state update object or pending state update object containing: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -37,7 +37,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_getstorageat.mdx b/services/reference/starknet/json-rpc-methods/starknet_getstorageat.mdx index b3ddf995673..bb91e3984ca 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_getstorageat.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_getstorageat.mdx @@ -23,7 +23,7 @@ Zero (0) is returned if no value is found. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -31,7 +31,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyblockidandindex.mdx b/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyblockidandindex.mdx index f028404425a..1628b48532a 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyblockidandindex.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyblockidandindex.mdx @@ -22,7 +22,7 @@ object. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -30,7 +30,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyhash.mdx b/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyhash.mdx index e641d9d7fca..4ff4612a816 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyhash.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_gettransactionbyhash.mdx @@ -18,7 +18,7 @@ object. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -26,7 +26,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_gettransactionreceipt.mdx b/services/reference/starknet/json-rpc-methods/starknet_gettransactionreceipt.mdx index a07fb42bbcb..8b1e6bd15ac 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_gettransactionreceipt.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_gettransactionreceipt.mdx @@ -18,7 +18,7 @@ receipt object. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -26,7 +26,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_pendingtransactions.mdx b/services/reference/starknet/json-rpc-methods/starknet_pendingtransactions.mdx index cd4f4d4da91..486a0c6e12b 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_pendingtransactions.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_pendingtransactions.mdx @@ -19,7 +19,7 @@ objects. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request diff --git a/services/reference/starknet/json-rpc-methods/starknet_simulatetransactions.mdx b/services/reference/starknet/json-rpc-methods/starknet_simulatetransactions.mdx index 96c8794a700..63dd82115f8 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_simulatetransactions.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_simulatetransactions.mdx @@ -31,7 +31,7 @@ Each transaction result object contains: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -39,7 +39,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{ diff --git a/services/reference/starknet/json-rpc-methods/starknet_specversion.mdx b/services/reference/starknet/json-rpc-methods/starknet_specversion.mdx new file mode 100644 index 00000000000..3b824d82872 --- /dev/null +++ b/services/reference/starknet/json-rpc-methods/starknet_specversion.mdx @@ -0,0 +1,51 @@ +--- +title: "starknet_specVersion" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the version of the Starknet JSON-RPC specification that the client is using. + +## Parameters + +None. + +## Returns + +The current Starknet JSON-RPC specification version. + +## Example + +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + +```bash +curl https://starknet-mainnet.infura.io/v3/ \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc":"2.0","method":"starknet_specVersion","params":[],"id":1}' +``` + + + + +### Response + + + + +```json +{ + "id": 1, + "jsonrpc": "2.0", + "result": "0.5.1" +} +``` + + + diff --git a/services/reference/starknet/json-rpc-methods/starknet_syncing.mdx b/services/reference/starknet/json-rpc-methods/starknet_syncing.mdx index 4798e7860d3..cf7f29a5aef 100644 --- a/services/reference/starknet/json-rpc-methods/starknet_syncing.mdx +++ b/services/reference/starknet/json-rpc-methods/starknet_syncing.mdx @@ -26,7 +26,7 @@ This method returns `false` if the node is not currently syncing state. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -34,7 +34,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"starknet_syncing","params":[],"id":0}' diff --git a/services/reference/starknet/quickstart.md b/services/reference/starknet/quickstart.md index aea5e45ed7f..803bd796cc7 100644 --- a/services/reference/starknet/quickstart.md +++ b/services/reference/starknet/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://starknet-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "starknet_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://starknet-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://starknet-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://starknet-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://starknet-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "starknet_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://starknet-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://starknet-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx index 7c3c99c9306..217c45a723e 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_blocknumber-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_blocknumber-request.mdx index f5d31ef0c0b..af03e35d3df 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_blocknumber-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_blocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_call-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_call-request.mdx index e3fdea83f72..4b4f0c2d4cd 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_call-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_call-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' @@ -15,7 +15,7 @@ import TabItem from "@theme/TabItem"; ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "gas": "0x76c0", "gasPrice": "0x9184e72a000", "value": "0x9184e72a", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_chainid-request.mdx index 9d0bb1f1664..87f58770819 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_chainid-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_chainid-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_estimategas-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_estimategas-request.mdx index f5e058deaf7..e55a9eb35e0 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_estimategas-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_estimategas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0x9cE564c7d09f88E7d8233Cdd3A4d7AC42aBFf3aC", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_feehistory-request.mdx index dbfdbd2a028..f82ac4108aa 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_feehistory-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_feehistory-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]]}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gasprice-request.mdx index cece3571b86..93bf504911b 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_gasprice-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_gasprice-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getbalance-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getbalance-request.mdx index eb8383622a3..c3468aad3e1 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getbalance-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getbalance-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "latest"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getblockbyhash-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getblockbyhash-request.mdx index 647ae6220bc..34563fb5fe9 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getblockbyhash-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", false], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx index 0c52dc4747e..58fd99de5e9 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x5BAD55", false], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx index 77bcd0ba27d..ad9c8ab291c 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx index 8964d68e9cd..f303f88b20b 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["latest"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getcode-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getcode-request.mdx index c817d709e1f..2482a920bfb 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getcode-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getcode-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0x06012c8cf97bead5deae237070f9587f8e7a266d", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getlogs-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getlogs-request.mdx index c5fa347ded1..3bcd4e813bb 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getlogs-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getlogs-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"blockHash": "0x7c5a35e9cb3e8ae0e221ab470abae9d446c3a5626ce6689fc777dcffcab52c70", "topics": ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getproof-request.mdx index 460fe8abb59..61e3df6a864 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getproof-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getproof-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getstorageat-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getstorageat-request.mdx index ed747d4bb79..888cf9bff3d 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getstorageat-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getstorageat-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getStorageAt", "params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx index d9c84731680..7fea7814e0d 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx index a67ebbf4515..40e17d18b42 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockNumberAndIndex", "params": ["0x5BAD55", "0x0"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyhash-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyhash-request.mdx index c6f4ee49bb2..77b20c576a3 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyhash-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_gettransactioncount-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gettransactioncount-request.mdx index a042e23d38b..3f4fa836c56 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_gettransactioncount-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_gettransactionreceipt-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gettransactionreceipt-request.mdx index b1814e102b6..35ae851e18e 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_gettransactionreceipt-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f", "0x5bad55"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx index 38bd6661fb0..8cd20fb6901 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35", "0x0"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx index 7604786c4e9..10f6a7eaf35 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c","0x0"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockNumberAndIndex", "params": ["0x29c", "0x0"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx index 1c94ccb0d05..f01e1afbe3e 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx index d62521eeaa4..463fe80fc6c 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5bad55"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": ["0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_getwork-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getwork-request.mdx index 386cf9e43a6..3277557f6d2 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_getwork-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_getwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_getWork", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_hashrate-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_hashrate-request.mdx index 79e41e06791..5be5f05cb64 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_hashrate-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_hashrate-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_hashrate", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx index a63d344310f..15ebe0d3063 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_mining-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_mining-request.mdx index c941cd9c71f..3b2b6b131a5 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_mining-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_mining-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_mining", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_protocolversion-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_protocolversion-request.mdx index e0fedaffdbd..1b88be2524e 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_protocolversion-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_protocolversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_sendrawtransaction-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_sendrawtransaction-request.mdx index 19fee78a17a..bdbddf67d84 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_sendrawtransaction-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": ["0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_submitwork-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_submitwork-request.mdx index 11b356496a6..997379ae11f 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_submitwork-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_submitwork-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_submitWork", "params": ["0x0000000000000001", "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_syncing-request.mdx index be28c0aeec7..c3f11ed5e79 100644 --- a/services/reference/zksync/json-rpc-methods/_eth_syncing-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_eth_syncing-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_net_listening-request.mdx b/services/reference/zksync/json-rpc-methods/_net_listening-request.mdx index 25e27b6e14b..d01bd04672e 100644 --- a/services/reference/zksync/json-rpc-methods/_net_listening-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_net_listening-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_net_peercount-request.mdx b/services/reference/zksync/json-rpc-methods/_net_peercount-request.mdx index 02d8bdfc2dc..64bba4db1c3 100644 --- a/services/reference/zksync/json-rpc-methods/_net_peercount-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_net_peercount-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_net_version-request.mdx b/services/reference/zksync/json-rpc-methods/_net_version-request.mdx index c57adf53fcc..70f47ce98ef 100644 --- a/services/reference/zksync/json-rpc-methods/_net_version-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_net_version-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/_web3_clientversion-request.mdx b/services/reference/zksync/json-rpc-methods/_web3_clientversion-request.mdx index 0208660d9ba..7e5a5362daf 100644 --- a/services/reference/zksync/json-rpc-methods/_web3_clientversion-request.mdx +++ b/services/reference/zksync/json-rpc-methods/_web3_clientversion-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' @@ -15,7 +15,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params": [], "id": 1}' ``` diff --git a/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx b/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx index c0a1a5d8b75..7913e91eb51 100644 --- a/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx +++ b/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_subscribe-request.mdx @@ -5,14 +5,14 @@ import TabItem from "@theme/TabItem"; ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"]}' ``` ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["logs", {"address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": ["0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902"]}]}' ``` @@ -20,7 +20,7 @@ wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0" ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx b/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx index df7da4cfa9e..a4bb49eef12 100644 --- a/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx +++ b/services/reference/zksync/json-rpc-methods/subscription-methods/_eth_unsubscribe-request.mdx @@ -5,7 +5,7 @@ import TabItem from "@theme/TabItem"; ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_estimatefee.mdx b/services/reference/zksync/json-rpc-methods/zks_estimatefee.mdx index 5f413d2810a..76f7665b2cb 100644 --- a/services/reference/zksync/json-rpc-methods/zks_estimatefee.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_estimatefee.mdx @@ -24,7 +24,7 @@ The estimated fee which includes: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -32,7 +32,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateFee", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' @@ -41,7 +41,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateFee", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateFee", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx b/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx index 0c407071628..bdd74688ca9 100644 --- a/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx @@ -19,7 +19,7 @@ The estimate of the gas required for a L1 to L2 transaction. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -27,7 +27,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateGasL1ToL2", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' @@ -36,7 +36,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateGasL1ToL2", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateGasL1ToL2", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx b/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx index a6816f4d9ae..27f7ecfd57b 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx @@ -17,7 +17,7 @@ The method returns all balances for confirmed tokens associated with the provide ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -25,7 +25,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getAllAccountBalances", "params": [ "0x98E9D288743839e96A8005a6B51C770Bbf7788C0" ]}' @@ -34,7 +34,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getAllAccountBalances", "params": [ "0x98E9D288743839e96A8005a6B51C770Bbf7788C0" ]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getAllAccountBalances", "params": [ "0x98E9D288743839e96A8005a6B51C770Bbf7788C0" ]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx b/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx index 3ed19f7884a..74dc3bfee85 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx @@ -38,7 +38,7 @@ Object containing the details of the L2 block: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -46,7 +46,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBlockDetails", "params": [ 140599 ]}' @@ -55,7 +55,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBlockDetails", "params": [ 140599 ]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBlockDetails", "params": [ 140599 ]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx b/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx index 041a8fbbc00..f20a7f4b662 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx @@ -22,7 +22,7 @@ The default bridges used in the ZKsync network: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -30,7 +30,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBridgeContracts", "params": []}' @@ -39,7 +39,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBridgeContracts", "params": []}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBridgeContracts", "params": []}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx b/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx index d4a0fef6077..da9486f82b4 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx @@ -17,7 +17,7 @@ The byte code of the given transaction. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -25,7 +25,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBytecodeByHash", "params": ["0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc"]}' @@ -34,7 +34,7 @@ curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBytecodeByHash", "params": ["0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBytecodeByHash", "params": ["0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx b/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx index b4c73214075..36a65d886cc 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx @@ -18,7 +18,7 @@ beginning/end block numbers in hexadecimal. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -26,7 +26,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchBlockRange", "params": [12345]}' @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchBlockRange", "params": [12345]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchBlockRange", "params": [12345]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx b/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx index d715dc0ed2b..fbbebf07cd3 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx @@ -37,7 +37,7 @@ Detailed information about the specified L1 batch: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -45,7 +45,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchDetails", "params": [12345]}' @@ -54,7 +54,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchDetails", "params": [12345]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchDetails", "params": [12345]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx b/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx index 10d886ea483..66b20a80dc1 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx @@ -22,7 +22,7 @@ from the transaction receipt. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -30,7 +30,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1LogProof", "params": ["0x2a1c6c74b184965c0cb015aae9ea134fd96215d2e4f4979cfec12563295f610e"]}' @@ -39,7 +39,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1LogProof", "params": ["0x2a1c6c74b184965c0cb015aae9ea134fd96215d2e4f4979cfec12563295f610e"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1LogProof", "params": ["0x2a1c6c74b184965c0cb015aae9ea134fd96215d2e4f4979cfec12563295f610e"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx b/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx index 84e9767275b..76dba122788 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx @@ -24,7 +24,7 @@ block, sender, message, and an optional message log index containing the L1 to L ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -32,7 +32,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1MsgProof", "params": [5187, "0x87869cb87c4Fa78ca278dF358E890FF73B42a39E", "0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' @@ -41,7 +41,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1MsgProof", "params": [5187, "0x87869cb87c4Fa78ca278dF358E890FF73B42a39E", "0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1MsgProof", "params": [5187, "0x87869cb87c4Fa78ca278dF358E890FF73B42a39E", "0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx b/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx index 910ce2d48ca..418a7adec0d 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx @@ -18,7 +18,7 @@ The address of the main ZKsync Era contract on the network. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -26,7 +26,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getMainContract", "params": []}' @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getMainContract", "params": []}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getMainContract", "params": []}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getproof.mdx b/services/reference/zksync/json-rpc-methods/zks_getproof.mdx index 9a22be2c129..0cf9ffd0d56 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getproof.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getproof.mdx @@ -27,7 +27,7 @@ of their authenticity. This allows you to verify that the values have not been t ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getProof", "params": ["0x0000000000000000000000000000000000008003", ["0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12"], 354895]}' @@ -44,7 +44,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getProof", "params": ["0x0000000000000000000000000000000000008003", ["0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12"], 354895]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getProof", "params": ["0x0000000000000000000000000000000000008003", ["0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12"], 354895]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx b/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx index bcf7d19e6ca..2e82ec456c9 100644 --- a/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx @@ -40,7 +40,7 @@ Object containing the data about the executed transaction: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -48,7 +48,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getRawBlockTransactions", "params": [5817]}' @@ -57,7 +57,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getRawBlockTransactions", "params": [5817]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getRawBlockTransactions", "params": [5817]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx b/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx index 73718554b4e..728ba5f2801 100644 --- a/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx @@ -18,7 +18,7 @@ The address of the testnet paymaster. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -26,7 +26,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-sepolia.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-sepolia.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": []}' @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-sepolia.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": []}' +wscat -c wss://zksync-sepolia.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": []}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx b/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx index 317ce4dafc8..334715a0dd1 100644 --- a/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx @@ -27,7 +27,7 @@ Object containing the transaction data: ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTransactionDetails", "params": ["0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' @@ -45,7 +45,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTransactionDetails", "params": ["0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTransactionDetails", "params": ["0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx b/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx index 0f13e9ddd4c..b227f435518 100644 --- a/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx @@ -18,7 +18,7 @@ The latest L1 batch number in hexidecimal format. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request @@ -26,7 +26,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1BatchNumber", "params": []}' @@ -35,7 +35,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1BatchNumber", "params": []}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1BatchNumber", "params": []}' ``` diff --git a/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx b/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx index 1b34cf2a19e..a93142c677d 100644 --- a/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx +++ b/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx @@ -18,14 +18,14 @@ The L1 chain ID. ## Example -Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). +Replace `` with an API key from your [Infura dashboard](https://infura.io/dashboard). ### Request ```bash - curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1ChainId", "params": []}' @@ -34,7 +34,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu ```bash -wscat -c wss://zksync-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1ChainId", "params": []}' +wscat -c wss://zksync-mainnet.infura.io/ws/v3/ -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1ChainId", "params": []}' ``` diff --git a/services/reference/zksync/quickstart.md b/services/reference/zksync/quickstart.md index aa68ff5fbea..60451c3da60 100644 --- a/services/reference/zksync/quickstart.md +++ b/services/reference/zksync/quickstart.md @@ -21,10 +21,10 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### cURL -Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: +Run the following command in your terminal, replacing `` with your actual Infura API key: ```bash -curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ +curl https://zksync-mainnet.infura.io/v3/ \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}' @@ -44,12 +44,12 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" import fetch from "node-fetch" - fetch("https://zksync-mainnet.infura.io/v3/YOUR-API-KEY", { + fetch("https://zksync-mainnet.infura.io/v3/", { method: "POST", headers: { "Content-Type": "application/json", @@ -86,13 +86,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const axios = require("axios") axios - .post("https://zksync-mainnet.infura.io/v3/YOUR-API-KEY", { + .post("https://zksync-mainnet.infura.io/v3/", { jsonrpc: "2.0", method: "eth_blockNumber", params: [], @@ -122,13 +122,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your JavaScript file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```javascript title="index.js" const ethers = require("ethers") const provider = new ethers.providers.JsonRpcProvider( - "https://zksync-mainnet.infura.io/v3/YOUR-API-KEY" + "https://zksync-mainnet.infura.io/v3/" ) provider @@ -157,13 +157,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. Create your Python file and copy the following code: - Replace `YOUR-API-KEY` with your actual Infura API key. + Replace `` with your actual Infura API key. ```python title="index.py" import requests import json - url = "https://zksync-mainnet.infura.io/v3/YOUR-API-KEY" + url = "https://zksync-mainnet.infura.io/v3/" payload = { "jsonrpc": "2.0", diff --git a/services/tutorials/ethereum/authenticate-with-jwt.md b/services/tutorials/ethereum/authenticate-with-jwt.md new file mode 100644 index 00000000000..e58e609d9de --- /dev/null +++ b/services/tutorials/ethereum/authenticate-with-jwt.md @@ -0,0 +1,375 @@ +--- +description: Apply a JWT to authenticate an API request. +sidebar_position: 1 +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + +# Authenticate with JWT + +This tutorial demonstrates how to create and apply a JSON Web Token (JWT) to authenticate an +[`eth_blockNumber`](../../api/networks/ethereum/json-rpc-methods/eth_blocknumber.mdx) API request +with Node.js. + +Developers can configure the expiry time and scope of JWTs to enhance the security profile of their dapps. + +## Prerequisites + +- [Node](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) version 20+ +- A text editor (for example, [VS Code](https://code.visualstudio.com/)) +- An [Infura account](https://app.infura.io/register) + +## Steps + +### 1. Initiate your project + +Create a new directory for your project: + +```bash +mkdir infura-jwt-demo +``` + +Next, change into the `infura-jwt-demo` directory: + +```bash +cd infura-jwt-demo +``` + +Initialize a new Node.js project: + +```bash +npm init -y +``` + +Install the required dependencies: + +```bash +npm install axios jsonwebtoken dotenv +``` + +### 2. Create a key pair + +#### 2.1. Generate your private key + +Generate your private key using the RSA (PKCS #8) or ES256 algorithm: + + + + +```bash +openssl genpkey \ + -algorithm RSA \ + -out private_key.pem \ + -pkeyopt rsa_keygen_bits:2048 \ + -outform PEM + ``` + + + + +```bash +openssl ecparam \ + -genkey \ + -name prime256v1 \ + -noout \ + -out private_key.pem +``` + + + + +#### 2.2. Generate your public key + +Generate your public key from your RSA or ES256 private key: + + + + +```bash +openssl rsa \ + -in private_key.pem \ + -pubout \ + -out public_key.pem +``` + + + + +```bash +openssl ec \ + -in private_key.pem \ + -pubout \ + -out public_key.pem +``` + + + + +### 3. Set up your `.env` file + +#### 3.1. Update the Infura dashboard + +In the [Infura dashboard](https://app.infura.io/), under **API Keys**, select the key you want to use for authentication. Go to its **Settings** tab. Under **Requirements**, fill out these fields: + +- **JWT PUBLIC KEY NAME** - Provide a unique name for your JWT public key, which can help you manage multiple keys. +- **JWT PUBLIC KEY** - Paste the entire contents of the `public_key.pem` file. + +:::note + +Optionally, you can check **REQUIRE JWT FOR ALL REQUESTS**. If this option is not checked, you can make calls using your key without a JWT in the request header, however, invalid or expired tokens will result in the call being rejected. + +::: + +#### 3.2. Create your `.env` file + +At the root of your Node.js project, create an environment file: + +```bash +touch .env +``` + +Add the following details to `.env`: + + + + +```text title=".env" +INFURA_API_KEY= +JWT_KEY_ID= +INFURA_NETWORK_URL= +``` + + + + +```text title=".env" +INFURA_API_KEY=8c101...6b26c77d8 +JWT_KEY_ID=777e2caf...826bc4303f +INFURA_NETWORK_URL=https://sepolia.infura.io/v3/ +``` + + + + +Replace the following values in the `.env` file: + +- `` with your API key from the Infura dashboard. +- `` with the JWT's key ID. This is generated by Infura, and you can find it in the Infura dashboard. The code in [Step 4](#4-create-and-apply-your-jwt) applies this ID to the JWT header to allow Infura to identify which key was used to sign the JWT. +- `` with the URL of an Infura network for which your key has access rights, and that supports the method [`eth_blockNumber`](../../api/networks/ethereum/json-rpc-methods/eth_blocknumber.mdx). + +:::warning Important + +Before pushing code to a public repository, add `.env` to your `.gitignore` file. This reduces the likelihood that keys are exposed in public repositories. + +Note that `.gitignore` ignores only untracked files. If your `.env` file was committed in the past, it's tracked by Git. Untrack the file by deleting it and running `git rm --cached .env`, then include it in `.gitignore`. + +::: + +### 4. Create and apply your JWT + +Create a new file named `call.js`: + +```bash +touch call.js +``` + +Add the following to `call.js`: + +```javascript title="call.js" +require("dotenv").config(); +const axios = require("axios"); +const jwt = require("jsonwebtoken"); +const fs = require("fs"); + +function getAlgorithm(privateKey) { + if (privateKey.includes("BEGIN RSA PRIVATE KEY") || privateKey.includes("BEGIN PRIVATE KEY")) { + return "RS256"; + } else if (privateKey.includes("BEGIN EC PRIVATE KEY")) { + return "ES256"; + } else { + throw new Error("Unsupported key type"); + } +} + +// Function to generate the JWT +function generateJWT() { + const privateKey = fs.readFileSync("private_key.pem", "utf8"); + const algorithm = getAlgorithm(privateKey); + const token = jwt.sign( + {}, + privateKey, + { + algorithm: algorithm, // Dynamically set the algorithm based on the key type + keyid: process.env.JWT_KEY_ID, + audience: "infura.io", + expiresIn: "1h", + header: { + typ: "JWT" + } + } + ); + + return token; +} + +// Function to authenticate with Infura and get the latest block number +async function getBlockNumber() { + const jwtToken = generateJWT(); + const url = `${process.env.INFURA_NETWORK_URL}${process.env.INFURA_API_KEY}`; + const data = { + jsonrpc: "2.0", + method: "eth_blockNumber", + params: [], + id: 1 + }; + + try { + const response = await axios.post(url, data, { + headers: { + Authorization: "Bearer " + jwtToken, + "Content-Type": "application/json" + } + }); + console.log("Block number:", response.data.result); + } catch (error) { + console.error("Error fetching block number:", error.response ? error.response.data : error.message); + } +} + +// Call the function to get latest block +getBlockNumber(); +``` + +Next, run the code: + +```bash +node call.js +``` + +Your console outputs the response, for example: + +```bash +Block number: 0x61fc48 +``` + +:::tip + +This script: +1. Generates a JWT with a 1 hour expiry that is only valid on `infura.io`. +2. Applies this JWT to form the header of a `getBlockNumber` call. +3. Submits the API call. + +::: + +### (Optional) Examine the curl equivalent + +If you want to better understand the code applied in [Step 4](#4-create-and-apply-your-jwt), you can examine the equivalent curl request. + +Create a new file named `curl.js`: + +```bash +touch curl.js +``` + +Add the following to `curl.js`: + +```javascript title="curl.js" +require("dotenv").config(); +const jwt = require("jsonwebtoken"); +const fs = require("fs"); + +function getAlgorithm(privateKey) { + if (privateKey.includes("BEGIN RSA PRIVATE KEY") || privateKey.includes("BEGIN PRIVATE KEY")) { + return "RS256"; + } else if (privateKey.includes("BEGIN EC PRIVATE KEY")) { + return "ES256"; + } else { + throw new Error("Unsupported key type"); + } +} + +// Function to generate the JWT +function generateJWT() { + const privateKey = fs.readFileSync("private_key.pem", "utf8"); + const algorithm = getAlgorithm(privateKey); + const token = jwt.sign( + {}, + privateKey, + { + algorithm: algorithm, // Dynamically set the algorithm based on the key type + keyid: process.env.JWT_KEY_ID, + audience: "infura.io", + expiresIn: "1h", + header: { + typ: "JWT" + } + } + ); + return token; +} + +// Generate the JWT and print the curl command +async function printCurlRequest() { + const jwtToken = generateJWT(); + console.log("Generated JWT:", jwtToken); + const curlRequest = ` + curl -X POST ${process.env.INFURA_NETWORK_URL}${process.env.INFURA_API_KEY} \\ + -H "Authorization: Bearer ${jwtToken}" \\ + -H "Content-Type: application/json" \\ + -d '{ + "jsonrpc": "2.0", + "method": "eth_blockNumber", + "params": [], + "id": 1 + }' + `; + console.log("Equivalent curl request:"); + console.log(curlRequest); +} + +// Call the function to print the curl request +printCurlRequest(); +``` + +Next, run the code: + +```bash +node curl.js +``` + +Your console outputs the curl request, for example: + +```bash +curl -X POST https://sepolia.infura.io/v3/ \ + -H "Authorization: Bearer pqJhbG**JWT-token**2Ud5o2Q" \ + -H "Content-Type: application/json" \ + -d '{ + "jsonrpc": "2.0", + "method": "eth_blockNumber", + "params": [], + "id": 1 + }' +``` + +You can run this request yourself to make the call. Your console outputs the response, for example: + +```bash +{"jsonrpc":"2.0","id":1,"result":"0x61fc48"} +``` + +## Next steps + +Consider following these next steps: + +- [Configure your JWT](../../how-to/json-web-token-jwt.md) to control its scope. + +- Decode your JWT: Copy the JWT provided in the console by the [optional curl equivalent step](#optional-examine-the-curl-equivalent), and paste it into the **Encoded** field in [jwt.io](https://jwt.io/). +- Add a layer of verification to your call by applying the JWT's **FINGERPRINT** provided in the Infura dashboard. + + :::note + + The JWT's fingerprint is a hash of the public key, used to ensure the key's integrity and authenticity. + + ::: diff --git a/services/tutorials/ethereum/call-a-contract.md b/services/tutorials/ethereum/call-a-contract.md index ce41c9fc8f8..26aedcae07e 100644 --- a/services/tutorials/ethereum/call-a-contract.md +++ b/services/tutorials/ethereum/call-a-contract.md @@ -1,6 +1,6 @@ --- description: Use Web3.js to execute a smart contract function. -sidebar_position: 2 +sidebar_position: 3 --- # Call a contract diff --git a/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md b/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md index eeb74d21ede..1a7894d15ad 100644 --- a/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md +++ b/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md @@ -1,6 +1,6 @@ --- description: Create and deploy a smart contract. -sidebar_position: 1 +sidebar_position: 2 --- # Deploy a contract using web3.js diff --git a/services/tutorials/ethereum/monitor-transfers-using-python.md b/services/tutorials/ethereum/monitor-transfers-using-python.md index 0f460c095f3..36e965bf717 100644 --- a/services/tutorials/ethereum/monitor-transfers-using-python.md +++ b/services/tutorials/ethereum/monitor-transfers-using-python.md @@ -1,6 +1,6 @@ --- description: Monitor transfers to an Ethereum account. -sidebar_position: 3 +sidebar_position: 4 --- import Tabs from "@theme/Tabs"; diff --git a/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md b/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md index 16916786aae..1aeaaea85f6 100644 --- a/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md +++ b/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md @@ -1,6 +1,6 @@ --- description: Retrieve and display ERC-721 and ERC-1155 tokens. -sidebar_position: 4 +sidebar_position: 5 --- import Tabs from "@theme/Tabs"; diff --git a/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md b/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md index 0cf925cad6a..66b9544ea3d 100644 --- a/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md +++ b/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md @@ -1,6 +1,6 @@ --- description: Retrieve the balance of an ERC-20 token. -sidebar_position: 5 +sidebar_position: 6 --- import Tabs from "@theme/Tabs"; diff --git a/services/tutorials/ethereum/send-a-transaction/_category_.json b/services/tutorials/ethereum/send-a-transaction/_category_.json index 8af87ddd618..bef04a26aae 100644 --- a/services/tutorials/ethereum/send-a-transaction/_category_.json +++ b/services/tutorials/ethereum/send-a-transaction/_category_.json @@ -2,6 +2,7 @@ "label": "Send transactions", "collapsible": true, "collapsed": true, + "position": 11, "link": { "type": "generated-index", "slug": "tutorials/ethereum/send-a-transaction", diff --git a/services/tutorials/ethereum/send-erc-20-token-rust.md b/services/tutorials/ethereum/send-erc-20-token-rust.md index 6482fd48a3b..1b37cdb88fb 100644 --- a/services/tutorials/ethereum/send-erc-20-token-rust.md +++ b/services/tutorials/ethereum/send-erc-20-token-rust.md @@ -1,6 +1,6 @@ --- description: A tutorial for sending ERC-20 tokens. -sidebar_position: 6 +sidebar_position: 7 --- # Send an ERC-20 token diff --git a/services/tutorials/ethereum/subscribe-to-pending-transactions.md b/services/tutorials/ethereum/subscribe-to-pending-transactions.md index 1cebebc6880..501933ed030 100644 --- a/services/tutorials/ethereum/subscribe-to-pending-transactions.md +++ b/services/tutorials/ethereum/subscribe-to-pending-transactions.md @@ -1,6 +1,6 @@ --- description: Listen for new transactions on the blockchain. -sidebar_position: 7 +sidebar_position: 8 --- # Subscribe to pending transactions diff --git a/services/tutorials/ethereum/track-erc-20-token-transfers.md b/services/tutorials/ethereum/track-erc-20-token-transfers.md index 707079309ba..89d39f17835 100644 --- a/services/tutorials/ethereum/track-erc-20-token-transfers.md +++ b/services/tutorials/ethereum/track-erc-20-token-transfers.md @@ -1,6 +1,6 @@ --- description: Track ERC-20 token transfers. -sidebar_position: 8 +sidebar_position: 9 --- import Tabs from "@theme/Tabs"; diff --git a/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md b/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md index ce0ec353f4e..98cc1b7a7f9 100644 --- a/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md +++ b/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md @@ -1,6 +1,6 @@ --- description: Track ERC-721 and ERC-1155 token transfers. -sidebar_position: 9 +sidebar_position: 10 --- import Tabs from "@theme/Tabs"; diff --git a/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/_category_.json b/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/_category_.json index 6ba8030e2a2..42e6ac0d168 100644 --- a/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/_category_.json +++ b/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/_category_.json @@ -2,6 +2,7 @@ "label": "Use Infura as a reverse proxy", "collapsible": true, "collapsed": true, + "position": 12, "link": { "type": "generated-index", "slug": "tutorials/ethereum/use-infura-as-a-reverse-proxy", diff --git a/snaps/assets/custom-ui-checkbox.png b/snaps/assets/custom-ui-checkbox.png new file mode 100644 index 00000000000..ff803115f84 Binary files /dev/null and b/snaps/assets/custom-ui-checkbox.png differ diff --git a/snaps/assets/custom-ui-file-input.png b/snaps/assets/custom-ui-file-input.png new file mode 100644 index 00000000000..7f69567c543 Binary files /dev/null and b/snaps/assets/custom-ui-file-input.png differ diff --git a/snaps/assets/custom-ui-heading.png b/snaps/assets/custom-ui-heading.png index b37b4123215..8aee9f21cc8 100644 Binary files a/snaps/assets/custom-ui-heading.png and b/snaps/assets/custom-ui-heading.png differ diff --git a/snaps/assets/custom-ui-icon.png b/snaps/assets/custom-ui-icon.png new file mode 100644 index 00000000000..ef6dbe6a3d6 Binary files /dev/null and b/snaps/assets/custom-ui-icon.png differ diff --git a/snaps/assets/custom-ui-radio-group.png b/snaps/assets/custom-ui-radio-group.png new file mode 100644 index 00000000000..0004c04f538 Binary files /dev/null and b/snaps/assets/custom-ui-radio-group.png differ diff --git a/snaps/assets/custom-ui-selector.png b/snaps/assets/custom-ui-selector.png new file mode 100644 index 00000000000..dc6d9a44571 Binary files /dev/null and b/snaps/assets/custom-ui-selector.png differ diff --git a/snaps/assets/custom-ui-tooltip.png b/snaps/assets/custom-ui-tooltip.png new file mode 100644 index 00000000000..6a1e00b1b58 Binary files /dev/null and b/snaps/assets/custom-ui-tooltip.png differ diff --git a/snaps/assets/home-page.png b/snaps/assets/home-page.png index 7b07f72d8f3..8aee9f21cc8 100644 Binary files a/snaps/assets/home-page.png and b/snaps/assets/home-page.png differ diff --git a/snaps/assets/notifications-1.png b/snaps/assets/notifications-1.png index 5c678e5cb64..c812b1dd71e 100644 Binary files a/snaps/assets/notifications-1.png and b/snaps/assets/notifications-1.png differ diff --git a/snaps/assets/notifications-2.png b/snaps/assets/notifications-2.png index ae41c60d9ae..6ecce445789 100644 Binary files a/snaps/assets/notifications-2.png and b/snaps/assets/notifications-2.png differ diff --git a/snaps/features/custom-name-resolution.md b/snaps/features/custom-name-resolution.md index 79854b782fb..2b012b53c6e 100644 --- a/snaps/features/custom-name-resolution.md +++ b/snaps/features/custom-name-resolution.md @@ -1,15 +1,10 @@ --- description: Resolve names to addresses and vice versa. sidebar_position: 3 -sidebar_custom_props: - flask_only: true --- # Custom name resolution -:::flaskOnly -::: - You can implement custom domain resolution and reverse resolution using the following steps. ## Steps @@ -28,6 +23,20 @@ For example, to resolve Ethereum Mainnet domains, add the following to your Snap } ``` +If you're only targeting specific TLDs or schemes, you can use the `matchers` property to reduce +overhead by specifying the TLDs and schemes you support. To target specific TLDs (for example, `my-domain.crypto`), +use the `tlds` property. To target specific schemes (for example, `farcaster:my-user`), use the `schemes` property. +At least one of these properties must be specified if `matchers` is specified. + +```json title="snap.manifest.json" +"initialPermissions": { + "endowment:name-lookup": { + "chains": ["eip155:1"], + "matchers": { "tlds": ["crypto"], "schemes": ["farcaster"] } + } +} +``` + ### 2. Implement custom name resolution Expose an [`onNameLookup`](../reference/entry-points.md#onnamelookup) entry point, which receives a @@ -58,7 +67,7 @@ export const onNameLookup: OnNameLookupHandler = async (request) => { if (address) { return { resolvedAddresses: [ - { resolvedAddress, protocol: "Unstoppable Domains" }, + { resolvedAddress, protocol: "Unstoppable Domains", domainName: domain }, ], } } @@ -68,6 +77,12 @@ export const onNameLookup: OnNameLookupHandler = async (request) => { } ``` +:::note +The response from the `onNameLookup` handler includes a `domainName` property. This can +be used to do fuzzy matching on domain names, by returning the domain that was resolved rather than +the one that was passed in. +::: + ## Example See the [`@metamask/name-lookup-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/name-lookup) diff --git a/snaps/features/custom-ui/dialogs.md b/snaps/features/custom-ui/dialogs.md index 80831ad3d30..0cd167e7290 100644 --- a/snaps/features/custom-ui/dialogs.md +++ b/snaps/features/custom-ui/dialogs.md @@ -3,9 +3,6 @@ description: Display custom alert, confirmation, or prompt screens in MetaMask. sidebar_position: 2 --- -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - # Dialogs You can display a dialog in the MetaMask UI using the @@ -38,9 +35,6 @@ To display an alert that can only be acknowledged, call [`snap_dialog`](../../reference/snaps-api.md#snap_dialog) with `type: "alert"`. The following example displays custom UI that alerts the user when something happens in the system: - - - ```tsx title="index.tsx" import { Box, Text, Heading } from "@metamask/snaps-sdk/jsx"; @@ -60,30 +54,6 @@ await snap.request({ // Code that should execute after the alert has been acknowledged. ``` - - - -```javascript title="index.js" -import { panel, text, heading } from "@metamask/snaps-sdk" - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: panel([ - heading("Something happened in the system"), - text("The thing that happened is..."), - ]), - }, -}) - -// Code that should execute after the alert has been acknowledged. -``` - - - - -

Alert dialog example

@@ -95,9 +65,6 @@ To display a confirmation that can be accepted or rejected, call The following example displays custom UI that asks the user to confirm whether they would like to take an action: - - - ```tsx title="index.tsx" import { Box, Text, Heading } from "@metamask/snaps-sdk/jsx"; @@ -119,31 +86,6 @@ if (result === true) { } ``` - - - -```javascript title="index.js" -import { panel, text, heading } from "@metamask/snaps-sdk" - -const result = await snap.request({ - method: "snap_dialog", - params: { - type: "confirmation", - content: panel([ - heading("Would you like to take the action?"), - text("The action is..."), - ]), - }, -}) - -if (result === true) { - // Do the action. -} -``` - - - -

Confirmation dialog example

@@ -156,9 +98,6 @@ Prompt dialogs also accept a `placeholder` value that displays in the input fiel The following example displays custom UI that prompts the user to enter a wallet address: - - - ```tsx title="index.tsx" import { Box, Text, Heading } from "@metamask/snaps-sdk/jsx"; @@ -179,30 +118,6 @@ const walletAddress = await snap.request({ // walletAddress will be a string containing the address entered by the user. ``` - - - -```javascript title="index.js" -import { panel, text, heading } from "@metamask/snaps-sdk" - -const walletAddress = await snap.request({ - method: "snap_dialog", - params: { - type: "prompt", - content: panel([ - heading("What is the wallet address?"), - text("Please enter the wallet address to be monitored"), - ]), - placeholder: "0x123...", - }, -}) - -// walletAddress will be a string containing the address entered by the user. -``` - - - -

Prompt dialog example

diff --git a/snaps/features/custom-ui/home-pages.md b/snaps/features/custom-ui/home-pages.md index 7fd7fe0285f..fe6555b7f82 100644 --- a/snaps/features/custom-ui/home-pages.md +++ b/snaps/features/custom-ui/home-pages.md @@ -3,9 +3,6 @@ description: Display a dedicated UI page in MetaMask for your Snap. sidebar_position: 3 --- -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - # Home pages You can display a dedicated UI, or "home page," for your Snap within MetaMask. @@ -35,9 +32,6 @@ MetaMask calls this method when a user selects your Snap name in the Snaps menu. The following example displays custom UI that welcomes the user to the Snap's home page: - - - ```tsx title="index.tsx" import type { OnHomePageHandler } from "@metamask/snaps-sdk"; import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; @@ -54,26 +48,6 @@ export const onHomePage: OnHomePageHandler = async () => { }; ``` - - - -```typescript title="index.ts" -import type { OnHomePageHandler } from "@metamask/snaps-sdk" -import { panel, text, heading } from "@metamask/snaps-sdk" - -export const onHomePage: OnHomePageHandler = async () => { - return { - content: panel([ - heading("Hello world!"), - text("Welcome to my Snap home page!"), - ]), - } -} -``` - - - -

Home page example

diff --git a/snaps/features/custom-ui/index.md b/snaps/features/custom-ui/index.md index 517e9c23f4f..02d544ef6f4 100644 --- a/snaps/features/custom-ui/index.md +++ b/snaps/features/custom-ui/index.md @@ -1,16 +1,11 @@ --- -description: Display custom user interface components. +description: Display custom user interface components using JSX. sidebar_position: 4 --- # Custom UI -:::caution -This version of custom UI is deprecated. If you're building a new Snaps project, -use [custom UI with JSX](./with-jsx). JSX is supported in MetaMask Extension and Flask version 12+. -::: - -You can display custom user interface (UI) components using the +You can display custom user interface (UI) JSX components using the [`@metamask/snaps-sdk`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-sdk) module when implementing the following features: @@ -19,6 +14,10 @@ implementing the following features: - [Transaction insights](../transaction-insights.md) - [Signature insights](../signature-insights.md) +:::note +JSX is supported in the MetaMask extension and Flask version 12 and later. New UI components will be added as JSX components. The previous function-based library is deprecated. +::: + To use custom UI, first install [`@metamask/snaps-sdk`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-sdk) using the following command: @@ -27,49 +26,57 @@ yarn add @metamask/snaps-sdk ``` Then, whenever you're required to return a custom UI component, import the components from the -SDK and build your UI with them. -For example, to display a [`panel`](#panel) using [`snap_dialog`](../../reference/snaps-api.md#snap_dialog): +SDK at `@metamask/snaps-sdk/jsx` and build your UI with them. +For example, to display a [`Box`](#box) using [`snap_dialog`](../../reference/snaps-api.md#snap_dialog): -```javascript title="index.js" -import { panel, heading, text } from "@metamask/snaps-sdk" +```javascript title="index.jsx" +import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; await snap.request({ method: "snap_dialog", params: { type: "alert", - content: panel([ - heading("Alert heading"), - text("Something happened in the system."), - ]), + content: ( + + Alert heading + Something happened in the system. + + ), }, -}) +}); ``` +:::note +JSX can only be used in `.jsx` or `.tsx` files. +::: + ## Components The following custom UI components are available: -### `address` +### `Address` -Outputs a formatted text field for an Ethereum address. -The address is automatically displayed with a jazzicon and truncated value. +Outputs a formatted text field for an Ethereum address. +The address is automatically displayed with a jazzicon and truncated value. Hovering the address shows the full value in a tooltip. #### Example -```javascript title="index.js" -import { panel, heading, address } from "@metamask/snaps-sdk" +```javascript title="index.jsx" +import { Box, Heading, Address } from "@metamask/snaps-sdk/jsx"; await snap.request({ method: "snap_dialog", params: { type: "alert", - content: panel([ - heading("Are you sure you want to send tokens to this address?"), - address("0x000000000000000000000000000000000000dEaD"), - ]), + content: ( + + Are you sure you want to send tokens to this address? +
+ + ), }, -}) +}); ```
@@ -81,41 +88,106 @@ await snap.request({
-### `button` +### `Bold` + +Outputs bold text. + +#### Example + +```javascript title="index.jsx" +import { Box, Heading, Text, Bold } from "@metamask/snaps-sdk/jsx"; + +await snap.request({ + method: "snap_dialog", + params: { + type: "alert", + content: ( + + Hello world! + + This is bold. + + + ), + }, +}); +``` + +### `Box` + +Outputs a box, which can be used as a container for other components. + +#### Props + +- `direction` - (Optional) The direction in which elements flow inside the box. + Possible values are `"horizontal"` and `"vertical"`. + The default is `"vertical"`. +- `alignment` - (Optional) The alignment of the elements inside the box. + Possible values are `"start"`, `"center"`, `"end"`, `"space-between"`, and `"space-around"`. + The default is `"start"`. + +#### Example + +```javascript title="index.jsx" +import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; + +module.exports.onHomePage = async () => { + return { + content: ( + + Features + + Feature 1 + Feature 2 + Feature 3 + + + ), + }; +}; +``` + +

+Box UI example +

+ +### `Button` Outputs a button that the user can select. For use in [interactive UI](interactive-ui.md). -#### Parameters - -An object containing: +#### Props -- `value`: `string` - The text of the button. -- `buttonType`: `string` - (Optional) Possible values are `button` or `submit`. - The default is `button`. +- `children` - The contents of the button. + This can be text, an [`Image`](#image) component, or an [`Icon`](#icon) component. +- `type` - (Optional) The type of button. + Possible values are `"button"` and `"submit"`. + The default is `"button"`. - `name`: `string` - (Optional) The name that will be sent to [`onUserInput`](../../reference/entry-points.md#onuserinput) when a user selects the button. - `variant` - (Optional) Determines the appearance of the button. - Possible values are `primary` or `secondary`. - The default is `primary`. + Possible values are `"primary"` and `"destructive"`. + The default is `"primary"`. #### Example ```javascript -import { button, panel, heading } from "@metamask/snaps-sdk" +import { Box, Heading, Button } from "@metamask/snaps-sdk/jsx"; const interfaceId = await snap.request({ method: "snap_createInterface", params: { - ui: panel([ - heading("Interactive interface"), - button({ - value: "Click me", - name: "interactive-button", - }), - ]), + ui: ( + + Interactive interface + + + ), }, -}) +}); await snap.request({ method: "snap_dialog", @@ -123,55 +195,99 @@ await snap.request({ type: "Alert", id: interfaceId, }, -}) +}); + ```

Button UI example

-### `copyable` +### `Checkbox` + +Outputs a checkbox for use in [interactive UI](interactive-ui.md). + +#### Props + +- `name`: `string` - The name sent to [`onUserInput`](../../reference/entry-points.md#onuserinput). +- `checked`: `boolean` - (Optional) Whether the checkbox is checked. +- `label`: `string` - (Optional) The label for the checkbox. +- `variant` - (Optional) The variant of the checkbox. + Possible values are `"default"` and `"toggle"`. + The default is `"default"`. + +#### Example + +```js +import { Checkbox } from "@metamask/snaps-sdk/jsx"; + +const interfaceId = await snap.request({ + method: "snap_createInterface", + params: { + ui: ( + + + + + ), + }, +}); +``` + +

+Checkbox UI example +

+ +### `Copyable` Outputs a read-only text field with a copy-to-clipboard shortcut. +#### Props + +- `value`: `string` - The value to copy when the user clicks on the copyable element. +- `sensitive`: `boolean` - (Optional) Indicates whether the value is sensitive. If `true`, the value will be hidden when the user is not interacting with the copyable element. + #### Example -```javascript title="index.js" -import { text, copyable } from "@metamask/snaps-sdk" +```javascript title="index.jsx" +import { Box, Text, Copyable } from "@metamask/snaps-sdk/jsx"; await snap.request({ method: "snap_dialog", params: { type: "alert", - content: panel([ - text("Your address:"), - copyable("0x000000000000000000000000000000000000dEaD"), - ]), + content: ( + + Your address: + + + ), }, -}) +}); ```

Copyable UI example

-### `divider` +### `Divider` Outputs a horizontal divider. #### Example -```javascript title="index.js" -import type { OnHomePageHandler } from "@metamask/snaps-sdk"; -import { panel, divider, text } from "@metamask/snaps-sdk"; +```javascript title="index.jsx" +import { Box, Heading, Divider, Text } from "@metamask/snaps-sdk/jsx"; module.exports.onHomePage = async () => { return { - content: panel([ - heading("Hello world!"), - divider(), - text("Welcome to my Snap home page!"), - ]), + content: ( + + Hello world! + + Welcome to my Snap home page! + + ), }; }; ``` @@ -180,41 +296,180 @@ module.exports.onHomePage = async () => { Divider UI example

-### `form` +### `Dropdown` -Outputs a form for use in [interactive UI](interactive-ui.md). +Outputs a dropdown for use in [interactive UI](interactive-ui.md). + +#### Props + +- `name`: `string` - The name sent to [`onUserInput`](../../reference/entry-points.md#onuserinput). +- `children`: `Option[]` - One or more `Option` components with the following props: + - `value`: `string` - The value sent to [`onUserInput`](../../reference/entry-points.md#onuserinput). + - `children`: `string` - The text displayed in the dropdown for that option. + +#### Example + +```js +import { Box, Text, Dropdown } from "@metamask/snaps-sdk/jsx"; -#### Parameters +const interfaceId = await snap.request({ + method: "snap_createInterface", + params: { + ui: ( + + Pick a currency + + + + + + ), + }, +}); -An object containing: +await snap.request({ + method: "snap_dialog", + params: { + type: "Alert", + id: interfaceId, + }, +}); +``` + +
+
+ Dropdown UI example +
+
+ Active dropdown UI example +
+
+ +### `Field` + +Outputs a form field, wrapping an element to give it a label and optional error. + +#### Props + +- `label`: `string` - The label for the wrapped element. +- `error`: `string` - (Optional) Any error for the wrapped element. Setting this changes the style of the wrapped element to show that there is an error. +- `children` - The element to be wrapped. + This can be a [`Dropdown`](#dropdown), [`Input`](#input), [`Selector`](#selector), or [`RadioGroup`](#radiogroup) component. + +#### Example + +```js +import { Field, Form, Input, Button } from "@metamask/snaps-sdk/jsx"; + +const interfaceId = await snap.request({ + method: "snap_createInterface", + params: { + ui: ( +
+ + + + +
+ ), + }, +}); + +await snap.request({ + method: "snap_dialog", + params: { + type: "Alert", + id: interfaceId, + }, +}); +``` + +

+Field example +

+ +### `FileInput` + +Outputs a file input component for use in [interactive UI](interactive-ui.md). + +#### Props - `name`: `string` - The name that will be sent to [`onUserInput`](../../reference/entry-points.md#onuserinput) when a user interacts with the form. -- `children`: `array` - An array of [`input`](#input) or [`button`](#button) components. +- `accept`: `string[]` - (Optional) The file types that the file input field accepts. If not +specified, the file input field accepts all file types. For examples of +valid values, see the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept). +- `compact`: `boolean` - (Optional) Whether the file input field is compact. #### Example ```js -import { input, button, form } from "@metamask/snaps-sdk" +import { FileInput } from "@metamask/snaps-sdk/jsx"; + +export const onHomePage = async () => { + const interfaceId = await snap.request({ + method: "snap_createInterface", + params: { + ui: ( + + File Upload +
+ + + + +
+
+ ), + }, + }); + + return { + id: interfaceId, + } +}; + +export const onUserInput = async ({ id, event }) => { + if (event.type === UserInputEventType.FileUploadEvent && event.file !== null) { + console.log(event.file); + } +}; +``` + +

+File input UI example +

+ +### `Form` + +Outputs a form for use in [interactive UI](interactive-ui.md). + +#### Props + +- `name`: `string` - The name that will be sent to [`onUserInput`](../../reference/entry-points.md#onuserinput) + when a user interacts with the form. +- `children`: `array` - An array of [`Input`](#input) or [`Button`](#button) components. + +#### Example + +```js +import { Form, Input, Button } from "@metamask/snaps-sdk/jsx"; const interfaceId = await snap.request({ method: "snap_createInterface", params: { - ui: form({ - name: "form-to-fill", - children: [ - input({ - name: "user-name", - placeholder: "Your name", - }), - button({ - value: "Submit", - buttonType: "submit", - }), - ], - }), + ui: ( +
+ + + + +
+ ), }, -}) +}); await snap.request({ method: "snap_dialog", @@ -222,30 +477,31 @@ await snap.request({ type: "Alert", id: interfaceId, }, -}) +}); ```

Form UI example

-### `heading` +### `Heading` Outputs a heading. -This is useful for [`panel`](#panel) titles. +This is useful for [`Box`](#box) titles. #### Example -```javascript title="index.js" -import type { OnHomePageHandler } from "@metamask/snaps-sdk"; -import { panel, heading, text } from "@metamask/snaps-sdk"; +```javascript title="index.jsx" +import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; module.exports.onHomePage = async () => { return { - content: panel([ - heading("Hello world!"), - text("Welcome to my Snap home page!"), - ]), + content: ( + + Hello world! + Welcome to my Snap home page! + + ), }; }; ``` @@ -254,14 +510,53 @@ module.exports.onHomePage = async () => { Divider UI example

-### `image` +### `Icon` + +Outputs an icon. + +#### Props + +- `name` - The name of the icon. + Possible values include `"confirmation"`, `"search"`, "`warning`", and `"menu"`. + See the [full list of possible `name` values](https://github.com/MetaMask/snaps/blob/0014ff6d7566dbc2945600db740d0a90f818b2d8/packages/snaps-sdk/src/jsx/components/Icon.ts#L5-L163). +- `color` - (Optional) The color of the icon. + Possible values are `"default"`, `"primary"`, and `"muted"`. + The default is `"default"`. +- `size` - (Optional) The size of the icon. + Possible values are `"md"` and `"inherit"`. + The default is `"md"`. -Outputs an image. +#### Example + +```javascript title="index.jsx" +import { Icon } from "@metamask/snaps-sdk/jsx"; + +await snap.request({ + method: "snap_dialog", + params: { + type: "alert", + content: ( + + + Double-check the "to" address before proceeding. + + ), + }, +}); +``` + +

+Icon UI example +

+ +### `Image` + +Outputs an image. This component takes an inline SVG. It does not support remote URLs. You can import SVG, PNG, and JPEG files using an import statement. -These files are automatically imported as SVG strings, so you can pass them directly to the `image` component. +These files are automatically imported as SVG strings, so you can pass them directly to the `Image` component. The SVG is rendered within an `` tag, which prevents JavaScript or interaction events from being supported. @@ -272,20 +567,26 @@ configuration option to `false`. The default is `true`. ::: +#### Props + +- `src`: `string` - An inline SVG. +- `alt`: `string` - An optional alternative text for the image. + #### Example -```javascript title="index.js" -import type { OnHomePageHandler } from "@metamask/snaps-sdk"; -import { panel, heading, text, image } from "@metamask/snaps-sdk"; +```javascript title="index.jsx" +import { Box, Heading, Text, Image } from "@metamask/snaps-sdk/jsx"; import svgIcon from "./path/to/icon.svg"; module.exports.onHomePage = async () => { return { - content: panel([ - heading("Hello world!"), - text("Welcome to my Snap home page!"), - image(svgIcon), - ]), + content: ( + + Hello world! + Welcome to my Snap home page! + + + ), }; }; ``` @@ -294,46 +595,44 @@ module.exports.onHomePage = async () => { Divider UI example

-### `input` +:::note +See the [`@metamask/images-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/images) +package for a full example of implementing images. +::: -Outputs an input component for use in [interactive UI](interactive-ui.md). +### `Input` -#### Parameters +Outputs an input component for use in [interactive UI](interactive-ui.md). -An object containing: +#### Props - `name`: `string` - The name that will be used as a key to the event sent to [`onUserInput`](../../reference/entry-points.md#onuserinput) when the containing form is submitted. -- `inputType`: `string` - (Optional) Type of input. - Possible values are `text`, `number`, or `password`. - The default is `text`. +- `type` - (Optional) The type of input. + Possible values are `"text"`, `"number"`, and `"password"`. + The default is `"text"`. - `placeholder`: `string` - (Optional) The text displayed when the input is empty. -- `label`: `string` (Optional) The text displayed alongside the input to label it. -- `value`: `string` (Optional) The default value of the input. +- `label`: `string` - (Optional) The text displayed alongside the input to label it. +- `value`: `string` - (Optional) The default value of the input. #### Example ```js -import { button, input, form } from "@metamask/snaps-sdk"; +import { Form, Input, Button } from "@metamask/snaps-sdk/jsx"; const interfaceId = await snap.request({ method: "snap_createInterface", params: { - ui: form({ - name: "form-to-fill", - children: [ - input({ - name: "user-name", - placeholder: "Your name", - }), - button({ - value: "Submit", - buttonType: "submit", - }), - ], - }), + ui: ( +
+ + + + +
+ ), }, -}) +}); await snap.request({ method: "snap_dialog", @@ -341,201 +640,363 @@ await snap.request({ type: "Alert", id: interfaceId, }, -}) +}); ```

Form UI example

-:::note -See the [`@metamask/images-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/images) -package for a full example of implementing images. -::: +### `Italic` + +Outputs italic text. + +#### Example + +```javascript title="index.jsx" +import { Box, Heading, Text, Italic } from "@metamask/snaps-sdk/jsx"; + +await snap.request({ + method: "snap_dialog", + params: { + type: "alert", + content: ( + + Hello world! + + This is italic. + + + ), + }, +}); +``` + +### `Link` -### `panel` +Outputs a clickable link. -Outputs a panel, which can be used as a container for other components. -This component takes an array of custom UI components. +#### Props + +- `href`: `string` - The URL to point to. This must be an HTTPS URL. +- `children`: `Array` - The link text. #### Example -```javascript title="index.js" -import type { OnTransactionHandler } from "@metamask/snaps-sdk"; -import { panel, heading, text } from "@metamask/snaps-sdk"; +```javascript title="index.jsx" +import { Box, Heading, Link, Text } from "@metamask/snaps-sdk/jsx"; -module.exports.onTransaction = async ({ transaction }) => { - const gasFeesPercentage = /* Calculate gas fees percentage */; +module.exports.onHomePage = async () => { return { - content: panel([ - heading("Transaction insights"), - text( - `As set up, you are paying **${gasFeesPercentage.toFixed( - 2, - )}%** in gas fees for this transaction.`, - ), - ]), + content: ( + + Hello world! + + Download MetaMask. + + + Read the MetaMask docs at MetaMask docs. + + + ), }; }; ```

-Panel UI example +Links UI example

-### `row` +### `RadioGroup` -Outputs a row with a label and value, which can be used for key-value data. -The label must be a string. The value can be a child component of type -[`text`](#text) or [`address`](#address). +Outputs a radio group component for use in [interactive UI](interactive-ui.md). + +#### Props + +- `name`: `string` - The name that will be used as a key to the event sent to + [`onUserInput`](../../reference/entry-points.md#onuserinput) when the containing form is submitted. +- `children`: `Radio[]` - One or more `Radio` components, each with a `value` and text child. #### Example -```javascript title="index.js" -import { panel, row, text, address } from "@metamask/snaps-sdk" +```js +import { RadioGroup, Radio } from "@metamask/snaps-sdk/jsx"; -await snap.request({ - method: "snap_dialog", +const interfaceId = await snap.request({ + method: "snap_createInterface", params: { - type: "alert", - content: panel([ - row("Address", address("0x000000000000000000000000000000000000dEaD")), - row("Balance", text("1.78 ETH")), - ]), + ui: ( +
+ + + Option 1 + Option 2 + + +
+ ), }, -}) +}); ```

-Row UI example +RadioGroup UI example

-### `spinner` +### `Row` -Outputs a loading indicator. +Outputs a row with a label and value, which can be used for key-value data. + +#### Props + +- `label`: `string` - The label of the row. +- `variant` - (Optional) The variant of the label. + Possible values are `"default"`, `"error"`, and `"warning"`. + The default is `"default"`. +- `children` - The value of the row, which can be a [`Text`](#text), [`Image`](#image), or + [`Address`](#address) component. #### Example -```javascript title="index.js" -import { panel, heading, spinner } from "@metamask/snaps-sdk" +```javascript title="index.jsx" +import { Box, Row, Text, Address } from "@metamask/snaps-sdk/jsx"; await snap.request({ method: "snap_dialog", params: { type: "alert", - content: panel([heading("Please wait..."), spinner()]), + content: ( + + +
+ + + 1.78 ETH + + + ), }, -}) +}); ```

-Spinner UI example +Row UI example

-### `text` +### `Selector` -Outputs text. +Outputs a selector component for use in [interactive UI](interactive-ui.md). + +#### Props + +- `name`: `string` - The name that will be used as a key to the event sent to + [`onUserInput`](../../reference/entry-points.md#onuserinput) when the containing form is submitted. +- `title`: `string` - The title of the selector, displayed when the selector is opened. +- `children`: `SelectorOption[]` - One or more `SelectorOption` components, each with a `Card` child. #### Example -```javascript title="index.js" -import type { OnHomePageHandler } from "@metamask/snaps-sdk"; -import { panel, heading, text } from "@metamask/snaps-sdk"; +```js +import { Selector, SelectorOption, Card } from "@metamask/snaps-sdk/jsx"; -module.exports.onHomePage = async () => { - return { - content: panel([ - heading("Hello world!"), - text("Welcome to my Snap home page!"), - ]), - }; -}; +const interfaceId = await snap.request({ + method: "snap_createInterface", + params: { + ui: ( + + + + + + + + + ), + }, +}); ```

-Text UI example +Selector UI example

-## Markdown +### `Spinner` -[`text`](#text) components accept bold and italic inline Markdown. +Outputs a loading indicator. #### Example -```javascript title="index.js" -import { panel, heading, text } from "@metamask/snaps-sdk" +```javascript title="index.jsx" +import { Box, Heading, Spinner } from "@metamask/snaps-sdk/jsx"; await snap.request({ method: "snap_dialog", params: { type: "alert", - content: panel([ - heading("Hello world!"), - text("This is **bold** and this is _italic_."), - ]), + content: ( + + Please wait... + + + ), }, -}) +}); ```

-Markdown UI example +Spinner UI example

-## Links +### `Text` + +Outputs text. + +#### Props + +- `color` - (Optional) The color of the text. + Possible values are `"default"`, "`alternative`", `"muted"`, `"error"`, `"success"`, and `"warning"`. + The default is `"default"`. +- `alignment` - (Optional) The alignment of the text. + Possible values are `"start"`, `"center"`, and `"end"`. + The default is `"start"`. -[`text`](#text) components accept inline links. #### Example -```javascript title="index.js" -import type { OnHomePageHandler } from "@metamask/snaps-sdk"; -import { panel, text } from "@metamask/snaps-sdk"; +```javascript title="index.jsx" +import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; module.exports.onHomePage = async () => { return { - content: panel([ - heading("Hello world!"), - text("Download [MetaMask](https://metamask.io)."), - text("Read the MetaMask docs at [](https://docs.metamask.io)."), - ]), + content: ( + + Hello world! + Welcome to my Snap home page! + + ), }; }; ```

-Links UI example +Text UI example +

+ +### `Tooltip` + +Outputs a tooltip when the wrapped element is hovered over. + +#### Props + +- `content`: - The content of the tooltip. +- `children`: - The element to wrap. + +#### Example + +```javascript title="index.jsx" +import { Tooltip, Text } from "@metamask/snaps-sdk/jsx"; + +await snap.request({ + method: "snap_dialog", + params: { + type: "alert", + content: ( + + + Tooltip text + + } + > + Hello world! + + + ), + }, +}); +``` + +

+Tooltip UI example

## Emojis -Text-based components (such as [`heading`](#heading) and [`text`](#text)) accept emojis. +Text-based components (such as [`Heading`](#heading) and [`Text`](#text)) accept emojis. #### Example -```javascript title="index.js" -import { panel, heading, text } from "@metamask/snaps-sdk" +```javascript title="index.jsx" +import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; await snap.request({ method: "snap_dialog", params: { type: "alert", - content: panel([ - heading("Hello world!"), - text("This is an apple 🍎 and this is an orange 🍊."), - ]), + content: ( + + Hello world! + This is an apple 🍎 and this is an orange 🍊. + + ), }, -}) +}); ```

Emojis UI example

-## Examples +## User-defined components + +In addition to the components provided by the SDK, you can [define your own components](user-defined-components.md). + +## Upgrade a Snap to use JSX + +If you have a Snap that uses the deprecated function-based custom UI library, follow these +steps to upgrade it to use JSX: + +1. Upgrade dependencies in `packages/snap/package.json`: + + - Upgrade `@metamask/snaps-sdk` to `^6.1.1` or later. + - Upgrade `@metamask/snaps-cli` to `^6.2.1` or later. + - Upgrade `@metamask/snaps-jest` to `^8.2.0` or later. + + Run `yarn install` to install the new versions. + +2. Update `packages/snap/.eslintrc.js`: + + - Add a new section in `overrides` with the following configuration: + ```json + { + "files": ["**/*.ts", "**/*.tsx"], + "extends": ["@metamask/eslint-config-typescript"], + "rules": { + // This allows importing the `Text` JSX component. + "@typescript-eslint/no-shadow": [ + "error", + { + "allow": ["Text"], + }, + ], + }, + } + ``` + - Replace `["*.test.ts"]` with `["*.test.ts", "*.test.tsx"]`. + +3. Update `packages/snap/src/index.ts`, if it will have JSX: + + - Rename the file to `index.tsx`. + - Modify the `input` field in `packages/snap/snap.config.ts` to `src/index.tsx`. + +4. Update `packages/snap/tsconfig.json`: -See the following packages for full examples of implementing custom UI: + - Under `compilerOptions`, add: + ```json + "jsx": "react-jsx", + "jsxImportSource": "@metamask/snaps-sdk" + ``` + - Change the `include` property from `["**/*.ts"]` to `["**/*.ts", "**/*.tsx"]`. -- [`@metamask/dialog-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/dialogs) -- [`@metamask/transaction-insight-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/transaction-insights) -- [`@metamask/home-page-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/home-page) -- [`@metamask/images-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/images) +5. Replace all custom UI in your code with JSX components, renaming the target files with the `.tsx` extension. diff --git a/snaps/features/custom-ui/interactive-ui.md b/snaps/features/custom-ui/interactive-ui.md index 7eb54e057d3..6f0613cdacc 100644 --- a/snaps/features/custom-ui/interactive-ui.md +++ b/snaps/features/custom-ui/interactive-ui.md @@ -12,17 +12,11 @@ It allows interfaces returned from [dialogs](dialogs.md), [home pages](home-page The following interactive UI components are available: -- [`button`](index.md#button) -- [`form`](index.md#form) -- [`input`](index.md#input) - -The following interactive UI JSX components are available: - -- [`Button`](with-jsx.md#button) -- [`Dropdown`](with-jsx.md#dropdown) -- [`Field`](with-jsx.md#field) -- [`Form`](with-jsx.md#form) -- [`Input`](with-jsx.md#input) +- [`Button`](index.md#button) +- [`Dropdown`](index.md#dropdown) +- [`Field`](index.md#field) +- [`Form`](index.md#form) +- [`Input`](index.md#input) ## Create an interactive interface @@ -37,6 +31,13 @@ If you need to [update the interface](#update-an-interactive-interface) or [get its state](#get-an-interactive-interfaces-state) at a future time, you should store its ID in the Snap's storage. +### Add context to an interface + +You can optionally add context to an interface by passing a `context` object to the +[`snap_createInterface`](../../reference/snaps-api.md#snap_createinterface) method. +This object can contain any data you want to pass to the interface. +This context will be passed to [`onUserInput`](../../reference/entry-points.md#onuserinput) when the user interacts with the interface. + ## Update an interactive interface To update an interactive interface that is still active, use the diff --git a/snaps/features/custom-ui/user-defined-components.md b/snaps/features/custom-ui/user-defined-components.md new file mode 100644 index 00000000000..a96cf2f3ffe --- /dev/null +++ b/snaps/features/custom-ui/user-defined-components.md @@ -0,0 +1,258 @@ +--- +description: Create your own JSX components to improve readability. +sidebar_position: 5 +--- + +# User-defined components + +When using [Custom UI with JSX](index.md), you can create your own components by composing +existing components or other user-defined components. + +## Basic example + +In this first, basic example, the user-defined component is static. +It does not accept any props (parameters) and returns the contents of a static home page. + +```jsx title="Home.jsx" +import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; + +export const Home = () => { + return ( + + Welcome to my Snap + Hello, world! + + ); +}; +``` + +Once the component is defined, you can use it anywhere in the Snap. +For example, to display the home page, you can use the following code: + +```jsx title="index.jsx" +import { Home } from "./Home"; + +export const onHomepage = () => { + return ; +}; +``` + +## Example with props + +You can parameterize components by passing props. +Props are passed to the component as an object and can be accessed using the first parameter of the +component's definition function: + +```jsx title="Insight.jsx" +export const Insight = (props) => { + return ( + + +
+ + + {to ?
: None} + + + ); +}; +``` + +This example contains two usages of props: + +- The `Insight` component accepts a `props` parameter, which is an object containing the `from` and + `to` addresses. + The `from` address is accessed using `props.from`, and the `to` address is accessed using + `props.to`, since `props` is just a regular JavaScript object. +- The `Insight` component then uses the built-in `Address` component to display addresses. + The `Address` component accepts an `address` prop. + When using the `Address` component, you can pass props to it using a notation similar to HTML + attributes: `address={props.from}`. + +To use the `Insight` component, you can pass the `from` and `to` addresses as props: + +```jsx title="index.jsx" +import { Insight } from "./Insight"; + +export const onTransaction = ({ transaction }) => { + return { content: }; +}; +``` + +You can also access props using destructuring. +This is not specific to JSX, but a feature of JavaScript: + +```jsx title="Insight.jsx" +export const Insight = ({ from, to }) => { + return ( + + +
+ + + {to ?
: None} + + + ); +}; +``` + +## Return multiple elements + +A JSX expression can only contain a single root element. +To return multiple elements, wrap them in a parent element, such as `Box`. +In the previous example, the two `Row` elements are wrapped in a `Box` element. +Trying to return multiple elements without a parent element results in a syntax error: + +```jsx title="WRONG-Insight.jsx" +export const Insight = ({ from, to }) => { + + // This causes a syntax error + return ( + +
+ + + {to ?
: None} + + ); +}; +``` + +## Return a list + +To return a list of elements, you can use an array. +In the following example, the `Accounts` components receives an array of accounts as props, and uses +the array to display a list of accounts using `Array.map`: + +```jsx title="Accounts.jsx" +export const Accounts = ({ accounts }) => { + return ( + + Accounts + {accounts.map((account) => ( + +
+ + ))} + + ); +}; +``` + +To use the `Accounts` component, you can pass an array of accounts as props: + +```jsx title="index.jsx" +import { Accounts } from "./Accounts"; + +export const onHomepage = () => { + const accounts = [ + { + name: "Account 1", + address: "0x6827b8f6cc60497d9bf5210d602C0EcaFDF7C405" + }, + { + name: "Account 2", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F" + } + ]; + return ; +}; +``` + +## Spread props + +If an object has the same keys and value types as the props of a component, you can spread the +object's properties as props for the component. +For example, given the following component: + +```jsx title="Account.jsx" +export const Account = ({ name, address }) => { + return +
+ +}; +``` + +Instead of writing: + +```jsx title="index.jsx" +const myAccount = { + name: "Account 1", + address: "0x6827b8f6cc60497d9bf5210d602C0EcaFDF7C405" +}; + +// ... +return +``` + +You can write: + +```jsx +return +``` + +## Use with TypeScript + +The `@metamask/snaps-sdk/jsx` package exports a `SnapComponent` type that you can use to define +components that are compatible with TypeScript. +The `SnapComponent` type is generic: it accepts a `Props` type parameter that defines the shape of +the props object. +For example: + +```tsx title="Insight.tsx" +import type { SnapComponent } from "@metamask/snaps-sdk/jsx"; +import { Button, Box, Text, Row, Address } from "@metamask/snaps-sdk/jsx"; + +type InsightProps = { + from: string; + to?: string; +}; + +export const Insight: SnapComponent = ({ from, to }) => { + return ( + + +
+ + + {to ?
: None} + + + ); +}; +``` + +Use the following steps to create user-defined components with TypeScript: + +1. Import the `SnapComponent` type: + + ```tsx + import type { SnapComponent } from "@metamask/snaps-sdk/jsx"; + ``` + +2. Define a type for the props of your component. + For example: + + ```tsx + type InsightProps = { + from: string; + to?: string; + }; + ``` + +3. Annotate the type of your component. + For example: + + ```tsx + export const Insight: SnapComponent = ({ from, to }) => { + // ... + }; + ``` + + This has two effects: + + - It allows TypeScript to infer the types of the props inside your component. + - It ensures that the props passed to the component match the expected props. + In this example, using the `Insight` component without the `from` prop, or passing a `number` + instead of a `string` for the `from` prop results in a type error. diff --git a/snaps/features/custom-ui/with-jsx.md b/snaps/features/custom-ui/with-jsx.md deleted file mode 100644 index 432f84313ab..00000000000 --- a/snaps/features/custom-ui/with-jsx.md +++ /dev/null @@ -1,740 +0,0 @@ ---- -description: Display custom user interface components using JSX. -sidebar_position: 4 ---- - -# Custom UI with JSX - -You can display custom user interface (UI) JSX components using the -[`@metamask/snaps-sdk`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-sdk) module when -implementing the following features: - -- [Dialogs](dialogs.md) -- [Home pages](home-pages.md) -- [Transaction insights](../transaction-insights.md) -- [Signature insights](../signature-insights.md) - -:::note -JSX is supported in MetaMask Extension and Flask version 12+. New UI components will be added as JSX components. The previous function-based library is deprecated. -::: - -To use custom UI with JSX, first install [`@metamask/snaps-sdk`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-sdk) -using the following command: - -```bash -yarn add @metamask/snaps-sdk -``` - -Then, whenever you're required to return a custom UI JSX component, import the components from the -SDK at `@metamask/snaps-sdk/jsx` and build your UI with them. -For example, to display a [`Box`](#box) (the [`panel`](./index.md#panel) function equivalent) using [`snap_dialog`](../../reference/snaps-api.md#snap_dialog): - -```javascript title="index.jsx" -import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Alert heading - Something happened in the system. - - ), - }, -}); -``` - -:::note -Note that JSX can only be used in `.jsx` or `.tsx` files. -::: - -## Upgrade an existing Snap to use JSX - -Follow these steps to upgrade an existing Snap to use JSX: - -1. Upgrade dependencies in `packages/snap/package.json`: - - - Upgrade `@metamask/snaps-sdk` to `^6.1.1` or later. - - Upgrade `@metamask/snaps-cli` to `^6.2.1` or later. - - Upgrade `@metamask/snaps-jest` to `^8.2.0` or later. - - Run `yarn install` to install the new versions. - -2. Update `packages/snap/.eslintrc.js`: - - - Add a new section in `overrides` with the following configuration: - ```json - { - "files": ["**/*.ts", "**/*.tsx"], - "extends": ["@metamask/eslint-config-typescript"], - "rules": { - // This allows importing the `Text` JSX component. - "@typescript-eslint/no-shadow": [ - "error", - { - "allow": ["Text"], - }, - ], - }, - } - ``` - - Replace `["*.test.ts"]` with `["*.test.ts", "*.test.tsx"]`. - -3. Update `packages/snap/src/index.ts`, if it will have JSX: - - - Rename the file to `index.tsx`. - - Modify the `input` field in `packages/snap/snap.config.ts` to `src/index.tsx`. - -4. Update `packages/snap/tsconfig.json`: - - - Under `compilerOptions`, add: - ```json - "jsx": "react-jsx", - "jsxImportSource": "@metamask/snaps-sdk" - ``` - - Change the `include` property from `["**/*.ts"]` to `["**/*.ts", "**/*.tsx"]`. - -5. Replace all Custom UI in your code with JSX components, renaming the target files with the `.tsx` extension. - -## Components - -The following custom UI JSX components are available: - -### `Address` - -Outputs a formatted text field for an Ethereum address. -The address is automatically displayed with a jazzicon and truncated value. -Hovering the address shows the full value in a tooltip. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Address } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Are you sure you want to send tokens to this address? -
- - ), - }, -}); -``` - -
-
- Address UI example -
-
- Address tooltip UI example -
-
- -### `Bold` - -Outputs bold text. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text, Bold } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Hello world! - - This is bold. - - - ), - }, -}); -``` - -### `Box` - -Outputs a box, which can be used as a container for other components. - -#### Props - -- `direction` - (Optional) The direction in which elements flow inside the box. - Possible values are `"horizontal"` or `"vertical"`. - The default is `"vertical"`. -- `alignment` - (Optional) The alignment of the elements inside the box. - Possible values are `"start"`, `"center"`, `"end"`, `"space-between"`, or `"space-around"`. - The default is `"start"`. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; - -module.exports.onHomePage = async () => { - return { - content: ( - - Features - - Feature 1 - Feature 2 - Feature 3 - - - ), - }; -}; -``` - -

-Box UI example -

- -### `Button` - -Outputs a button that the user can select. -For use in [interactive UI](interactive-ui.md). - -#### Props - -- `children`: `string` - The text of the button. -- `type` - (Optional) The type of button. - Possible values are `"button"` or `"submit"`. - The default is `"button"`. -- `name`: `string` - (Optional) The name that will be sent to [`onUserInput`](../../reference/entry-points.md#onuserinput) - when a user selects the button. -- `variant` - (Optional) Determines the appearance of the button. - Possible values are `"primary"` or `"destructive"`. - The default is `"primary"`. - -#### Example - -```javascript -import { Box, Heading, Button } from "@metamask/snaps-sdk/jsx"; - -const interfaceId = await snap.request({ - method: "snap_createInterface", - params: { - ui: ( - - Interactive interface - - - ), - }, -}); - -await snap.request({ - method: "snap_dialog", - params: { - type: "Alert", - id: interfaceId, - }, -}); - -``` - -

-Button UI example -

- -### `Copyable` - -Outputs a read-only text field with a copy-to-clipboard shortcut. - -#### Props - -- `value`: `string` - The value to copy when the user clicks on the copyable element. -- `sensitive`: `boolean` - (Optional) Indicates whether the value is sensitive. If `true`, the value will be hidden when the user is not interacting with the copyable element. - -#### Example - -```javascript title="index.jsx" -import { Box, Text, Copyable } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Your address: - - - ), - }, -}); -``` - -

-Copyable UI example -

- -### `Divider` - -Outputs a horizontal divider. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Divider, Text } from "@metamask/snaps-sdk/jsx"; - -module.exports.onHomePage = async () => { - return { - content: ( - - Hello world! - - Welcome to my Snap home page! - - ), - }; -}; -``` - -

-Divider UI example -

- -### `Dropdown` - -Outputs a dropdown for use in [interactive UI](interactive-ui.md). - -#### Props - -- `name`: `string` - The name sent to [`onUserInput`](../../reference/entry-points.md#onuserinput). -- `children`: `Option[]` - One or more `Option` components with the following props: - - `value`: `string` - The value sent to [`onUserInput`](../../reference/entry-points.md#onuserinput). - - `children`: `string` - The text displayed in the dropdown for that option. - -#### Example - -```js -import { Box, Text, Dropdown } from "@metamask/snaps-sdk/jsx"; - -const interfaceId = await snap.request({ - method: "snap_createInterface", - params: { - ui: ( - - Pick a currency - - - - - - ), - }, -}); - -await snap.request({ - method: "snap_dialog", - params: { - type: "Alert", - id: interfaceId, - }, -}); -``` - -
-
- Dropdown UI example -
-
- Active dropdown UI example -
-
- -### `Field` - -Outputs a form field, wrapping a [`Dropdown`](#dropdown) or [`Input`](#input) to give it a label and optional error. - -#### Props - -- `label`: `string` - The label for the wrapped element. -- `error`: `string` - Any error for the wrapped element. Setting this changes the styling of the wrapped element to show that there is an error. -- `children` - The [`Dropdown`](#dropdown) or [`Input`](#input) element to be wrapped. - -#### Example - -```js -import { Field, Form, Input, Button } from "@metamask/snaps-sdk/jsx"; - -const interfaceId = await snap.request({ - method: "snap_createInterface", - params: { - ui: ( -
- - - - -
- ), - }, -}); - -await snap.request({ - method: "snap_dialog", - params: { - type: "Alert", - id: interfaceId, - }, -}); -``` - -

-Field example -

- -### `Form` - -Outputs a form for use in [interactive UI](interactive-ui.md). - -#### Props - -- `name`: `string` - The name that will be sent to [`onUserInput`](../../reference/entry-points.md#onuserinput) - when a user interacts with the form. -- `children`: `array` - An array of [`Input`](#input) or [`Button`](#button) components. - -#### Example - -```js -import { Form, Input, Button } from "@metamask/snaps-sdk/jsx"; - -const interfaceId = await snap.request({ - method: "snap_createInterface", - params: { - ui: ( -
- - -
- ), - }, -}); - -await snap.request({ - method: "snap_dialog", - params: { - type: "Alert", - id: interfaceId, - }, -}); -``` - -

-Form UI example -

- -### `Heading` - -Outputs a heading. -This is useful for [`Box`](#box) titles. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; - -module.exports.onHomePage = async () => { - return { - content: ( - - Hello world! - Welcome to my Snap home page! - - ), - }; -}; -``` - -

-Divider UI example -

- -### `Image` - -Outputs an image. -This component takes an inline SVG. -It does not support remote URLs. - -You can import SVG, PNG, and JPEG files using an import statement. -These files are automatically imported as SVG strings, so you can pass them directly to the `Image` component. - -The SVG is rendered within an `` tag, which prevents JavaScript or interaction events from -being supported. - -:::note -To disable image support, set the [`features.images`](../../reference/cli/options.md#featuresimages) -configuration option to `false`. -The default is `true`. -::: - -#### Props - -- `src`: `string` - An inline SVG. -- `alt`: `string` - An optional alternative text for the image. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text, Image } from "@metamask/snaps-sdk/jsx"; -import svgIcon from "./path/to/icon.svg"; - -module.exports.onHomePage = async () => { - return { - content: ( - - Hello world! - Welcome to my Snap home page! - - - ), - }; -}; -``` - -

-Divider UI example -

- -:::note -See the [`@metamask/images-example-snap`](https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/images) -package for a full example of implementing images. -::: - -### `Input` - -Outputs an input component for use in [interactive UI](interactive-ui.md). - -#### Props - -- `name`: `string` - The name that will be used as a key to the event sent to - [`onUserInput`](../../reference/entry-points.md#onuserinput) when the containing form is submitted. -- `type` - (Optional) The type of input. - Possible values are `"text"`, `"number"`, or `"password"`. - The default is `"text"`. -- `placeholder`: `string` - (Optional) The text displayed when the input is empty. -- `label`: `string` - (Optional) The text displayed alongside the input to label it. -- `value`: `string` - (Optional) The default value of the input. - -#### Example - -```js -import { Form, Input, Button } from "@metamask/snaps-sdk/jsx"; - -const interfaceId = await snap.request({ - method: "snap_createInterface", - params: { - ui: ( -
- - -
- ), - }, -}); - -await snap.request({ - method: "snap_dialog", - params: { - type: "Alert", - id: interfaceId, - }, -}); -``` - -

-Form UI example -

- -### `Italic` - -Outputs italic text. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text, Italic } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Hello world! - - This is italic. - - - ), - }, -}); -``` - -### `Link` - -Outputs a clickable link. - -#### Props - -- `href`: `string` - The URL to point to. This must be an HTTPS URL. -- `children`: `Array` - The link text. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Link, Text } from "@metamask/snaps-sdk/jsx"; - -module.exports.onHomePage = async () => { - return { - content: ( - - Hello world! - - Download MetaMask. - - - Read the MetaMask docs at MetaMask docs. - - - ), - }; -}; -``` - -

-Links UI example -

- -### `Row` - -Outputs a row with a label and value, which can be used for key-value data. - -#### Props - -- `label`: `string` - The label of the row. -- `variant` - (Optional) The variant of the label. - Possible values are `"default"`, `"error"`, or `"warning"`. -- `children` - The value of the row, which can be a [`Text`](#text), [`Image`](#image), or - [`Address`](#address) component. - -#### Example - -```javascript title="index.jsx" -import { Box, Row, Text, Address } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - -
- - - 1.78 ETH - - - ), - }, -}); -``` - -

-Row UI example -

- -### `Spinner` - -Outputs a loading indicator. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Spinner } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Please wait... - - - ), - }, -}); -``` - -

-Spinner UI example -

- -### `Text` - -Outputs text. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; - -module.exports.onHomePage = async () => { - return { - content: ( - - Hello world! - Welcome to my Snap home page! - - ), - }; -}; -``` - -

-Text UI example -

- -## Emojis - -Text-based components (such as [`Heading`](#heading) and [`Text`](#text)) accept emojis. - -#### Example - -```javascript title="index.jsx" -import { Box, Heading, Text } from "@metamask/snaps-sdk/jsx"; - -await snap.request({ - method: "snap_dialog", - params: { - type: "alert", - content: ( - - Hello world! - This is an apple 🍎 and this is an orange 🍊. - - ), - }, -}); -``` - -

-Emojis UI example -

diff --git a/snaps/features/notifications.md b/snaps/features/notifications.md index d84487265c1..93e8386b1cc 100644 --- a/snaps/features/notifications.md +++ b/snaps/features/notifications.md @@ -49,10 +49,10 @@ await snap.request({
- Notification alert + Notification alert
- Notification message + Notification message
diff --git a/snaps/index.mdx b/snaps/index.mdx index 843f95f0898..c08e5c169b2 100644 --- a/snaps/index.mdx +++ b/snaps/index.mdx @@ -36,6 +36,12 @@ The following Snaps features are available in the stable version of MetaMask: title: "Custom EVM accounts", description: "Connect to custom EVM accounts in MetaMask.", }, + { + icon: require("./assets/features/name-resolution.png").default, + href: "features/custom-name-resolution", + title: "Custom name resolution", + description: "Resolve names to addresses and vice versa.", + }, { icon: require("./assets/features/custom-ui.png").default, href: "features/custom-ui", @@ -133,13 +139,6 @@ the canary distribution of MetaMask: description: "Connect to ERC-4337 accounts in MetaMask.", flaskOnly: true, }, - { - icon: require("./assets/features/name-resolution.png").default, - href: "features/custom-name-resolution", - title: "Name resolution", - description: "Resolve names to addresses and vice versa.", - flaskOnly: true, - }, { icon: require("./assets/features/signature-insights.png").default, href: "features/signature-insights", diff --git a/snaps/reference/entry-points.md b/snaps/reference/entry-points.md index 2b6765a7bd2..dfddfa22a0b 100644 --- a/snaps/reference/entry-points.md +++ b/snaps/reference/entry-points.md @@ -259,9 +259,6 @@ module.exports.onKeyringRequest = async ({ origin, request }) => { ## `onNameLookup` -:::flaskOnly -::: - To provide [custom name resolution](../features/custom-name-resolution.md), a Snap must export `onNameLookup`. Whenever a user types in the send field, MetaMask calls this method. MetaMask passes the user input to the `onNameLookup` handler method. @@ -300,7 +297,7 @@ export const onNameLookup: OnNameLookupHandler = async (request) => { if (domain) { const resolvedAddress = "0xc0ffee254729296a45a3885639AC7E10F9d54979" return { - resolvedAddresses: [{ resolvedAddress, protocol: "test protocol" }], + resolvedAddresses: [{ resolvedAddress, protocol: "test protocol", domainName: domain }], } } @@ -325,7 +322,7 @@ module.exports.onNameLookup = async ({ request }) => { if (domain) { const resolvedAddress = "0xc0ffee254729296a45a3885639AC7E10F9d54979" return { - resolvedAddresses: [{ resolvedAddress, protocol: "test protocol" }], + resolvedAddresses: [{ resolvedAddress, protocol: "test protocol", domainName: domain }], } } @@ -652,11 +649,12 @@ To respond to [interactive UI](../features/custom-ui/interactive-ui.md) events, - `id` - The ID of the interface being acted on. - `event` - An event object containing: - `type` - The type of the event. - Possible values are `ButtonClickEvent`, `FormSubmitEvent`, or `InputChangeEvent`. + Possible values are `ButtonClickEvent`, `FormSubmitEvent`, `InputChangeEvent`, and `FileInputEvent`. These enums are exported from the `@metamask/snaps-sdk` module. - `name` - The name of the component that fired the event. Optional when the event type is `ButtonClickEvent`. - `value` - When the event type is `FormSubmitEvent`, the values in the form as an object. +- `context` - The context object passed to the interface when calling [`snap_createInterface`](./snaps-api.md#snap_createinterface), or `null`. #### Example diff --git a/snaps/reference/keyring-api/account-management/index.md b/snaps/reference/keyring-api/account-management/index.md index bb55bb12a1e..699b5040fc4 100644 --- a/snaps/reference/keyring-api/account-management/index.md +++ b/snaps/reference/keyring-api/account-management/index.md @@ -113,8 +113,16 @@ null ### `keyring_exportAccount` -Exports the private key of an account managed by the Snap. -A Snap might choose to not support this method. +Exports account data managed by the Snap. +This might include the public key, address, or derivation path. +The exact data exported depends on the Snap's implementation and security considerations. +A Snap might choose to not support this method or limit the data it exports. + +:::warning + +This method can export private keys or any other sensitive data. + +::: #### Parameters @@ -124,9 +132,7 @@ An object containing: #### Returns -An object containing: - -- `privateKey`: `string` - The account's private key. +An object containing the account data. #### Example diff --git a/snaps/reference/permissions.md b/snaps/reference/permissions.md index 7be7d39acf3..f24dd37d2dd 100644 --- a/snaps/reference/permissions.md +++ b/snaps/reference/permissions.md @@ -153,9 +153,6 @@ Specify this permission in the manifest file as follows: ### `endowment:name-lookup` -:::flaskOnly -::: - To provide [custom name resolution](../features/custom-name-resolution.md), a Snap must request the `endowment:name-lookup` permission. This permission grants the Snap read-only access to user input or an address by exporting the @@ -169,8 +166,8 @@ This permission takes an object with two optional properties: chains it can resolve. - `matchers` - An object that helps reduce overhead by filtering the domains passed to your Snap. This must contain at least one of the following properties: - - `tlds` - An array of strings for top-level domains that the Snap supports. - - `schemes` - An array of strings for schemes that the Snap supports. + - `tlds` - An array of strings for top-level domains that the Snap supports. For example, to support domains of the form `my-domain.crypto`, specify `["crypto"]`. + - `schemes` - An array of strings for schemes that the Snap supports. For example, to support schemes of the form `farcaster:my-user`, specify `["farcaster"]`. :::tip You can modify the name lookup logic's execution limit using [Snap-defined timeouts](#snap-defined-timeouts). diff --git a/snaps/reference/snaps-api.md b/snaps/reference/snaps-api.md index d85837deee4..270a43123ed 100644 --- a/snaps/reference/snaps-api.md +++ b/snaps/reference/snaps-api.md @@ -860,6 +860,7 @@ Creates an interactive interface for use in [interactive UI](../features/custom- An object containing: - `ui` - The [custom UI](../features/custom-ui/index.md) to create. +- `context` (optional) - A custom context object that will be passed to [`onUserInput`](./entry-points.md#onuserinput) when the user interacts with the interface. #### Returns diff --git a/src/components/Alert/alert.module.scss b/src/components/Alert/alert.module.scss new file mode 100644 index 00000000000..9327c763272 --- /dev/null +++ b/src/components/Alert/alert.module.scss @@ -0,0 +1,85 @@ +:root[data-theme="dark"] { + --alert-error-background: rgb(53, 40, 41); + --alert-error-border: #e06470; + --alert-success-background: rgb(34, 48, 36); + --alert-success-border: #28a745; + --alert-info-background: rgb(61, 57, 43); + --alert-info-border: #ffdf70; +} + +:root[data-theme="light"] { + --alert-error-background: rgb(248, 235, 237); + --alert-error-border: #d73847; + --alert-success-background: rgb(234, 242, 235); + --alert-success-border: #1c8234; + --alert-info-background: rgb(247, 238, 231); + --alert-info-border: #bf5208; +} + +.alert { + padding: 8px 36px; + border-radius: 4px; + border-left: 4px solid; + position: relative; + width: 80vw; + box-shadow: var(--ifm-alert-shadow); + + &.info { + border-color: var(--alert-info-border); + background-color: var(--alert-info-background); + + .icon { + color: var(--alert-info-border); + } + } + + &.success { + border-color: var(--alert-success-border); + background-color: var(--alert-success-background); + + .icon { + color: var(--alert-success-border); + } + } + + &.error { + border-color: var(--alert-error-border); + background-color: var(--alert-error-background); + + .icon { + color: var(--alert-error-border); + } + } + + .icon { + position: absolute; + left: 5px; + top: 8px; + } + + .closeButton { + cursor: pointer; + display: block; + height: 16px; + line-height: 1; + position: absolute; + top: 10px; + right: 10px; + + .closeIcon { + min-width: 16px; + width: 16px; + min-height: 16px; + height: 16px; + } + } +} + +.alertTitle { + font-weight: 500 !important; + margin: 0; +} + +.alertText { + margin: 0; +} diff --git a/src/components/Alert/close.svg b/src/components/Alert/close.svg new file mode 100644 index 00000000000..f8962a88407 --- /dev/null +++ b/src/components/Alert/close.svg @@ -0,0 +1,6 @@ + + + + diff --git a/src/components/Alert/error.svg b/src/components/Alert/error.svg new file mode 100644 index 00000000000..f84e4049be0 --- /dev/null +++ b/src/components/Alert/error.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/components/Alert/index.tsx b/src/components/Alert/index.tsx new file mode 100644 index 00000000000..e7e90cfc8bf --- /dev/null +++ b/src/components/Alert/index.tsx @@ -0,0 +1,59 @@ +import React from "react"; +import { positions, types } from "react-alert"; +import clsx from "clsx"; +import CloseImg from "./close.svg"; +import InfoImg from "./info.svg"; +import SuccessImg from "./success.svg"; +import ErrorImg from "./error.svg"; +import Text from "@site/src/components/Text"; +import styles from "./alert.module.scss"; + +export const options = { + position: positions.TOP_CENTER, + timeout: 10000, + offset: "5px", + containerStyle: { + zIndex: 1000, + marginTop: 64, + }, +}; + +export const AlertTemplate = ({ style, options, message, close }) => ( +
+ {options.type === types.INFO && } + {options.type === types.SUCCESS && } + {options.type === types.ERROR && } + {message} + + + +
+); + +export const AlertTitle = ({ + children, +}: { + children: string | React.ReactElement; +}) => ( + + {children} + +); + +export const AlertText = ({ + children, +}: { + children: string | React.ReactElement; +}) => ( + + {children} + +); diff --git a/src/components/Alert/info.svg b/src/components/Alert/info.svg new file mode 100644 index 00000000000..f84e4049be0 --- /dev/null +++ b/src/components/Alert/info.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/components/Alert/success.svg b/src/components/Alert/success.svg new file mode 100644 index 00000000000..7fcbba068ec --- /dev/null +++ b/src/components/Alert/success.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/components/AuthLogin/AuthModal.tsx b/src/components/AuthLogin/AuthModal.tsx new file mode 100644 index 00000000000..689865c67f8 --- /dev/null +++ b/src/components/AuthLogin/AuthModal.tsx @@ -0,0 +1,316 @@ +import React, { useContext, useEffect } from "react"; +import Modal from "react-modal"; +import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; +import { useLocation } from "@docusaurus/router"; +import styles from "./styles.module.css"; +import global from "../ParserOpenRPC/global.module.css"; +import Icon from "../Icon/Icon"; +import { + authenticateAndAuthorize, + saveTokenString, + getUserIdFromJwtToken, +} from "../../lib/siwsrp/auth"; +import { + DASHBOARD_URL, + REQUEST_PARAMS, + AUTH_WALLET_SESSION_NAME, + AUTH_WALLET_PROJECTS, +} from "@site/src/lib/constants"; +import { MetamaskProviderContext } from "@site/src/theme/Root"; + +Modal.setAppElement("#__docusaurus"); +type AuthModalProps = { + open: boolean; + setOpen: (arg: boolean) => void; + setUser: (arg: string) => void; + step: AUTH_LOGIN_STEP; + setStep: (arg: AUTH_LOGIN_STEP) => void; +}; + +export enum AUTH_LOGIN_STEP { + CONNECTING = "connecting", + WALLET_LOGIN_MULTI_USER = "wallet-login-multi-user", + WALLET_LOGIN_EMAIL_PASSWORD = "wallet-login-email-password", + CONNECTION_ERROR = "connection-error", + CONNECTION_SUCCESS = "connection-success", +} + +export enum WALLET_LINK_TYPE { + NO = "NO", + ONE = "ONE", + MULTIPLE = "MULTIPLE", +} + +const ConnectingModal = () => { + return ( + <> +
+ + +
+
Waiting for MetaMask
+
+ Don’t close or exit this window. Please continue connecting on your + extension. +
+ + + ); +}; + +const ConnectionSuccessModal = () => { + return ( + <> +
+ + +
+
Wallet Connected!
+
+ Your wallet is successfully connected. +
+ You’re all set! +
+ + ); +}; + +const ConnectionErrorModal = ({ + setOpen, + login, + metaMaskDisconnect, +}: { + setOpen: (arg: boolean) => void; + login: () => void; + metaMaskDisconnect: () => void; +}) => { + const handleCancel = () => { + metaMaskDisconnect(); + setOpen(false); + }; + return ( + <> +
+ + +
+
+ There was an issue connecting your wallet +
+
+ Please try again or{" "} + contact us. +
+
+ + +
+ + ); +}; + +const AuthModal = ({ open, setOpen, step, setStep }: AuthModalProps) => { + const { siteConfig } = useDocusaurusContext(); + const { DASHBOARD_PREVIEW_URL, VERCEL_ENV } = siteConfig?.customFields || {}; + const { + sdk, + setWalletLinked, + setWalletLinkUrl, + metaMaskDisconnect, + setProjects, + setMetaMaskAccount, + setMetaMaskProvider, + } = useContext(MetamaskProviderContext); + const location = useLocation(); + const { pathname } = location; + + const login = async () => { + setStep(AUTH_LOGIN_STEP.CONNECTING); + try { + if (!sdk.isExtensionActive()) { + setOpen(false); + } + + // Try to connect wallet first + const accounts = await sdk.connect(); + setMetaMaskAccount(accounts); + if (accounts && accounts.length > 0) { + setMetaMaskAccount(accounts[0]); + const provider = sdk.getProvider(); + setMetaMaskProvider(provider); + } + + // Call Profile SDK API to retrieve Hydra Access Token & Wallet userProfile + // Hydra Access Token will be used to fetch Infura API + const { accessToken, userProfile } = await authenticateAndAuthorize( + VERCEL_ENV as string + ); + + const loginResponse = await ( + await fetch( + `${DASHBOARD_URL(DASHBOARD_PREVIEW_URL, VERCEL_ENV)}/api/wallet/login`, + { + ...REQUEST_PARAMS(), + headers: { + ...REQUEST_PARAMS().headers, + hydra_token: accessToken, + token: "true", + }, + body: JSON.stringify({ + profileId: userProfile.profileId, + redirect_to: window.location.href, + }), + } + ) + ).json(); + + if (!loginResponse) throw new Error("Something went wrong"); + + const { data, session, token } = loginResponse; + + if (data.step) { + // Handling no wallet pairing or multiple pairing + const mm_auth = Buffer.from( + JSON.stringify({ + step: data.step, + mmAuthSession: localStorage.getItem(AUTH_WALLET_SESSION_NAME), + walletPairing: data.pairing, + token: true, + }) + ).toString("base64"); + + const walletLinkUrl = `${DASHBOARD_URL(DASHBOARD_PREVIEW_URL, VERCEL_ENV)}/login?mm_auth=${mm_auth}&redirect_to=${session.redirect_to}`; + + setWalletLinkUrl(walletLinkUrl); + + if (data.pairing && !data.pairing.length) { + setWalletLinked(WALLET_LINK_TYPE.NO); + } + + if (data.pairing && data.pairing.length > 1) { + setWalletLinked(WALLET_LINK_TYPE.MULTIPLE); + } + + setStep(AUTH_LOGIN_STEP.CONNECTION_SUCCESS); + setOpen(false); + return; + } + + setWalletLinked(WALLET_LINK_TYPE.ONE); + + if (!token) { + setStep(AUTH_LOGIN_STEP.CONNECTION_ERROR); + return; + } + + saveTokenString(token); + setStep(AUTH_LOGIN_STEP.CONNECTION_SUCCESS); + const userId = getUserIdFromJwtToken(); + + // You can use Infura Access Token to fetch any Infura API endpoint + const projectsResponse = await fetch( + `${DASHBOARD_URL(DASHBOARD_PREVIEW_URL, VERCEL_ENV)}/api/v1/users/${userId}/projects`, + { + ...REQUEST_PARAMS("GET"), + headers: { + ...REQUEST_PARAMS("GET").headers, + Authorization: `Bearer ${token}`, + }, + } + ); + const { + result: { projects }, + } = await projectsResponse.json(); + sessionStorage.setItem(AUTH_WALLET_PROJECTS, JSON.stringify(projects)); + setProjects(projects); + setOpen(false); + } catch (e: any) { + if (pathname.startsWith("/wallet/reference")) { + setStep(AUTH_LOGIN_STEP.CONNECTION_SUCCESS); + setOpen(true); + } else { + setStep(AUTH_LOGIN_STEP.CONNECTION_ERROR); + setOpen(true); + } + } + }; + + useEffect(() => { + if (open && step == AUTH_LOGIN_STEP.CONNECTING) { + (async () => { + try { + await login(); + } catch (e: any) { + setStep(AUTH_LOGIN_STEP.CONNECTION_ERROR); + } + })(); + } + + if (!open) setStep(AUTH_LOGIN_STEP.CONNECTING); + }, [open]); + + const handleClose = () => { + if (step === AUTH_LOGIN_STEP.CONNECTION_ERROR) { + metaMaskDisconnect(); + } + setOpen(false); + }; + + return ( + +
+ + {step === AUTH_LOGIN_STEP.CONNECTING ? : null} + {step === AUTH_LOGIN_STEP.CONNECTION_SUCCESS ? ( + + ) : null} + {step === AUTH_LOGIN_STEP.CONNECTION_ERROR ? ( + + ) : null} +
+
+ ); +}; + +export default AuthModal; diff --git a/src/components/AuthLogin/styles.module.css b/src/components/AuthLogin/styles.module.css new file mode 100644 index 00000000000..b3e9a95ae90 --- /dev/null +++ b/src/components/AuthLogin/styles.module.css @@ -0,0 +1,114 @@ +.modalOverlay { + z-index: 300; + position: fixed; + inset: 0px; + background-color: rgba(0, 0, 0, 0.75); +} + +.modalWrapper { + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + overflow: auto; + outline: none; + background: var(--background-default, #24272A); + width: 360px; + padding: 16px; + border-radius: 8px; + margin: auto; + text-align: center; +} + +.modalContent { + color: #FFF; + --font-family-sans: "Euclid Circular B", "Roboto", sans-serif; + position: relative; +} + +.modalClose { + position: absolute; + top: 0; + right: 0; + width: 24px; + height: 24px; + border: 0; + background: transparent; +} + +.spinnerContainer { + display: flex; + align-items: center; + position: relative; + width: 60px; + height: 60px; + margin: auto; +} + +.spinner { + display: inline; + position: absolute; + top: 0; + left: 0; + width: 60px; + height: 60px; + + -webkit-animation: rotating 3s linear infinite; + -moz-animation: rotating 3s linear infinite; + -ms-animation: rotating 3s linear infinite; + -o-animation: rotating 3s linear infinite; + animation: rotating 3s linear infinite; +} + +@-webkit-keyframes spinner /* Safari and Chrome */ { + from { + -webkit-transform: rotate(360deg); + -o-transform: rotate(360deg); + transform: rotate(360deg); + } + to { + -webkit-transform: rotate(-360deg); + -o-transform: rotate(-360deg); + transform: rotate(-360deg); + } +} +@keyframes rotating { + from { + -ms-transform: rotate(360deg); + -moz-transform: rotate(360deg); + -webkit-transform: rotate(360deg); + -o-transform: rotate(360deg); + transform: rotate(360deg); + } + to { + -ms-transform: rotate(-360deg); + -moz-transform: rotate(-360deg); + -webkit-transform: rotate(-360deg); + -o-transform: rotate(-360deg); + transform: rotate(-360deg); + } +} + +.metamask { + display: block; + margin: auto; + width: 30px; + height: 28px; +} + +.heading { + font-size: 18px; + font-weight: 700; + line-height: 24px; + margin: 12px 0 0 0; +} + +.content { + margin: 12px 0; +} + +.flexButton { + display: flex; + justify-content: space-between; + padding: 10px; +} \ No newline at end of file diff --git a/src/components/Button/button.module.scss b/src/components/Button/button.module.scss new file mode 100644 index 00000000000..4c54487586c --- /dev/null +++ b/src/components/Button/button.module.scss @@ -0,0 +1,84 @@ +:root[data-theme="dark"] { + --button-background-color: #1098fc; + --button-color: #141618; + --button-hover-background-color: #26a2fc; + --button-hover-shadow: 0px 2px 8px 0px rgba(16, 152, 252, 0.4); + --button-active-background-color: #3baafd; + --button-danger: #e88f97 +} + +:root[data-theme="light"] { + --button-background-color: #0376c9; + --button-color: #ffffff; + --button-hover-background-color: #036ab5; + --button-hover-shadow: 0px 2px 8px 0px rgba(3, 118, 201, 0.2); + --button-active-background-color: #025ea1; + --button-danger: #D73847 +} + +:root { + @keyframes spinner-infinite { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } + } +} + +a.button { + display: inline-flex; +} + +.button { + color: var(--button-color); + background-color: var(--button-background-color); + border: none; + padding: 0 16px; + height: 48px; + border-radius: 24px; + font-size: 14px; + font-style: normal; + font-weight: 500; + line-height: 22px; + display: flex; + justify-content: center; + align-items: center; + min-width: 145px; + + &:hover { + background-color: var(--button-hover-background-color); + box-shadow: var(--button-hover-shadow); + text-decoration: none; + color: var(--button-color); + } + + &:active { + background-color: var(--button-active-background-color); + } + + &.thin { + height: 40px; + } + + &.danger { + color: var(--button-danger); + background-color: transparent; + border: 1px solid var(--button-danger); + + &:hover { + background-color: var(--button-danger); + color: var(--button-color); + } + } + + &:disabled { + opacity: 0.5; + pointer-events: none; + } + + .isLoading { + animation: spinner-infinite 1.2s linear infinite; + } +} diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx new file mode 100644 index 00000000000..f2c1d1d4e4e --- /dev/null +++ b/src/components/Button/index.tsx @@ -0,0 +1,57 @@ +import React from "react"; +import LoadingImg from "./loading.svg"; +import clsx from "clsx"; + +import styles from "./button.module.scss"; + +interface IButton { + onClick?: VoidFunction; + children: string | React.ReactElement; + disabled?: boolean; + isLoading?: boolean; + className?: string; + href?: string; + target?: string; + thin?: boolean; + type?: "default" | "danger"; +} + +export const Button = ({ + className, + onClick = () => {}, + children, + disabled = false, + isLoading, + href, + target = "_blank", + thin = false, + type = "default", +}: IButton) => { + const buttonRootClass = clsx( + styles.button, + thin && styles.thin, + type === "danger" && styles.danger, + className, + ); + const isLoadingChild = !isLoading ? ( + children + ) : ( + + ); + + return !href ? ( + + ) : ( + + {isLoadingChild} + + ); +}; + +export default Button; diff --git a/src/components/Button/loading.svg b/src/components/Button/loading.svg new file mode 100644 index 00000000000..355a53ad5d7 --- /dev/null +++ b/src/components/Button/loading.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/components/CardSection.tsx b/src/components/CardSection.tsx index a608409a8db..796084fb3c1 100644 --- a/src/components/CardSection.tsx +++ b/src/components/CardSection.tsx @@ -28,8 +28,9 @@ const CardList: CardItem[] = [ link: "/services", description: ( <> - Build and scale your dapp or Snap using services provided by MetaMask and Infura. - This includes APIs that optimize essential development tasks. + Build and scale your dapp or Snap using services provided by MetaMask + and Infura. This includes APIs that optimize essential development + tasks. ), }, diff --git a/src/components/CodeTerminal/AlertMsg.jsx b/src/components/CodeTerminal/AlertMsg.jsx index b348112712b..bcf928fa13a 100644 --- a/src/components/CodeTerminal/AlertMsg.jsx +++ b/src/components/CodeTerminal/AlertMsg.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { MSG_TYPES, API_URL } from "@site/src/lib/constants"; +import { MSG_TYPES, DASHBOARD_URL } from "@site/src/lib/constants"; import Link from "@docusaurus/Link"; export const INFO_MSG = { @@ -28,7 +28,7 @@ export const INFO_MSG = { <> Your request has been sent to the network endpoint you selected which returned a response with the requested information. Let’s see how it - performed in stats or + performed in stats or dive into{" "} stats docs. @@ -52,7 +52,7 @@ export const INFO_MSG = { description: ( <> You don’t have any API Keys yet.{" "} - Create an API key to access + Create an API key to access your keys and send requests. ), @@ -65,7 +65,7 @@ export const INFO_MSG = { <> The API key selected is not authorized for this specific product. To enable access, please add this product to your API key through the{" "} - Infura Dashboard + Infura Dashboard ), }, diff --git a/src/components/CodeTerminal/CodeTerminal.jsx b/src/components/CodeTerminal/CodeTerminal.jsx index c6fe8575ed6..d252bd09f9a 100644 --- a/src/components/CodeTerminal/CodeTerminal.jsx +++ b/src/components/CodeTerminal/CodeTerminal.jsx @@ -29,7 +29,7 @@ const CodeTerminal = () => { value: keys[0].id, private: keys[0].private || "", }, - "apiKey" + "apiKey", ); return keys.map((item) => ({ label: item.name, diff --git a/src/components/CodeTerminal/ControlPanel.jsx b/src/components/CodeTerminal/ControlPanel.jsx index bcd0eb4c01d..bb650ac216b 100644 --- a/src/components/CodeTerminal/ControlPanel.jsx +++ b/src/components/CodeTerminal/ControlPanel.jsx @@ -24,7 +24,7 @@ const ControlPanel = ({ keysOptions = [], initValues, onChange }) => { } if (initValues?.netName?.value === NETWORKS.PALM) { const noEthMethods = initMethods.filter( - (method) => method.value !== "eth_maxPriorityFeePerGas" + (method) => method.value !== "eth_maxPriorityFeePerGas", ); updatedOptions.methods = [...noEthMethods]; } diff --git a/src/components/CodeTerminal/TerminalViewBox.jsx b/src/components/CodeTerminal/TerminalViewBox.jsx index ac82b13fab3..31796820e7f 100644 --- a/src/components/CodeTerminal/TerminalViewBox.jsx +++ b/src/components/CodeTerminal/TerminalViewBox.jsx @@ -1,6 +1,7 @@ import React, { useMemo } from "react"; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import Icon from "../Icon/Icon"; -import { API_URL } from "../../lib/constants"; +import { DASHBOARD_URL } from "../../lib/constants"; import Link from "@docusaurus/Link"; import CodeBlock from "@theme/CodeBlock"; @@ -15,6 +16,9 @@ const TerminalViewBox = ({ isExpansionNetwork = false, }) => { + const { siteConfig } = useDocusaurusContext(); + const { DASHBOARD_PREVIEW_URL, VERCEL_ENV } = siteConfig?.customFields || {} + const exampleRequest = useMemo(() => { const prepareParams = params.length === 0 ? "" : params.map(param => { if ('boolean' === typeof param) return `${param}` @@ -48,13 +52,13 @@ const TerminalViewBox = ({ ) : (

- + Sign in {" "} or{" "} create an account {" "} diff --git a/src/components/Icon/Icon.jsx b/src/components/Icon/Icon.jsx index c64dc60c0b4..1c2ee20acc7 100644 --- a/src/components/Icon/Icon.jsx +++ b/src/components/Icon/Icon.jsx @@ -153,6 +153,94 @@ const Icon = ({ name, classes }) => { /> ); + case "spinner-ellipse": + return ( + + + + + + + + + + ); + case "spinner-error": + return ( + + + + ); + case "spinner-success": + return ( + + + + ); + case "metamask": + return ( + + + + + + + + + + ); + case "close": + return ( + + + + + ) default: return null; } diff --git a/src/components/NavbarWallet/copy.svg b/src/components/NavbarWallet/copy.svg new file mode 100644 index 00000000000..8cda00bdd87 --- /dev/null +++ b/src/components/NavbarWallet/copy.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/components/NavbarWallet/disconnect.svg b/src/components/NavbarWallet/disconnect.svg new file mode 100644 index 00000000000..f9913a11dab --- /dev/null +++ b/src/components/NavbarWallet/disconnect.svg @@ -0,0 +1,4 @@ + + + diff --git a/src/components/NavbarWallet/index.tsx b/src/components/NavbarWallet/index.tsx new file mode 100644 index 00000000000..260bd5d6c20 --- /dev/null +++ b/src/components/NavbarWallet/index.tsx @@ -0,0 +1,150 @@ +import React, { useEffect, useState, useRef, FC, useContext } from "react"; +import ldClient from "launchdarkly"; +import clsx from "clsx"; +import Button from "@site/src/components/Button"; +import CopyIcon from "./copy.svg"; +import DisconnectIcon from "./disconnect.svg"; +import { MetamaskProviderContext } from "@site/src/theme/Root"; +import BrowserOnly from "@docusaurus/BrowserOnly"; +import styles from "./navbarWallet.module.scss"; +import { Tooltip } from "@site/src/components/Tooltip"; + +interface INavbarWalletComponent { + includeUrl: string[]; +} + +const LOGIN_FF = "mm-unified-login"; + +const NavbarWalletComponent: FC = ({ + includeUrl = [], +}: INavbarWalletComponent) => { + if (!includeUrl.some((item) => location?.pathname.includes(item))) { + return null; + } + + const COPY_TEXT = "Copy to clipboard"; + const COPIED_TEXT = "Copied!"; + const { metaMaskAccount, sdk, metaMaskWalletIdConnectHandler, metaMaskDisconnect } = + useContext(MetamaskProviderContext); + const [dropdownOpen, setDropdownOpen] = useState(false); + const [copyMessage, setCopyMessage] = useState(COPY_TEXT); + const isExtensionActive = sdk.isExtensionActive; + const dialogRef = useRef(null); + const buttonRef = useRef(null); + + const toggleDropdown = () => { + setDropdownOpen((value) => !value); + }; + + const handleCopy = () => { + navigator.clipboard.writeText(metaMaskAccount); + setCopyMessage(COPIED_TEXT); + }; + + const handleClickOutside = (event: MouseEvent) => { + if ( + dialogRef.current && + !dialogRef.current.contains(event.target as HTMLElement) && + buttonRef.current && + !buttonRef.current.contains(event.target as HTMLElement) + ) { + setDropdownOpen(false); + } + }; + + useEffect(() => { + if (dropdownOpen) { + document.addEventListener("click", handleClickOutside); + } else { + document.addEventListener("click", handleClickOutside); + } + + return () => { + document.removeEventListener("click", handleClickOutside); + }; + }, [dropdownOpen]); + + return !metaMaskAccount ? ( + + ) : ( +

+ + {dropdownOpen && ( +
    +
  • + avatar{" "} + {`${metaMaskAccount.slice(0, 7)}...${metaMaskAccount.slice(-5)}`} + +
  • +
  • + +
  • +
+ )} +
+ ); +}; + +const NavbarWallet = (props) => { + const [ldReady, setLdReady] = useState(false); + const [loginEnabled, setLoginEnabled] = useState(false); + + useEffect(() => { + ldClient.waitUntilReady().then(() => { + setLoginEnabled(ldClient.variation(LOGIN_FF, false)); + setLdReady(true); + }); + const handleChange = (current) => { + setLoginEnabled(current); + }; + ldClient.on(`change:${LOGIN_FF}`, handleChange); + return () => { + ldClient.off(`change:${LOGIN_FF}`, handleChange); + }; + }, []); + + return ( + ldReady && + loginEnabled && ( + {() => } + ) + ); +}; + +export default NavbarWallet; diff --git a/src/components/NavbarWallet/navbarWallet.module.scss b/src/components/NavbarWallet/navbarWallet.module.scss new file mode 100644 index 00000000000..fe0152a0e46 --- /dev/null +++ b/src/components/NavbarWallet/navbarWallet.module.scss @@ -0,0 +1,108 @@ +:root[data-theme="dark"] { + --navbarWallet-color: #fff; +} + +:root[data-theme="light"] { + --navbarWallet-color: #141618; +} + +:global([class*="navbarSearchContainer"]) { + @media (max-width: 996px) { + position: relative !important; + right: 0 !important; + } +} + +.navbarButton { + order: 100; + margin-left: 12px; + position: relative; +} + +.navbarWallet { + color: var(--navbarWallet-color); + order: 100; + height: 28px; + margin-left: 12px; + position: relative; + + .avatar { + border-radius: 50%; + box-sizing: content-box; + width: 24px; + height: 24px; + } + + .cta { + background: none; + border: none; + padding: 0; + margin: 0; + height: 24px; + width: 24px; + display: block; + border-radius: 50%; + cursor: pointer; + + .avatar { + border: 2px solid transparent; + + &:hover, + &.active { + border: 2px solid var(--ifm-navbar-link-hover-color); + } + } + } + + .dropdown { + padding: 0; + margin: 0; + list-style: none; + position: absolute; + width: max-content; + top: 50px; + right: -8px; + background-color: var(--ifm-navbar-background-color); + border-radius: 6px; + box-shadow: 0 3px 8px 0 rgba(44, 59, 88, 0.35); + + .item { + padding: 12px; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + align-items: center; + font-size: 14px; + border-bottom: 1px solid rgba(133, 139, 154, 0.2); + + &:last-child { + border-bottom: none; + } + + .walletId { + margin: 0 8px; + } + + .copyButton { + background: none; + border: none; + padding: 0; + margin: 0; + width: 13px; + height: 15px; + } + + .disconnect { + width: 100%; + + .icon { + margin-right: 8px; + } + } + } + } +} + +.tooltip { + font-size: 14px !important; +} diff --git a/src/components/ParserOpenRPC/AuthBox/index.tsx b/src/components/ParserOpenRPC/AuthBox/index.tsx index 609445af63f..d5a1b634751 100644 --- a/src/components/ParserOpenRPC/AuthBox/index.tsx +++ b/src/components/ParserOpenRPC/AuthBox/index.tsx @@ -1,20 +1,33 @@ -import React from "react"; +import React, { useContext } from "react"; import styles from "./styles.module.css"; import global from "../global.module.css"; import clsx from "clsx"; +import { trackClickForSegment } from "@site/src/lib/segmentAnalytics"; +import { MetamaskProviderContext } from "@site/src/theme/Root"; interface AuthBoxProps { - handleConnect: () => void; + isMetamaskNetwork?: boolean; } -export const AuthBox = ({ handleConnect }: AuthBoxProps) => { +export const AuthBox = ({ isMetamaskNetwork = false }: AuthBoxProps) => { + const { metaMaskWalletIdConnectHandler } = useContext(MetamaskProviderContext); + const connectHandler = () => { + trackClickForSegment({ + eventName: "Connect wallet", + clickType: "Connect wallet", + userExperience: "B", + }); + metaMaskWalletIdConnectHandler(); + }; return (
-
Connect your MetaMask wallet to send requests to your Infura API keys.
+
+ Connect your MetaMask wallet to run requests successfully. +
diff --git a/src/components/ParserOpenRPC/CollapseBox/styles.module.css b/src/components/ParserOpenRPC/CollapseBox/styles.module.css index f7dcb0bb5fa..6735de679ea 100644 --- a/src/components/ParserOpenRPC/CollapseBox/styles.module.css +++ b/src/components/ParserOpenRPC/CollapseBox/styles.module.css @@ -61,7 +61,7 @@ border-color: transparent; width: 100%; border-radius: 0; - border-bottom: 1px solid #848C96; + border-bottom: 1px solid #848c96; } .collapsedBtnView:hover { diff --git a/src/components/ParserOpenRPC/DetailsBox/RenderParams.tsx b/src/components/ParserOpenRPC/DetailsBox/RenderParams.tsx index 87c8d128488..887b977a4f5 100644 --- a/src/components/ParserOpenRPC/DetailsBox/RenderParams.tsx +++ b/src/components/ParserOpenRPC/DetailsBox/RenderParams.tsx @@ -145,7 +145,7 @@ const renderSchema = (schemaItem, schemas, name) => { renderEnum( schemaItem.schema.enum, schemaItem.schema.title, - schemaItem.schema.description + schemaItem.schema.description, )}
); diff --git a/src/components/ParserOpenRPC/DetailsBox/index.tsx b/src/components/ParserOpenRPC/DetailsBox/index.tsx index 8f2afb5dafd..912b1640e9e 100644 --- a/src/components/ParserOpenRPC/DetailsBox/index.tsx +++ b/src/components/ParserOpenRPC/DetailsBox/index.tsx @@ -22,6 +22,7 @@ interface DetailsBoxProps { components: SchemaComponents; result: any; tags: TagItem[]; + extraContent?: JSX.Element; } export default function DetailsBox({ @@ -31,6 +32,7 @@ export default function DetailsBox({ components, result, tags, + extraContent, }: DetailsBoxProps) { return ( <> @@ -45,11 +47,12 @@ export default function DetailsBox({ )} {method} + {extraContent &&
{extraContent}
} Parameters @@ -64,7 +67,7 @@ export default function DetailsBox({ className={clsx( styles.secondaryHeading, styles.borderBottomLine, - "padding-top--lg padding-vert--md" + "padding-top--lg padding-vert--md", )} > Returns diff --git a/src/components/ParserOpenRPC/DetailsBox/styles.module.css b/src/components/ParserOpenRPC/DetailsBox/styles.module.css index cc1a3f5c1ec..c987038ca28 100644 --- a/src/components/ParserOpenRPC/DetailsBox/styles.module.css +++ b/src/components/ParserOpenRPC/DetailsBox/styles.module.css @@ -23,7 +23,7 @@ } .paramItemWrapper:not(:first-child) { - border-top: 1px solid #848C96; + border-top: 1px solid #848c96; } .borderTopLine { diff --git a/src/components/ParserOpenRPC/ErrorsBox/index.tsx b/src/components/ParserOpenRPC/ErrorsBox/index.tsx index e38c73430af..276a12ddebe 100644 --- a/src/components/ParserOpenRPC/ErrorsBox/index.tsx +++ b/src/components/ParserOpenRPC/ErrorsBox/index.tsx @@ -32,7 +32,7 @@ export default function ErrorsBox({ errors }: ErrorsBoxProps) { styles.errRowHeading, colorMode === "light" ? styles.errRowHeadingLightView - : styles.errRowHeadingDarkView + : styles.errRowHeadingDarkView, )} >
Code
diff --git a/src/components/ParserOpenRPC/InteractiveBox/fields/ConditionalField.tsx b/src/components/ParserOpenRPC/InteractiveBox/fields/ConditionalField.tsx index 8730c23cd85..9aa0368154f 100644 --- a/src/components/ParserOpenRPC/InteractiveBox/fields/ConditionalField.tsx +++ b/src/components/ParserOpenRPC/InteractiveBox/fields/ConditionalField.tsx @@ -27,14 +27,14 @@ export const ConditionalField = (props: FieldTemplateProps) => { }; const onDropdownOptionClick = (e) => { const selectedSchema = listItems.find( - ({ title }) => title === e.target.dataset.value + ({ title }) => title === e.target.dataset.value, ); const isNullTypeSchema = checkForNullTypeSchema(selectedSchema?.type); if (isNullTypeSchema) { onChange(null); } else { setSelectedTypeSchema( - listItems.find(({ title }) => title === e.target.dataset.value) + listItems.find(({ title }) => title === e.target.dataset.value), ); showComplexTypeView(); } @@ -80,7 +80,7 @@ export const ConditionalField = (props: FieldTemplateProps) => { { setIsOpened(!isOpened); @@ -93,21 +93,21 @@ export const ConditionalField = (props: FieldTemplateProps) => { styles.tableColumnIcon, styles.chevronIcon, styles.dropdownChevronIcon, - !isOpened && styles.chevronIconDown + !isOpened && styles.chevronIconDown, )} />
    {listItems?.map((listItem, index) => ( diff --git a/src/components/ParserOpenRPC/InteractiveBox/index.tsx b/src/components/ParserOpenRPC/InteractiveBox/index.tsx index 408d8660bd8..252a0412b2b 100644 --- a/src/components/ParserOpenRPC/InteractiveBox/index.tsx +++ b/src/components/ParserOpenRPC/InteractiveBox/index.tsx @@ -23,11 +23,11 @@ import { WrapIfAdditionalTemplate } from "@site/src/components/ParserOpenRPC/Int import { ConditionalField } from "@site/src/components/ParserOpenRPC/InteractiveBox/fields/ConditionalField"; import { DropdownWidget } from "@site/src/components/ParserOpenRPC/InteractiveBox/widgets/DropdownWidget"; import { SelectWidget } from "@site/src/components/ParserOpenRPC/InteractiveBox/widgets/SelectWidget"; -import { Tooltip } from "@site/src/components/ParserOpenRPC/Tooltip"; +import { Tooltip } from "@site/src/components/Tooltip"; import { useColorMode } from "@docusaurus/theme-common"; import { ParserOpenRPCContext } from "@site/src/components/ParserOpenRPC"; import { MetamaskProviderContext } from "@site/src/theme/Root"; -import * as isObject from "lodash.isobject" +import * as isPlainObject from "lodash.isplainobject"; import { RemoveButton } from "@site/src/components/ParserOpenRPC/InteractiveBox/buttonTemplates/RemoveButton"; import { AddButton } from "@site/src/components/ParserOpenRPC/InteractiveBox/buttonTemplates/AddButton"; @@ -44,12 +44,15 @@ interface InteractiveBoxProps { type ObjectType = { [key: string]: any }; type KeyOrderType = { name: string }; -function sortObjectKeysByArray(obj: ObjectType, orderArray: KeyOrderType[]): ObjectType { +function sortObjectKeysByArray( + obj: ObjectType, + orderArray: KeyOrderType[] +): ObjectType { const result: ObjectType = {}; for (const { name } of orderArray) { - if (name in obj) { - result[name] = obj[name]; - } + if (name in obj) { + result[name] = obj[name]; + } } return result; } @@ -57,13 +60,13 @@ function sortObjectKeysByArray(obj: ObjectType, orderArray: KeyOrderType[]): Obj function removeEmptyArrays>(obj: T): T { const newObj = JSON.parse(JSON.stringify(obj)); for (const key in newObj) { - if (newObj.hasOwnProperty(key)) { - if (Array.isArray(newObj[key]) && newObj[key].length === 0) { - delete newObj[key]; - } else if (newObj[key] !== null && typeof newObj[key] === "object") { - newObj[key] = removeEmptyArrays(newObj[key]); - } + if (newObj.hasOwnProperty(key)) { + if (Array.isArray(newObj[key]) && newObj[key].length === 0) { + delete newObj[key]; + } else if (newObj[key] !== null && typeof newObj[key] === "object") { + newObj[key] = removeEmptyArrays(newObj[key]); } + } } return newObj; } @@ -75,59 +78,68 @@ export default function InteractiveBox({ onParamChange, drawerLabel, closeComplexTypeView, - isOpen = false + isOpen = false, }: InteractiveBoxProps) { const [parsedSchema, setParsedSchema] = useState(null); const [defaultFormData, setDefaultFormData] = useState({}); const [currentFormData, setCurrentFormData] = useState({}); const [isFormReseted, setIsFormReseted] = useState(false); const [currentSchemaId, setCurrentSchemaId] = useState(""); - const [objectPropertyBeforeEdit, setObjectPropertyBeforeEdit] = useState(null); + const [objectPropertyBeforeEdit, setObjectPropertyBeforeEdit] = + useState(null); const [objectValueBeforeEdit, setObjectValueBeforeEdit] = useState(null); const formRef = useRef(null); const { colorMode } = useColorMode(); const { isComplexTypeView } = useContext(ParserOpenRPCContext); const { metaMaskAccount } = useContext(MetamaskProviderContext); - const addWalletId = (propName) => ({[propName]: metaMaskAccount}) + const addWalletId = (propName) => ({ [propName]: metaMaskAccount }); const getObjectWithAddress = (value) => { - const addressField = "address" - const fromField = "from" + const addressField = "address"; + const fromField = "from"; if (Object.keys(value).includes(addressField)) { return { ...value, - ...addWalletId(addressField) - } + ...addWalletId(addressField), + }; } if (Object.keys(value).includes(fromField)) { return { ...value, - ...addWalletId(fromField) - } + ...addWalletId(fromField), + }; } - return value - } + return value; + }; const checkName = (name: string) => { if (name === "requestPermissionObject") return "requestPermissionsObject"; return name; - } + }; useEffect(() => { if (examples && examples.length > 0 && examples[0].params) { - const defaultValues = Object.fromEntries(examples[0].params.map(({ name, value }) => { - if (metaMaskAccount) { - if (name === "Address" || name === "From") { - return [checkName(name), metaMaskAccount] + const defaultValues = Object.fromEntries( + examples[0].params.map(({ name, value }) => { + if (metaMaskAccount) { + if (name === "Address" || name === "From") { + return [checkName(name), metaMaskAccount]; + } + if (isPlainObject(value)) { + return [checkName(name), getObjectWithAddress(value)]; + } } - if (isObject(value)) { - return [checkName(name), getObjectWithAddress(value)] + if (isPlainObject(value)) { + return [ + checkName(name), + Object.fromEntries(Object.entries(value).map(([key, val]) => [key, isPlainObject(val) && val?.description ? val.value : val])) + ]; } - } - return [checkName(name), value] - })); - setDefaultFormData({...defaultValues}); - setCurrentFormData({...defaultValues}); - onParamChange({...defaultValues}); + return [checkName(name), value]; + }) + ); + setDefaultFormData({ ...defaultValues }); + setCurrentFormData({ ...defaultValues }); + onParamChange({ ...defaultValues }); } }, [examples, metaMaskAccount]); @@ -144,7 +156,7 @@ export default function InteractiveBox({ "ui:globalOptions": { label: false, }, - "ui:widget": "checkbox" + "ui:widget": "checkbox", }; const templates = { BaseInputTemplate, @@ -153,7 +165,7 @@ export default function InteractiveBox({ ObjectFieldTemplate, FieldErrorTemplate: () => null, ErrorListTemplate: () => null, - ButtonTemplates: { AddButton, RemoveButton } + ButtonTemplates: { AddButton, RemoveButton }, }; const widgets: RegistryWidgetsType = { CheckboxWidget: DropdownWidget, @@ -165,8 +177,8 @@ export default function InteractiveBox({ }; const handleResetForm = (e) => { e.preventDefault(); - setCurrentFormData({...defaultFormData}); - onParamChange({...defaultFormData}); + setCurrentFormData({ ...defaultFormData }); + onParamChange({ ...defaultFormData }); setIsFormReseted(true); }; const handleClearForm = (e) => { @@ -228,7 +240,10 @@ export default function InteractiveBox({ if (Object.keys(obj).length === 0) { newObj[prop] = {}; } else if (typeof obj[prop] === "object" && obj[prop] !== null) { - newObj[objectPropertyBeforeEdit] = cloneObjectAndSetNullIfExists(obj[prop], key); + newObj[objectPropertyBeforeEdit] = cloneObjectAndSetNullIfExists( + obj[prop], + key + ); } else { newObj[prop] = obj[prop]; } @@ -242,8 +257,11 @@ export default function InteractiveBox({ if (drawerLabel) { const currentKey = Object.keys(currentFormData)[0]; if (objectPropertyBeforeEdit && currentKey) { - const upData = cloneObjectAndSetNullIfExists(currentFormData[currentKey], objectPropertyBeforeEdit); - setCurrentFormData({[currentKey]: upData}); + const upData = cloneObjectAndSetNullIfExists( + currentFormData[currentKey], + objectPropertyBeforeEdit + ); + setCurrentFormData({ [currentKey]: upData }); setObjectPropertyBeforeEdit(null); setObjectValueBeforeEdit(null); } else { @@ -263,7 +281,7 @@ export default function InteractiveBox({
    @@ -78,7 +78,7 @@ export const ArrayFieldTemplate = ({ styles.chevronIcon, isSimpleArray ? collapsed && styles.chevronIconDown - : styles.chevronIconRight + : styles.chevronIconRight, )} /> @@ -94,7 +94,7 @@ export const ArrayFieldTemplate = ({