diff --git a/developer-tools/dashboard/get-started/create-api.md b/developer-tools/dashboard/get-started/create-api.md index 7e775826b99..2bacec389ba 100644 --- a/developer-tools/dashboard/get-started/create-api.md +++ b/developer-tools/dashboard/get-started/create-api.md @@ -38,7 +38,7 @@ To create an API key: 1. From the pop-up window, provide a name, then click **CREATE**. 1. Select the networks that you want your API key to access, and select **Save Changes**. -You can [configure additional security](./secure-an-api/) for your API key by requiring an API key secret or JWTs with +You can [configure additional security](../how-to/secure-an-api/api-key-secret.md) for your API key by requiring an API key secret or JWTs with each API request. ## Best practices for configuring API key endpoints diff --git a/docs/whats-new.md b/docs/whats-new.md index 1c8919ce993..95b25fc4b30 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -9,6 +9,11 @@ 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/). +## July 2024 + +- Documented support for the [ZKsync Era network API service](/services/reference/zksync). ([#1372](https://github.com/MetaMask/metamask-docs/pull/1372)) +- Added [Services](/services) and [Developer tools](/developer-tools) to MetaMask documentation. ([#1325](https://github.com/MetaMask/metamask-docs/pull/1325)) + ## June 2024 - Updated [React dapp with global state tutorial](/wallet/tutorials/react-dapp-global-state) with diff --git a/package.json b/package.json index f6c4685eab8..285576e4c7d 100644 --- a/package.json +++ b/package.json @@ -105,4 +105,4 @@ "$root$": false } } -} +} \ No newline at end of file diff --git a/services/get-started/endpoints.md b/services/get-started/endpoints.md index 76980aae3ed..75e8f16ab3f 100644 --- a/services/get-started/endpoints.md +++ b/services/get-started/endpoints.md @@ -143,6 +143,12 @@ Sepolia instead. | Mainnet | JSON-RPC over HTTPS | `https://starknet-mainnet.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://starknet-sepolia.infura.io/v3/` | +## ZKsync Era + +| Network | Description | URL | +|-------------------|---------------------|-------------------------------------------------| +| Mainnet | JSON-RPC over HTTPS | `https://zksync-mainnet.infura.io/v3/` | +| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://zksync-sepolia.infura.io/v3/` | ## Gas API @@ -223,7 +229,7 @@ Specify the chain ID in your request to interact with the relevant network. | Mainnet | 137 | | Amoy | 80002 | -#### zkSync Era +#### ZKsync Era | Network | Chain ID | | ------- | -------- | diff --git a/services/reference/_partials/trace-methods/_trace_call-returns.mdx b/services/reference/_partials/trace-methods/_trace_call-returns.mdx index 65420bc1ed6..c9bc6c98e2f 100644 --- a/services/reference/_partials/trace-methods/_trace_call-returns.mdx +++ b/services/reference/_partials/trace-methods/_trace_call-returns.mdx @@ -1,2 +1,2 @@ -- `result`: A trace object that includes the [`trace`](../../reference/ethereum/json-rpc-methods/trace-methods/index.md#trace) and [`stateDiff`](../../ethereum/json-rpc-methods/trace-methods/index.md#statediff). +- `result`: A trace object that includes the [`trace`](../../ethereum/json-rpc-methods/trace-methods/index.md#trace) and [`stateDiff`](../../ethereum/json-rpc-methods/trace-methods/index.md#statediff). diff --git a/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx b/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx index 4d838c51042..3185d971804 100644 --- a/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx +++ b/services/reference/_partials/trace-methods/_trace_callmany-parameters.mdx @@ -1,3 +1,3 @@ - `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`](./#trace) and [`stateDiff`](./#statediff). Specify both options or none. +- `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. diff --git a/services/reference/arbitrum/index.md b/services/reference/arbitrum/index.md index 2584307d36b..f5b0fc5646c 100644 --- a/services/reference/arbitrum/index.md +++ b/services/reference/arbitrum/index.md @@ -56,4 +56,4 @@ No personal information is sent as part of partner requests, only information ne For any parameters required in an RPC request, these could be the type that describe the method, addresses, gas, and session. -Liquify (Privacy Policy) is Infura's failover-protection partner and currently offer failover support for all Infura's Arbitrum methods. \ No newline at end of file +Liquify ([Privacy Policy](https://www.liquify.com/Liquify_RPC_PP.pdf)) is Infura's failover-protection partner and currently offer failover support for all Infura's Arbitrum methods. \ No newline at end of file diff --git a/services/reference/arbitrum/quickstart.md b/services/reference/arbitrum/quickstart.md index 26c7ee74c0f..b773dd49738 100644 --- a/services/reference/arbitrum/quickstart.md +++ b/services/reference/arbitrum/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://arbitrum-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -115,7 +115,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta #### Ethers -1. In your project folder, install the ethers package using npm: +1. In your project folder, install the `ethers` package using npm: ```bash npm install ethers diff --git a/services/reference/avalanche-c-chain/index.md b/services/reference/avalanche-c-chain/index.md index 242feb851aa..413ce92a245 100644 --- a/services/reference/avalanche-c-chain/index.md +++ b/services/reference/avalanche-c-chain/index.md @@ -55,4 +55,4 @@ No personal information is sent as part of partner requests, only information ne For any parameters required in an RPC request, these could be the type that describe the method, addresses, gas, and session. -Liquify (Privacy Policy) is Infura's failover-protection partner and currently offer failover support for all Infura's Avalanche (C-Chain) methods. \ No newline at end of file +Liquify ([Privacy Policy](https://www.liquify.com/Liquify_RPC_PP.pdf)) is Infura's failover-protection partner and currently offer failover support for all Infura's Avalanche (C-Chain) methods. \ No newline at end of file diff --git a/services/reference/avalanche-c-chain/quickstart.md b/services/reference/avalanche-c-chain/quickstart.md index 6c3f8ea1654..f0f5819d6a3 100644 --- a/services/reference/avalanche-c-chain/quickstart.md +++ b/services/reference/avalanche-c-chain/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -86,7 +86,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/base/quickstart.md b/services/reference/base/quickstart.md index 8ec9dbd299e..12a089f2513 100644 --- a/services/reference/base/quickstart.md +++ b/services/reference/base/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://base-sepolia.infura.io/v3/YOUR-API-KEY \ @@ -36,13 +36,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Node Fetch -1. In your project folder, install the Node Fetch package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/blast/quickstart.md b/services/reference/blast/quickstart.md index cdf0bd035fc..3fb653abfb1 100644 --- a/services/reference/blast/quickstart.md +++ b/services/reference/blast/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://blast-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -36,7 +36,7 @@ In these examples, you'll use [NPM](https://docs.npmjs.com/downloading-and-insta #### Node Fetch -1. In your project folder, install the Node Fetch package using `npm`: +1. In your project folder, install the `node-fetch` package using `npm`: ```bash npm i node-fetch diff --git a/services/reference/celo/quickstart.md b/services/reference/celo/quickstart.md index 5dedaa8a8ce..4abb412b5bb 100644 --- a/services/reference/celo/quickstart.md +++ b/services/reference/celo/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://celo-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -36,13 +36,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Node Fetch -1. In your project folder, install the Node Fetch package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/ethereum/quickstart.md b/services/reference/ethereum/quickstart.md index 74758cd7593..ff845b5b571 100644 --- a/services/reference/ethereum/quickstart.md +++ b/services/reference/ethereum/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://mainnet.infura.io/v3/YOUR-API-KEY \ @@ -63,7 +63,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i node-fetch `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -107,7 +107,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -136,13 +136,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -170,7 +170,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta 1. In your project folder, [install the latest version of the web3.js library](https://www.npmjs.com/package/web3?activeTab=versions) -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/linea/quickstart.md b/services/reference/linea/quickstart.md index c5d9671230d..23cabdf5291 100644 --- a/services/reference/linea/quickstart.md +++ b/services/reference/linea/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://linea-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -42,7 +42,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i node-fetch `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -191,7 +191,7 @@ by Infura. Here are some suggestions: - **Explore other Linea 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 Arbitrum, Polygon, Optimism, IPFS and more. +- **Try out different networks**: Infura supports multiple networks including Arbitrum, Polygon, Optimism, IPFS, 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. diff --git a/services/reference/mantle/quickstart.md b/services/reference/mantle/quickstart.md index 26510c856e1..f7cabe81179 100644 --- a/services/reference/mantle/quickstart.md +++ b/services/reference/mantle/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://mantle-mainnet.infura.io/v3/YOUR-API-KEY \ diff --git a/services/reference/optimism/index.md b/services/reference/optimism/index.md index af3dc8468ad..7eb0cec2e7e 100644 --- a/services/reference/optimism/index.md +++ b/services/reference/optimism/index.md @@ -52,7 +52,7 @@ No personal information is sent as part of partner requests, only information ne For any parameters required in an RPC request, these could be the type that describe the method, addresses, gas, and session. -Bware Labs (Terms of Service, Privacy Policy) is Infura's failover-protection partner. While Bware Labs supports most Infura methods, it does not yet support the following methods: +Bware Labs ([Terms of Service](https://bwarelabs.com/terms), [Privacy Policy](https://bwarelabs.com/privacy)) is Infura's failover-protection partner. While Bware Labs supports most Infura methods, it does not yet support the following methods: - `eth_accounts` - `eth_coinbase` diff --git a/services/reference/optimism/quickstart.md b/services/reference/optimism/quickstart.md index b06b9954095..c62502c9004 100644 --- a/services/reference/optimism/quickstart.md +++ b/services/reference/optimism/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://optimism-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -42,7 +42,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i node-fetch `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -153,7 +153,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal pip install requests `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/palm/quickstart.md b/services/reference/palm/quickstart.md index 50c2e6098fe..33d5d376e02 100644 --- a/services/reference/palm/quickstart.md +++ b/services/reference/palm/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://palm-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -42,7 +42,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i node-fetch `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -153,7 +153,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal pip install requests `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -191,7 +191,7 @@ by Infura. Here are some suggestions: - **Explore other Palm 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 Arbitrum, Polygon, Optimism, IPFS and more. +- **Try out different networks**: Infura supports multiple networks including Arbitrum, Polygon, Optimism, IPFS, 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. diff --git a/services/reference/polygon-pos/index.md b/services/reference/polygon-pos/index.md index 1fd318b7942..7a905326d1a 100644 --- a/services/reference/polygon-pos/index.md +++ b/services/reference/polygon-pos/index.md @@ -52,7 +52,10 @@ No personal information is sent as part of partner requests, only information ne For any parameters required in an RPC request, these could be the type that describe the method, addresses, gas, and session. -Rivet.Cloud (Terms of Service, Privacy Policy) is Infura's failover-protection partner. While Rivet.Cloud supports most Infura methods, it does not yet support the following methods: + +Rivet.Cloud ([Terms of Service](https://rivet.cloud/terms), [Privacy Policy](https://rivet.cloud/privacy-policy)) is Infura's failover-protection partner. While Rivet.Cloud supports most Infura methods, +it does not yet support the following methods: + - `eth_accounts` - `eth_coinbase` diff --git a/services/reference/polygon-pos/quickstart.md b/services/reference/polygon-pos/quickstart.md index 1cc6b27e389..a5641fbea60 100644 --- a/services/reference/polygon-pos/quickstart.md +++ b/services/reference/polygon-pos/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://polygon-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -42,7 +42,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i node-fetch `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -115,13 +115,13 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal #### Ethers -1. In your project folder, install the ethers package using npm: +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: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -153,7 +153,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal pip install requests `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/starknet/quickstart.md b/services/reference/starknet/quickstart.md index 082da2b1c28..b5a4fad9c5b 100644 --- a/services/reference/starknet/quickstart.md +++ b/services/reference/starknet/quickstart.md @@ -21,7 +21,7 @@ Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/c ### 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, replacing `YOUR-API-KEY` with your actual Infura API key: ```bash curl https://starknet-mainnet.infura.io/v3/YOUR-API-KEY \ @@ -42,7 +42,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i node-fetch `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. @@ -86,7 +86,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta npm i axios `````` -1. Create your Javascript file and copy the following code: +1. Create your JavaScript file and copy the following code: Replace `YOUR-API-KEY` with your actual Infura API key. diff --git a/services/reference/zksync/index.md b/services/reference/zksync/index.md new file mode 100644 index 00000000000..e0b3d63f188 --- /dev/null +++ b/services/reference/zksync/index.md @@ -0,0 +1,54 @@ +--- +description: ZKsync Era network documentation +--- + +import CardList from '@site/src/components/CardList' + +# ZKsync Era + +:::note Decentralized Infrastructure Network (DIN) + +ZKsync Era 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 public beta access to ZKsync Era. + +Currently, historical state data starting from June 19th, 2024 is available. Full historical state information for ZKsync Era will be announced when it is available. + +::: + +ZKsync Era is a zero-knowledge Ethereum Virtual Machine (zkEVM) that scales Ethereum. + +:::info see also + + See the [official ZKsync Era documentation](https://docs.zksync.io/build) for more information. + +::: + + + +## Partners and privacy policies + +The following partners provide access to the ZKsync Era network: + +- Chainstack ([Terms of Use](https://chainstack.com/tos/), [Privacy Policy](https://chainstack.com/privacy/)) +- Laconic LLC ([Privacy Policy](https://www.laconic.com/privacy-policy)) + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx new file mode 100644 index 00000000000..739b121d5f6 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_accounts-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..73ecee54150 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_blocknumber-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..333efb54d0a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_call-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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/zksync/json-rpc-methods/_eth_chainid-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_chainid-request.mdx new file mode 100644 index 00000000000..9be3ef3151a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_chainid-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..0f27f84d6c0 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_estimategas-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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/zksync/json-rpc-methods/_eth_feehistory-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_feehistory-request.mdx new file mode 100644 index 00000000000..efe6417536d --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_feehistory-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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/zksync/json-rpc-methods/_eth_gasprice-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gasprice-request.mdx new file mode 100644 index 00000000000..36e82128e96 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_gasprice-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..582337a9284 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getbalance-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..80feb74336a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getblockbyhash-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```bash +curl https://zksync-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}' +``` + + + + diff --git a/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx new file mode 100644 index 00000000000..2a6153d7938 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getblockbynumber-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..2460ed5c6c6 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbyhash-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..b9a30174b26 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getblocktransactioncountbynumber-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..4b1984b6a0b --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getcode-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..cc895cc8edb --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getlogs-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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/zksync/json-rpc-methods/_eth_getproof-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_getproof-request.mdx new file mode 100644 index 00000000000..4caa69c1a08 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getproof-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..adca0e16a6d --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getstorageat-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx new file mode 100644 index 00000000000..058d70bec5a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblockhashandindex-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..a87a7e0ce97 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyblocknumberandindex-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..1759f9d47ed --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionbyhash-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..04dc2f7ed43 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactioncount-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..c1277770c69 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_gettransactionreceipt-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params": ["0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0"],"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 new file mode 100644 index 00000000000..8a3e3333b34 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclebyblockhashandindex-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..863d8d0f3ab --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclebyblocknumberandindex-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..4b102693c0b --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblockhash-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..de940b927dd --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getunclecountbyblocknumber-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params": ["0x5bad55"],"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 new file mode 100644 index 00000000000..d3b95f0f21a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_getwork-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..86c568c780a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_hashrate-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..6c5f592aba3 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_maxpriorityfeepergas-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..37fff78761f --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_mining-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..a865c66b3ca --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_protocolversion-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..eb1e8a83c20 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_sendrawtransaction-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..c9ba7e50d03 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_submitwork-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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/zksync/json-rpc-methods/_eth_syncing-request.mdx b/services/reference/zksync/json-rpc-methods/_eth_syncing-request.mdx new file mode 100644 index 00000000000..3d84157b04b --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_eth_syncing-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..bb3b35099ae --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_net_listening-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..125d0818af3 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_net_peercount-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..3e053fe78f7 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_net_version-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"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 new file mode 100644 index 00000000000..5fbf2629b02 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/_web3_clientversion-request.mdx @@ -0,0 +1,16 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params": [],"id":1}' + ``` + + + + diff --git a/services/reference/zksync/json-rpc-methods/eth_accounts.mdx b/services/reference/zksync/json-rpc-methods/eth_accounts.mdx new file mode 100644 index 00000000000..0cc7304b6ec --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_blocknumber.mdx b/services/reference/zksync/json-rpc-methods/eth_blocknumber.mdx new file mode 100644 index 00000000000..7896c8c46f6 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_call.mdx b/services/reference/zksync/json-rpc-methods/eth_call.mdx new file mode 100644 index 00000000000..88b3857775d --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_chainid.mdx b/services/reference/zksync/json-rpc-methods/eth_chainid.mdx new file mode 100644 index 00000000000..e544b1003a4 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_coinbase.mdx b/services/reference/zksync/json-rpc-methods/eth_coinbase.mdx new file mode 100644 index 00000000000..e9bb3ff61cd --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_coinbase.mdx @@ -0,0 +1,10 @@ +--- +title: "eth_coinbase" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_coinbase-description.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_estimategas.mdx b/services/reference/zksync/json-rpc-methods/eth_estimategas.mdx new file mode 100644 index 00000000000..af6c5ad77da --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_feehistory.mdx b/services/reference/zksync/json-rpc-methods/eth_feehistory.mdx new file mode 100644 index 00000000000..21e4962e114 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_gasprice.mdx b/services/reference/zksync/json-rpc-methods/eth_gasprice.mdx new file mode 100644 index 00000000000..c602d61c293 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getbalance.mdx b/services/reference/zksync/json-rpc-methods/eth_getbalance.mdx new file mode 100644 index 00000000000..c50eba5fd61 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getblockbyhash.mdx b/services/reference/zksync/json-rpc-methods/eth_getblockbyhash.mdx new file mode 100644 index 00000000000..ad555110b71 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getblockbynumber.mdx b/services/reference/zksync/json-rpc-methods/eth_getblockbynumber.mdx new file mode 100644 index 00000000000..2faabaa3e86 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getblocktransactioncountbyhash.mdx b/services/reference/zksync/json-rpc-methods/eth_getblocktransactioncountbyhash.mdx new file mode 100644 index 00000000000..aacb2e0e3af --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getblocktransactioncountbynumber.mdx b/services/reference/zksync/json-rpc-methods/eth_getblocktransactioncountbynumber.mdx new file mode 100644 index 00000000000..161e7fe344b --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getcode.mdx b/services/reference/zksync/json-rpc-methods/eth_getcode.mdx new file mode 100644 index 00000000000..8364a077f09 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getlogs.mdx b/services/reference/zksync/json-rpc-methods/eth_getlogs.mdx new file mode 100644 index 00000000000..546d66f9148 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getproof.mdx b/services/reference/zksync/json-rpc-methods/eth_getproof.mdx new file mode 100644 index 00000000000..7cb028bd44f --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getstorageat.mdx b/services/reference/zksync/json-rpc-methods/eth_getstorageat.mdx new file mode 100644 index 00000000000..aee85d0fde8 --- /dev/null +++ b/services/reference/zksync/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 "/services/reference/_partials/_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/zksync/json-rpc-methods/eth_gettransactionbyblockhashandindex.mdx b/services/reference/zksync/json-rpc-methods/eth_gettransactionbyblockhashandindex.mdx new file mode 100644 index 00000000000..5422dc7f552 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_gettransactionbyblocknumberandindex.mdx b/services/reference/zksync/json-rpc-methods/eth_gettransactionbyblocknumberandindex.mdx new file mode 100644 index 00000000000..6861fb566a4 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_gettransactionbyhash.mdx b/services/reference/zksync/json-rpc-methods/eth_gettransactionbyhash.mdx new file mode 100644 index 00000000000..1adc6ff1eb4 --- /dev/null +++ b/services/reference/zksync/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 "/services/reference/_partials/_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/zksync/json-rpc-methods/eth_gettransactioncount.mdx b/services/reference/zksync/json-rpc-methods/eth_gettransactioncount.mdx new file mode 100644 index 00000000000..73985353185 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_gettransactionreceipt.mdx b/services/reference/zksync/json-rpc-methods/eth_gettransactionreceipt.mdx new file mode 100644 index 00000000000..370d08c0402 --- /dev/null +++ b/services/reference/zksync/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 "/services/reference/_partials/_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/zksync/json-rpc-methods/eth_getunclebyblockhashandindex.mdx b/services/reference/zksync/json-rpc-methods/eth_getunclebyblockhashandindex.mdx new file mode 100644 index 00000000000..dce1f045d95 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getunclebyblocknumberandindex.mdx b/services/reference/zksync/json-rpc-methods/eth_getunclebyblocknumberandindex.mdx new file mode 100644 index 00000000000..321c22c4ce0 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_getunclebyblocknumberandindex.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getUncleByBlockNumberAndIndex" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_getunclebyblocknumberandindex-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getunclebyblocknumberandindex-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getunclebyblocknumberandindex-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getunclebyblocknumberandindex-example.mdx"; + + + +### Request + +import Request from "./_eth_getunclebyblocknumberandindex-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getunclebyblocknumberandindex-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_getunclecountbyblockhash.mdx b/services/reference/zksync/json-rpc-methods/eth_getunclecountbyblockhash.mdx new file mode 100644 index 00000000000..c21e8c283a8 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_getunclecountbyblockhash.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getUncleCountByBlockHash" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_getunclecountbyblockhash-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getunclecountbyblockhash-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getunclecountbyblockhash-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getunclecountbyblockhash-example.mdx"; + + + +### Request + +import Request from "./_eth_getunclecountbyblockhash-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getunclecountbyblockhash-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_getunclecountbyblocknumber.mdx b/services/reference/zksync/json-rpc-methods/eth_getunclecountbyblocknumber.mdx new file mode 100644 index 00000000000..824fdf8de1b --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_getwork.mdx b/services/reference/zksync/json-rpc-methods/eth_getwork.mdx new file mode 100644 index 00000000000..ff9964e4737 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_getwork.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_getWork" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_getwork-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_getwork-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_getwork-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_getwork-example.mdx"; + + + +### Request + +import Request from "./_eth_getwork-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_getwork-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_hashrate.mdx b/services/reference/zksync/json-rpc-methods/eth_hashrate.mdx new file mode 100644 index 00000000000..8ea8d622b56 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_hashrate.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_hashrate" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_hashrate-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_hashrate-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_hashrate-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_hashrate-example.mdx"; + + + +### Request + +import Request from "./_eth_hashrate-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_hashrate-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_maxpriorityfeepergas.mdx b/services/reference/zksync/json-rpc-methods/eth_maxpriorityfeepergas.mdx new file mode 100644 index 00000000000..87e39538aaf --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_mining.mdx b/services/reference/zksync/json-rpc-methods/eth_mining.mdx new file mode 100644 index 00000000000..8b17ae80655 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_mining.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_mining" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_mining-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_mining-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_mining-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_mining-example.mdx"; + + + +### Request + +import Request from "./_eth_mining-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_mining-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_protocolversion.mdx b/services/reference/zksync/json-rpc-methods/eth_protocolversion.mdx new file mode 100644 index 00000000000..38863109276 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_protocolversion.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_protocolVersion" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_protocolversion-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_protocolversion-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_protocolversion-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_protocolversion-example.mdx"; + + + +### Request + +import Request from "./_eth_protocolversion-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_protocolversion-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_sendrawtransaction.mdx b/services/reference/zksync/json-rpc-methods/eth_sendrawtransaction.mdx new file mode 100644 index 00000000000..4dfc4e6f296 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_sendtransaction.mdx b/services/reference/zksync/json-rpc-methods/eth_sendtransaction.mdx new file mode 100644 index 00000000000..ac6ebfd02dd --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/eth_sign.mdx b/services/reference/zksync/json-rpc-methods/eth_sign.mdx new file mode 100644 index 00000000000..073b1040681 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_sign.mdx @@ -0,0 +1,10 @@ +--- +title: "eth_sign" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_sign-description.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_submitwork.mdx b/services/reference/zksync/json-rpc-methods/eth_submitwork.mdx new file mode 100644 index 00000000000..b286c9b49de --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/eth_submitwork.mdx @@ -0,0 +1,40 @@ +--- +title: "eth_submitWork" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_eth_submitwork-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_eth_submitwork-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_eth_submitwork-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_eth_submitwork-example.mdx"; + + + +### Request + +import Request from "./_eth_submitwork-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_eth_submitwork-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/eth_syncing.mdx b/services/reference/zksync/json-rpc-methods/eth_syncing.mdx new file mode 100644 index 00000000000..bfb89e8c209 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/index.md b/services/reference/zksync/json-rpc-methods/index.md new file mode 100644 index 00000000000..62d3facbf45 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/index.md @@ -0,0 +1,4 @@ +# JSON-RPC methods + +ZKsync Era supports the standard Ethereum JSON-RPC-APIs and additional +ZKsync Era-specific methods not supported on Ethereum. \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/net_listening.mdx b/services/reference/zksync/json-rpc-methods/net_listening.mdx new file mode 100644 index 00000000000..10de017b29a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/net_listening.mdx @@ -0,0 +1,40 @@ +--- +title: "net_listening" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +import Description from "/services/reference/_partials/_net_listening-description.mdx"; + + + +## Parameters + +import Params from "/services/reference/_partials/_net_listening-parameters.mdx"; + + + +## Returns + +import Returns from "/services/reference/_partials/_net_listening-returns.mdx"; + + + +## Example + +import Example from "/services/reference/_partials/_net_listening-example.mdx"; + + + +### Request + +import Request from "./_net_listening-request.mdx"; + + + +### Response + +import Response from "/services/reference/_partials/_net_listening-response.mdx"; + + diff --git a/services/reference/zksync/json-rpc-methods/net_peercount.mdx b/services/reference/zksync/json-rpc-methods/net_peercount.mdx new file mode 100644 index 00000000000..9ff570e4c70 --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/net_version.mdx b/services/reference/zksync/json-rpc-methods/net_version.mdx new file mode 100644 index 00000000000..d55ab80402d --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/web3_clientversion.mdx b/services/reference/zksync/json-rpc-methods/web3_clientversion.mdx new file mode 100644 index 00000000000..11997e5c36d --- /dev/null +++ b/services/reference/zksync/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/zksync/json-rpc-methods/zks_estimatefee.mdx b/services/reference/zksync/json-rpc-methods/zks_estimatefee.mdx new file mode 100644 index 00000000000..df96e7c084c --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_estimatefee.mdx @@ -0,0 +1,62 @@ +--- +title: "zks_estimateFee" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the fee for the transaction. + +## Parameters + +- `from`: [_Required_] Address from which the transaction is sent. +- `to`: [_Required_] Address to which the transaction is addressed. +- `data`: Data associated with the transaction. + +## Returns + +The estimated fee which includes: + +- `gas_limit`: Maximum amount of gas that the transaction is allowed to use. +- `gas_per_pubdata_limit`: Amount of gas consumed per public data byte. +- `max_fee_per_gas`: Maximum fee, in wei that can be paid per gas unit. +- `max_priority_fee_per_gas`: Maximum priority fee, in wei that can be paid per gas unit. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateFee", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' +``` + + + +### Response + + + + +```json +{ + "jsonrpc": "2.0", + "result": { + "gas_limit": "0x156c00", + "gas_per_pubdata_limit": "0x143b", + "max_fee_per_gas": "0xee6b280", + "max_priority_fee_per_gas": "0x0" + }, + "id": 2 +} +``` + + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx b/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx new file mode 100644 index 00000000000..d5bb37b60fe --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_estimategasl1tol2.mdx @@ -0,0 +1,50 @@ +--- +title: "zks_estimateGasL1ToL2" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns an estimate of the gas required for a layer 1 (L1) to layer 2 (L2) transaction. + +## Parameters + +- `from`: [_Required_] Address from which the transaction is sent. +- `to`: [_Required_] Address to which the transaction is addressed. +- `data`: Data associated with the transaction. + +## Response + +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). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc":"2.0", "id":2, "method": "zks_estimateGasL1ToL2", "params": [ { "from": "0x1111111111111111111111111111111111111111", "to":"0x2222222222222222222222222222222222222222", "data": "0xffffffff" } ] }' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x25f64db", + "id": 2 + } + ``` + + diff --git a/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx b/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx new file mode 100644 index 00000000000..a9b77a7b0be --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getallaccountbalances.mdx @@ -0,0 +1,53 @@ +--- +title: "zks_getAllAccountBalances" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns all balances for confirmed tokens given by an account address. + +## Parameters + +- `address`: [_Required_] The account address. + +## Returns + +The method returns all balances for confirmed tokens associated with the provided account address. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getAllAccountBalances", "params": [ "0x98E9D288743839e96A8005a6B51C770Bbf7788C0" ]}' +``` + + + + +## Response + + + + +```json +{ + "jsonrpc": "2.0", + "result": { + "0x0000000000000000000000000000000000000000": "0x2fbd72a1121b3100" + }, + "id": 2 +} +``` + + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx b/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx new file mode 100644 index 00000000000..82377c3a015 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getblockdetails.mdx @@ -0,0 +1,90 @@ +--- +title: "zks_getBlockDetails" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns additional ZKsync-specific information about the L2 block. + +## Parameters + +- `block`: (string) [_Required_] The number of the block. + +## Returns + +Object containing the details of the L2 block: + +- `baseSystemContractsHashes`: An object containing hashes of the base system contracts used in the transaction: + - `bootloader`: The hash of the bootloader contract. + - `default_aa`: The hash of the default account contract. +- `commitTxHash`: The hash of the transaction committed to the network. +- `committedAt`: The timestamp when the transaction was committed to the network. +- `executeTxHash`: The hash of the transaction executed on the network. +- `executedAt`: The timestamp when the transaction was executed on the network. +- `l1BatchNumber`: The batch number of the transaction on the L1 (Ethereum) network. +- `l1GasPrice`: The gas price used for the transaction on the L1 network. +- `l1TxCount`: The number of transactions related to this batch on the L1 network. +- `l2FairGasPrice`: The fair gas price used for the transaction on the L2 (ZKsync) network. +- `l2TxCount`: The total number of transactions on the L2 network. +- `number`: The transaction number. +- `operatorAddress`: The address of the operator who executed the transaction. +- `proveTxHash`: The hash of the proof transaction on the L1 network. +- `provenAt`: The timestamp when the proof transaction was done on the L1 network. +- `rootHash`: The root hash representing the state of the network after the transaction. +- `status`: The status of the transaction. +- `timestamp`: The timestamp of the transaction. + + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBlockDetails", "params": [ 140599 ]}' + ``` + + + +## Response + + + + ```json + { + "jsonrpc": "2.0", + "result": { + "baseSystemContractsHashes": { + "bootloader": "0x010007793a328ef16cc7086708f7f3292ff9b5eed9e7e539c184228f461bf4ef", + "default_aa": "0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc" + }, + "commitTxHash": "0xd045e3698f018cb233c3817eb53a41a4c5b28784ffe659da246aa33bda34350c", + "committedAt": "2023-03-26T07:21:21.046817Z", + "executeTxHash": "0xbb66aa75f437bb4255cf751badfc6b142e8d4d3a4e531c7b2e737a22870ff19e", + "executedAt": "2023-03-27T07:44:52.187764Z", + "l1BatchNumber": 1617, + "l1GasPrice": 20690385511, + "l1TxCount": 0, + "l2FairGasPrice": 250000000, + "l2TxCount": 20, + "number": 140599, + "operatorAddress": "0xfeee860e7aae671124e9a4e61139f3a5085dfeee", + "proveTxHash": "0x1591e9b16ff6eb029cc865614094b2e6dd872c8be40b15cc56164941ed723a1a", + "provenAt": "2023-03-26T19:48:35.200565Z", + "rootHash": "0xf1adac176fc939313eea4b72055db0622a10bbd9b7a83097286e84e471d2e7df", + "status": "verified", + "timestamp": 1679815038 + }, + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx b/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx new file mode 100644 index 00000000000..fe4cd0411cb --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx @@ -0,0 +1,57 @@ +--- +title: "zks_getBridgeContracts" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the L1 and L2 address of the default bridges. + +## Parameters + +None. + +## Response + +The default bridges used in the ZKsync network: + +- `1Erc20DefaultBridge` - The address of the default bridge contract responsible for handling ERC-20 token + transfers from the L1 network to the L2 network +- `l2Erc20DefaultBridge` - The address of the default bridge contract responsible for handling ERC-20 token + transfers from the L2 network to the L1 network + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBridgeContracts", "params": []}' \ +``` + + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": { + "l1Erc20DefaultBridge": "0x57891966931eb4bb6fb81430e6ce0a03aabde063", + "l2Erc20DefaultBridge": "0x11f943b2c77b743ab90f4a0ae7d5a4e7fca3e102" + }, + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx b/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx new file mode 100644 index 00000000000..d8dd2c4bb40 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getbytecodebyhash.mdx @@ -0,0 +1,63 @@ +--- +title: "zks_getBytecodeByHash" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the bytecode of a transaction for the provided hash. + +## Parameters + +- `hash`: (string) [_Required_] The hash of the transaction. + + +## Response + +The byte code of the given transaction. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBytecodeByHash", "params": ["0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc"]}' + ``` + + + +### Response + + + + +```json +{ + "jsonrpc": "2.0", + "result": [ + 0, + 4, + 0, + 0, + 0, + 0, + 0, + 2, + 0, + 11, + ... + ], + "id": 1 +} +``` + + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx b/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx new file mode 100644 index 00000000000..f0945e47397 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getl1batchblockrange.mdx @@ -0,0 +1,51 @@ +--- +title: "zks_getL1BatchBlockRange" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the range of blocks contained within a given batch. + + +## Parameters + +- `batch`: (integer) [_Required_] The layer 1 batch number. + + +## Response + +The range of blocks contained within the specified batch. The range is given by the +beginning/end block numbers in hexadecimal. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchBlockRange", "params": [12345]}' \ + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": ["0x116fec", "0x117015"], + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx b/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx new file mode 100644 index 00000000000..8d64feaff30 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getl1batchdetails.mdx @@ -0,0 +1,68 @@ +--- +title: "zks_getL1BatchDetails" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns data pertaining to a given L1 batch. + +## Parameters + +- `batch`: (integer) [_Required_] The layer 1 batch number. + +## Response + +Detailed information about the specified L1 batch: + +- `baseSystemContractsHashes`: An object containing hashes of the base system contracts used in the transaction: + - `bootloader`: The hash of the bootloader contract. + - `default_aa`: The hash of the default account contract. +- `commitTxHash`: The hash of the transaction committed to the network. +- `committedAt`: The timestamp when the transaction was committed to the network. +- `executeTxHash`: The hash of the transaction executed on the network. +- `executedAt`: The timestamp when the transaction was executed on the network. +- `l1BatchNumber`: The batch number of the transaction on the L1 (Ethereum) network. +- `l1GasPrice`: The gas price used for the transaction on the L1 network. +- `l1TxCount`: The number of transactions related to this batch on the L1 network. +- `l2FairGasPrice`: The fair gas price used for the transaction on the L2 (ZKsync) network. +- `l2TxCount`: The total number of transactions on the L2 network. +- `number`: The transaction number. +- `operatorAddress`: The address of the operator who executed the transaction. +- `proveTxHash`: The hash of the proof transaction on the L1 network. +- `provenAt`: The timestamp when the proof transaction was done on the L1 network. +- `rootHash`: The root hash representing the state of the network after the transaction. +- `status`: The status of the transaction. +- `timestamp`: The timestamp of the transaction. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchDetails", "params": [12345]}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x25f64db", + "id": 2 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx b/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx new file mode 100644 index 00000000000..5458266f829 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getl2tol1logproof.mdx @@ -0,0 +1,67 @@ +--- +title: "zks_getL2ToL1LogProof" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the proof for the corresponding L2 to L1 log. The index of the log that can be obtained +from the transaction receipt. + +## Parameters + +- `tx_hash`: [_Required_] Hash of the L2 transaction the L2 to L1 log was produced in. +- `l2_to_l1_log_index`: [_Optional_] The index of the L2 to L1 log in the transaction. + + +## Response + +- `id` - The position of the leaf in the Merkle tree of L2 to L1 messages for the block. +- `proof` - The Merkle proof for the message. +- `root` - The root hash representing the Merkle tree root at the time the log was generated. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1LogProof", "params": ["0x2a1c6c74b184965c0cb015aae9ea134fd96215d2e4f4979cfec12563295f610e"]}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": { + "id": 0, + "proof": [ + "0x8c48910df2ca7de509daf50b3182fcdf2dd6c422c6704054fd857d6c9516d6fc", + "0xc5028885760b8b596c4fa11497c783752cb3a3fb3b8e6b52d7e54b9f1c63521e", + "0xeb1f451eb8163723ee19940cf3a8f2a2afdf51100ce8ba25839bd94a057cda16", + "0x7aabfd367dea2b5306b8071c246b99566dae551a1dbd40da791e66c4f696b236", + "0xe4733f281f18ba3ea8775dd62d2fcd84011c8c938f16ea5790fd29a03bf8db89", + "0x1798a1fd9c8fbb818c98cff190daa7cc10b6e5ac9716b4a2649f7c2ebcef2272", + "0x66d7c5983afe44cf15ea8cf565b34c6c31ff0cb4dd744524f7842b942d08770d", + "0xb04e5ee349086985f74b73971ce9dfe76bbed95c84906c5dffd96504e1e5396c", + "0xac506ecb5465659b3a927143f6d724f91d8d9c4bdb2463aee111d9aa869874db" + ], + "root": "0x920c63cb0066a08da45f0a9bf934517141bd72d8e5a51421a94b517bf49a0d39" + }, + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx b/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx new file mode 100644 index 00000000000..bac0b34f45a --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getl2tol1msgproof.mdx @@ -0,0 +1,55 @@ +--- +title: "zks_getL2ToL1MsgProof" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the proof for a message sent through the L1Messenger system contract, given a +block, sender, message, and an optional message log index containing the L1 to L2 message. + +## Parameters + +- `block`: (integer) [_Required_] Block where the message was emitted. +- `sender`: (string) [_Required_] The sender (account) of the message. +- `msg`: [_Required_] The keccak256 hash of the sent message. +- `l2_log_position`: The index in the block of the event that was emitted by the L1Messenger + when submitting this message. If it is omitted, the proof for the first message is returned. + +## Response + +- `id` - The position of the leaf in the Merkle tree of L2 to L1 messages for the block. +- `proof` - The Merkle proof for the message. +- `root` - The root hash representing the Merkle tree root at the time the log was generated. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL2ToL1MsgProof", "params": [5187, "0x87869cb87c4Fa78ca278dF358E890FF73B42a39E", "0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x25f64db", + "id": 2 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx b/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx new file mode 100644 index 00000000000..b21892a6586 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getmaincontract.mdx @@ -0,0 +1,49 @@ +--- +title: "zks_getMainContract" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the address of the ZKsync Era contract. + +## Parameters + +None. + + +## Response + +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). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getMainContract", "params": []}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x32400084c286cf3e17e7b677ea9583e60a000324", + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getproof.mdx b/services/reference/zksync/json-rpc-methods/zks_getproof.mdx new file mode 100644 index 00000000000..22e1738fde8 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getproof.mdx @@ -0,0 +1,75 @@ +--- +title: "zks_getProof" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns Merkle proofs for one or more storage values for the specified account along with a Merkle proof +of their authenticity. This allows you to verify that the values have not been tampered with. + +## Parameters + +- `address`: [_Required_] The account to fetch storage values and proofs for. +- `keys`: [_Required_] Vector of storage keys in the account. +- `l1BatchNumber`: [_Required_] Number of the L1 batch specifying the point in time at which the requested values are returned. + + +## Response + +- `address`: The account address. +- `storageProof`: Proof for each of the requested keys in the order at which they were requested: + - `key` - The requested storage key. + - `value` - The storage value. + - `index` - Index of the tree entry. + - `proof` - Sequence of zero or more 32-byte hashes that form a Merkle path for the key in the Merkle tree. + Hashes are listed using the root-to-leaf ordering. The root hash is excluded; it is published on L1 as a part of L1 batch commit data. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getProof", "params": ["0x0000000000000000000000000000000000008003", ["0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12"], 354895]}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": { + "address": "0x0000000000000000000000000000000000008003", + "storageProof": [ + { + "key": "0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12", + "proof": [ + "0xe3e8e49a998b3abf8926f62a5a832d829aadc1b7e059f1ea59ffbab8e11edfb7", + "0x9bebfa036e85a6ffb6bf447a9c7d41af176642c6aaf5cfbc97128f4f10d8a25a", + ... + "0x9ebd7b37a21fb0c74d0040a941038887caf4e4c7dfaa182b82915cacc6191025", + "0x4550ab30af8c76557a74d051eb43a964889d383d6da343c6a4f4799595d86f9c" + ], + "value": "0x0000000000000000000000000000000000000000000000000000000000000060", + "index": 27900957 + } + ] + }, + "id": 1 + } + + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx b/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx new file mode 100644 index 00000000000..8698f66a47c --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_getrawblocktransactions.mdx @@ -0,0 +1,101 @@ +--- +title: "zks_getRawBlockTransactions" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns data about the transactions in the specified block. + +## Parameters + +- `block`: (integer) [_Required_] Block number. + +## Response + +Object containing the data about the executed transaction: + +- `L1`: Object containing information about the corresponding transaction on the L1 network: + - `canonicalTxHash`: The canonical hash of the transaction on the L1 network. + - `deadlineBlock`: The deadline block for the transaction on the L1 network. + - `ethBlock`: The Ethereum block number for the transaction. + - `ethHash`: The Ethereum transaction hash for the transaction. + - `fullFee`: The full fee for the transaction in hexadecimal format. + - `gasLimit`: The gas limit for the transaction in hexadecimal format. + - `gasPerPubdataLimit`: The gas per public data limit for the transaction in hexadecimal format. + - `layer2TipFee`: The tip fee for the transaction on the L2 network in hexadecimal format. + - `maxFeePerGas`: The maximum fee per gas for the transaction in hexadecimal format. + - `opProcessingType`: The type of operation processing used for the transaction. + - `priorityQueueType`: The type of priority queue used for the transaction. + - `refundRecipient`: The recipient address for any potential refund for the transaction. + - `sender`: The sender address of the transaction. + - `serialId`: The serial ID of the transaction. + - `toMint`: The address to mint tokens for the transaction. +- `execute`: Object that contains information about the transaction execution: + - `calldata`: The calldata for the execution in hexadecimal format. + - `contractAddress`: The contract address for the execution. + - `factoryDeps`: An array containing factory dependencies for the execution. + - `value`: The value for the execution in hexadecimal format. +- `received_timestamp_ms`: The transaction timestamp. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getRawBlockTransactions", "params": [5817]}' +``` + + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": [ + { + "common_data": { + "L1": { + "canonicalTxHash": "0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9", + "deadlineBlock": 0, + "ethBlock": 16751339, + "ethHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "fullFee": "0x0", + "gasLimit": "0x989680", + "gasPerPubdataLimit": "0x320", + "layer2TipFee": "0x0", + "maxFeePerGas": "0x0", + "opProcessingType": "Common", + "priorityQueueType": "Deque", + "refundRecipient": "0x87869cb87c4fa78ca278df358e890ff73b42a39e", + "sender": "0x87869cb87c4fa78ca278df358e890ff73b42a39e", + "serialId": 67, + "toMint": "0x0" + } + }, + "execute": { + "calldata": "0x471c46c800000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000031edd5a882583cbf3a712e98e100ef34ad6934b400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001", + "contractAddress": "0xfc5b07a5dd1b80cf271d35642f75cc0500ff1e2c", + "factoryDeps": [], + "value": "0x0" + }, + "received_timestamp_ms": 1677887544169 + } + ], + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx b/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx new file mode 100644 index 00000000000..79c3054354c --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_gettestnetpaymaster.mdx @@ -0,0 +1,49 @@ +--- +title: "zks_getTestnetPaymaster" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the address of the [testnet paymaster](https://docs.zksync.io/build/developer-reference/account-abstraction.html#testnet-paymaster) +available on testnets and enables paying fees in ERC-20 compatible tokens. + +## Parameters + +None. + +## Response + +The address of the testnet paymaster. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-sepolia.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": []}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x8f0ea1312da29f17eabeb2f484fd3c112cccdd63", + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx b/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx new file mode 100644 index 00000000000..03bbba657d9 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_gettransactiondetails.mdx @@ -0,0 +1,69 @@ +--- +title: "zks_getTransactionDetails" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns data about a transaction given by the transaction hash. + +## Parameters + +- `hash`: [_Required_] The transaction hash encoded in hexadecimal format. + +## Response + +Object containing the transaction data: + +- `ethCommitTxHash`: The transaction hash of the commit transaction. +- `ethExecuteTxHash`: The transaction hash of the execute transaction. +- `ethProveTxHash`: The Ethereum transaction hash of the proof transaction. +- `fee`: The fee amount for the transaction in hexadecimal format. +- `gasPerPubdata`: The gas per public data for the transaction in hexadecimal format. +- `initiatorAddress`: The address of the transaction initiator. +- `isL1Originated`: A boolean value indicating whether the transaction originated from L1 network. +- `receivedAt`: The timestamp when the transaction was received on the L2 network. +- `status`: The status of the transaction. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTransactionDetails", "params": ["0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"]}' + ``` + + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": { + "ethCommitTxHash": "0x3da5b6eda357189c9243c41c5a33b1b2ed0169be172705d74681a25217702772", + "ethExecuteTxHash": "0xdaff5fd7ff91333b161de54534b4bb6a78e5325329959a0863bf0aae2b0fdcc6", + "ethProveTxHash": "0x2f482d3ea163f5be0c2aca7819d0beb80415be1a310e845a2d726fbc4ac54c80", + "fee": "0x0", + "gasPerPubdata": "0x320", + "initiatorAddress": "0x87869cb87c4fa78ca278df358e890ff73b42a39e", + "isL1Originated": true, + "receivedAt": "2023-03-03T23:52:24.169Z", + "status": "verified" + }, + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx b/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx new file mode 100644 index 00000000000..61237497a28 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_l1batchnumber.mdx @@ -0,0 +1,49 @@ +--- +title: "zks_L1BatchNumber" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the latest L1 batch number. + +## Parameters + +None. + + +## Response + +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). + +### Request + + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1BatchNumber", "params": []}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x544c", + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx b/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx new file mode 100644 index 00000000000..587a6cea261 --- /dev/null +++ b/services/reference/zksync/json-rpc-methods/zks_l1chainid.mdx @@ -0,0 +1,48 @@ +--- +title: "zks_L1ChainId" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +Returns the chain ID of the underlying L1. + +## Parameters + +None. + + +## Response + +The L1 chain ID. + +## Example + +Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard). + +### Request + + + + ```bash + curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -X POST \ + -H "Content-Type: application/json" \ + -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_L1ChainId", "params": []}' + ``` + + + +### Response + + + + ```json + { + "jsonrpc": "2.0", + "result": "0x1", + "id": 1 + } + ``` + + \ No newline at end of file diff --git a/services/reference/zksync/quickstart.md b/services/reference/zksync/quickstart.md new file mode 100644 index 00000000000..37b989f3a77 --- /dev/null +++ b/services/reference/zksync/quickstart.md @@ -0,0 +1,200 @@ +--- +description: ZKsync Era 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 ZKsync Era network using the Infura endpoints. + + +Don't have an Infura account? Sign up for our free plan and start using the ZKsync Era network! + + +## Prerequisites + +Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/create-api/) with the ZKsync Era networked enabled. + +## Make calls + +### cURL + +Run the following command in your terminal, replacing `YOUR-API-KEY` with your actual Infura API key: + +```bash +curl https://zksync-mainnet.infura.io/v3/YOUR-API-KEY \ + -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 `YOUR-API-KEY` 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", { + 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 `YOUR-API-KEY` 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", { + 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 `YOUR-API-KEY` 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"); + + 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 `YOUR-API-KEY` with your actual Infura API key. + + ```python title="index.py" + import requests + import json + + url = "https://zksync-mainnet.infura.io/v3/YOUR-API-KEY" + + 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 ZKsync Era network, you can explore more functionalities and APIs provided +by Infura. Here are some suggestions: + +- **Explore other ZKsync Era 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 Arbitrum, Polygon, Optimism, IPFS, 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. + 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 4acc2cd35a2..02a3c1047c1 100644 --- a/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md +++ b/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md @@ -47,7 +47,7 @@ Install the `web3`, `solc`, and `dotenv` packages in the project directory. :::info -The [`dotenv`](../../tutorials/developer-tools/javascript-dotenv.md) package allows you to use a `.env` file to securely store private environment variables on your local machine. +The [`dotenv`](../../how-to/javascript-dotenv.md) package allows you to use a `.env` file to securely store private environment variables on your local machine. ::: diff --git a/src/lib/data.js b/src/lib/data.js index d99bfc9b161..e9120537192 100644 --- a/src/lib/data.js +++ b/src/lib/data.js @@ -105,4 +105,9 @@ export const NETWORK_LINKS = [ href: "/services/reference/starknet", logo: `${LOGO_PATH}/logo-starknet.svg`, }, + { + name: "ZKsync Era", + href: "/services/reference/zksync", + logo: `${LOGO_PATH}/logo-zksync.svg`, + }, ]; diff --git a/static/img/logos/logo-zksync.svg b/static/img/logos/logo-zksync.svg new file mode 100644 index 00000000000..98a2f64bc62 --- /dev/null +++ b/static/img/logos/logo-zksync.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/yarn.lock b/yarn.lock index bf1aa9b16cf..5a2c985e001 100644 --- a/yarn.lock +++ b/yarn.lock @@ -48,83 +48,83 @@ __metadata: languageName: node linkType: hard -"@algolia/cache-browser-local-storage@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/cache-browser-local-storage@npm:4.24.0" +"@algolia/cache-browser-local-storage@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/cache-browser-local-storage@npm:4.23.3" dependencies: - "@algolia/cache-common": 4.24.0 - checksum: f7f9bdb1fa37e788a5cb8c835e526caff2fa097f68736accd4c82ade5e5cb7f5bbd361cf8fc8c2a4628d979d81bd90597bdaed77ca72de8423593067b3d15040 + "@algolia/cache-common": 4.23.3 + checksum: bbce762cc69952d8e02a228bbc1b9795bd076e637fd374a6e52c4f117f44de465231731f00562dbdda72aca9c150d53a0efb22d5d9e5b0d57674c8f853bc5a85 languageName: node linkType: hard -"@algolia/cache-common@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/cache-common@npm:4.24.0" - checksum: bc1d0f8731713f7e6f10cd397b7d8f7464f14a2f4e1decc73a48e99ecbc0fe41bd4df1cc3eb0a4ecf286095e3eb3935b2ea40179de98e11676f8e7d78c622df8 +"@algolia/cache-common@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/cache-common@npm:4.23.3" + checksum: c4502b9f188c451905d47c50e4706df3c188854615119b470a4d993d8c66d41ae1d9aec2464bc8a174c6ba2bfc939835b98cb7d4afddaa6c3ccb766231e1dbbc languageName: node linkType: hard -"@algolia/cache-in-memory@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/cache-in-memory@npm:4.24.0" +"@algolia/cache-in-memory@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/cache-in-memory@npm:4.23.3" dependencies: - "@algolia/cache-common": 4.24.0 - checksum: 0476f65f4b622b1b38f050a03b9bf02cf6cc77fc69ec785d16e244770eb2c5eea581b089a346d24bdbc3561be78d383f2a8b81179b801b2af72d9795bc48fee2 + "@algolia/cache-common": 4.23.3 + checksum: 9a26f6213873ec99ab3fb1bc4ba3bb7c64fc433f46ac9365689921e7c1ddaae437ee78c42d85d4426fc18ef0410d8fc9b78824759000b16fc2da60aba490cb87 languageName: node linkType: hard -"@algolia/client-account@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/client-account@npm:4.24.0" +"@algolia/client-account@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/client-account@npm:4.23.3" dependencies: - "@algolia/client-common": 4.24.0 - "@algolia/client-search": 4.24.0 - "@algolia/transporter": 4.24.0 - checksum: 059cf39f3e48b2e77a26435267284d2d15a7a3c4e904feb2b2ad2dd207a3ca2e2b3597847ec9f3b1141749b25fb2e6091e9933f53cb86ab278b5b93836c85aad + "@algolia/client-common": 4.23.3 + "@algolia/client-search": 4.23.3 + "@algolia/transporter": 4.23.3 + checksum: 56404a43dfe53eb0168e9be568482fb4b8b00adb73b978f7f5c02627d179f51eb273ea4880428d26aa692253f11cdd1d6b62796571f6e3ada1397c64f28fc591 languageName: node linkType: hard -"@algolia/client-analytics@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/client-analytics@npm:4.24.0" +"@algolia/client-analytics@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/client-analytics@npm:4.23.3" dependencies: - "@algolia/client-common": 4.24.0 - "@algolia/client-search": 4.24.0 - "@algolia/requester-common": 4.24.0 - "@algolia/transporter": 4.24.0 - checksum: 17540315bc7ed2ed962fe343129ffe6dcd535cd37d4893765b5b3306a5a2b0a32260d116e77c13541bbc932480b14e24cc640eeecae338bebe7b57bc2cf9cde5 + "@algolia/client-common": 4.23.3 + "@algolia/client-search": 4.23.3 + "@algolia/requester-common": 4.23.3 + "@algolia/transporter": 4.23.3 + checksum: a108bdbad64eed6166bbce16ab4f9f10c46ad8d689142e7c48bc7743b34e5d0770b21745a87fab3d04131420b57a73baf0a2cd1a2c8baa547c899ff33a4051bd languageName: node linkType: hard -"@algolia/client-common@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/client-common@npm:4.24.0" +"@algolia/client-common@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/client-common@npm:4.23.3" dependencies: - "@algolia/requester-common": 4.24.0 - "@algolia/transporter": 4.24.0 - checksum: 19c6615f9e1b0bbda7dd8ecd285c5bdf48d7067223b06e385a6c69a20a6d6500086619fa0f9e63403cf33220d5d7a288360df55452fdf00f5feca8ca9852758a + "@algolia/requester-common": 4.23.3 + "@algolia/transporter": 4.23.3 + checksum: 0767cd7a4f38abc0290a9c055d39730c5f507a0e9cd6657fbad749c15a9ba9cceb788c18fec0b5a25f49e6184fb40e8dd26c3e8b29824aa3df82822618399f08 languageName: node linkType: hard -"@algolia/client-personalization@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/client-personalization@npm:4.24.0" +"@algolia/client-personalization@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/client-personalization@npm:4.23.3" dependencies: - "@algolia/client-common": 4.24.0 - "@algolia/requester-common": 4.24.0 - "@algolia/transporter": 4.24.0 - checksum: 9c569c6d846f7c9cf3056b83f2c67d9e796b5afa7e7aa55b1e125a2cf5a7342c96d94e7e2005931145698a1d1fc9a56d692f56a5b09fc4a4291bcc83b73addba + "@algolia/client-common": 4.23.3 + "@algolia/requester-common": 4.23.3 + "@algolia/transporter": 4.23.3 + checksum: 393a6a2c53185090c141c50dfc4896baa7b93af836479e9e43ad29e71de1bcce00e1273bb51ba512376a996f75f10146ba6443c3d53d2e4acc50eef43b65582e languageName: node linkType: hard -"@algolia/client-search@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/client-search@npm:4.24.0" +"@algolia/client-search@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/client-search@npm:4.23.3" dependencies: - "@algolia/client-common": 4.24.0 - "@algolia/requester-common": 4.24.0 - "@algolia/transporter": 4.24.0 - checksum: 2d19823994e92490885115188d75994fbcc7a407fbe14f52034b191607a51081ed476e367a65c889666f6b337b00d700203204d55666f182809f01fbd29fd1fb + "@algolia/client-common": 4.23.3 + "@algolia/requester-common": 4.23.3 + "@algolia/transporter": 4.23.3 + checksum: 0249aeeaffa94608948f047dabd25a1c452c52cfbf5ce3abaad4f41134e87344d55733f03b512f64ffd23d43ff78d4339a8abfb83887ea23ede1d2d6567bf421 languageName: node linkType: hard @@ -135,74 +135,74 @@ __metadata: languageName: node linkType: hard -"@algolia/logger-common@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/logger-common@npm:4.24.0" - checksum: 668fb5a2cbb6aaea7648ae522b5d088241589a9da9f8abb53e2daa89ca2d0bc04307291f57c65de7a332e092cc054cc98cc21b12af81620099632ca85c4ef074 +"@algolia/logger-common@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/logger-common@npm:4.23.3" + checksum: a6710ac3e790dc896d7f32eefc9e2967c765f0955fabd33291c14d61ad12d34259709370a18eb299518e36cc3b538c385ab1cc85b021b1acbf463315a61df67c languageName: node linkType: hard -"@algolia/logger-console@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/logger-console@npm:4.24.0" +"@algolia/logger-console@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/logger-console@npm:4.23.3" dependencies: - "@algolia/logger-common": 4.24.0 - checksum: 846d94ecac2e914a2aa7d1ace301cca7371b2bc757c737405eca8d29fc1a26e788387862851c90f611c90f43755367ce676802a21fa37a3bf8531b1a16f5183b + "@algolia/logger-common": 4.23.3 + checksum: 881eab328986626deaa20f6b7e51b1a86b47678681869f20e89ec47cfdf4a0547081fa4315149ac8c5e2ed3cb16a9547e1265a48c14ed6b7d549ba7abc5a71e9 languageName: node linkType: hard -"@algolia/recommend@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/recommend@npm:4.24.0" +"@algolia/recommend@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/recommend@npm:4.23.3" 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 - checksum: 426468452186cbcf0653c3a8c8a4f911def6232dc262f0a310c4583939c6efc5a1c567dbff99b6c99a93f2ba05f9336a60d3fc6c9a74ad2d8d13f4c4fa55d3d8 + "@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 + checksum: b8030c85cd9b62aed42ae73931b0586f460d61f68265e292dd6ecad3a473d84abcaf56d9a5e444f9c6c196b1635d41825850cc330ccc78d436f679127039845c languageName: node linkType: hard -"@algolia/requester-browser-xhr@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/requester-browser-xhr@npm:4.24.0" +"@algolia/requester-browser-xhr@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/requester-browser-xhr@npm:4.23.3" dependencies: - "@algolia/requester-common": 4.24.0 - checksum: 7c32d38d6c7a83357f52134f50271f1ee3df63888b28bc53040a3c74ef73458d80efaf44a5943a3769e84737c2ffd0743e1044a3b5e99ce69289f63e22b50f2a + "@algolia/requester-common": 4.23.3 + checksum: afe1f81915d2386aa25c91c6d41d00a3958516a3567f1ec95a7d95eb976f87676cfb0dcc39e3fe7646e150c6cb5a8e3526c23be706cb09e56e0928a96da8eb6b languageName: node linkType: hard -"@algolia/requester-common@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/requester-common@npm:4.24.0" - checksum: 8f4a49ef0fb4aca42fa3703ddf97ff7f6e9c8492928aa66704ca2f54d3785d2338b64917860a01a42dedb1621279558ca7d549c5b1eb5b7f2742f952fb9865e5 +"@algolia/requester-common@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/requester-common@npm:4.23.3" + checksum: b7b308e46dc6158fd8adad82c301f60e1dd759e585cb90514b9a0be6b67cfba3d9ff6ad87f6299657a5ab4b5e94a2d330fc14de6c447012f32f846219c9e6971 languageName: node linkType: hard -"@algolia/requester-node-http@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/requester-node-http@npm:4.24.0" +"@algolia/requester-node-http@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/requester-node-http@npm:4.23.3" dependencies: - "@algolia/requester-common": 4.24.0 - checksum: 387ee892bf35f46be269996de88f9ea12841796aa33cb5088ba6460a48733614a33300ee44bca0af22b6fded05c16ec92631fb998e9a7e1e6a30504d8b407c23 + "@algolia/requester-common": 4.23.3 + checksum: 3d751c063e0f96e41a61d87a3428b2cb13b30aaa9e0ba3e70a3b92ad642afbb26c5095405dd1ed6dd16755d47faece0f42c5677f30673898658461ad51ec2235 languageName: node linkType: hard -"@algolia/transporter@npm:4.24.0": - version: 4.24.0 - resolution: "@algolia/transporter@npm:4.24.0" +"@algolia/transporter@npm:4.23.3": + version: 4.23.3 + resolution: "@algolia/transporter@npm:4.23.3" dependencies: - "@algolia/cache-common": 4.24.0 - "@algolia/logger-common": 4.24.0 - "@algolia/requester-common": 4.24.0 - checksum: 2c026a777de5dcb6f3cc94a0cf5f4650fbc7067f56eb98a1ae9b5750815179a73eb2b1d8ae75853a99823afd13584b62430d7649c65a456b2623123f355955b1 + "@algolia/cache-common": 4.23.3 + "@algolia/logger-common": 4.23.3 + "@algolia/requester-common": 4.23.3 + checksum: e2573d308d7f41aa74b47c4dc052186fc9eab350ca5fec7c830ff5ca34337eeef01a7168bdd10f2e13c0cb1283385be211e7dd0a896be0aabfd900c056aa3606 languageName: node linkType: hard @@ -2667,7 +2667,7 @@ __metadata: languageName: node linkType: hard -"@json-schema-tools/reference-resolver@npm:1.2.4": +"@json-schema-tools/reference-resolver@npm:1.2.4, @json-schema-tools/reference-resolver@npm:^1.2.4": version: 1.2.4 resolution: "@json-schema-tools/reference-resolver@npm:1.2.4" dependencies: @@ -2677,16 +2677,6 @@ __metadata: languageName: node linkType: hard -"@json-schema-tools/reference-resolver@npm:^1.2.4": - version: 1.2.6 - resolution: "@json-schema-tools/reference-resolver@npm:1.2.6" - dependencies: - "@json-schema-spec/json-pointer": ^0.1.2 - isomorphic-fetch: ^3.0.0 - checksum: ba3d549365b4a5e27958bf367ed440e9584d8f396aeccb09065c5300e1bc4abf66d3a60d15d05e7e61d85a42c0c434d14d6b645769c530030191a7eb5c4840e8 - languageName: node - linkType: hard - "@json-schema-tools/traverse@npm:^1.10.1, @json-schema-tools/traverse@npm:^1.7.8": version: 1.10.4 resolution: "@json-schema-tools/traverse@npm:1.10.4" @@ -2778,9 +2768,9 @@ __metadata: linkType: hard "@metamask/design-tokens@npm:^1.11.1": - version: 1.13.0 - resolution: "@metamask/design-tokens@npm:1.13.0" - checksum: 7f5b00ba2ae8ee8ea502121aaf52ff47045e64bb815518527a35b038ed21b4d1317650a05dae831dad57053cab8940d028e614f3ccc6b1fe81ed4d54d0402e44 + version: 1.12.0 + resolution: "@metamask/design-tokens@npm:1.12.0" + checksum: 9b6c5485c846171aa7fcef03cbe93b4d94ffaa76faf953aa27a689fd3d494438cd657de6ea1aa5a40cc2af15dcf10f8dd860fd3d90f5e9806807e37020bdccd9 languageName: node linkType: hard @@ -3166,7 +3156,7 @@ __metadata: languageName: node linkType: hard -"@react-types/shared@npm:3.9.0": +"@react-types/shared@npm:3.9.0, @react-types/shared@npm:^3.8.0, @react-types/shared@npm:^3.9.0": version: 3.9.0 resolution: "@react-types/shared@npm:3.9.0" peerDependencies: @@ -3175,7 +3165,7 @@ __metadata: languageName: node linkType: hard -"@react-types/shared@npm:^3.23.1, @react-types/shared@npm:^3.8.0, @react-types/shared@npm:^3.9.0": +"@react-types/shared@npm:^3.23.1": version: 3.23.1 resolution: "@react-types/shared@npm:3.23.1" peerDependencies: @@ -3217,8 +3207,8 @@ __metadata: linkType: hard "@rjsf/core@npm:^5.18.4, @rjsf/core@npm:^5.6.2": - version: 5.18.5 - resolution: "@rjsf/core@npm:5.18.5" + version: 5.18.4 + resolution: "@rjsf/core@npm:5.18.4" dependencies: lodash: ^4.17.21 lodash-es: ^4.17.21 @@ -3228,13 +3218,13 @@ __metadata: peerDependencies: "@rjsf/utils": ^5.18.x react: ^16.14.0 || >=17 - checksum: 7b986ec075d5b2de503d01172abdb3e3d33d04e5298fbf80842400e682f0aecdabfe4bb8482dde8a6aed90a35f4f5574cb7b24a11d689566c0cc0599485b334a + checksum: 8c3f49914be396595ce67dc4c36ac25c5cb6673917ec82c47f79321f5bb78d02741e8dca39287d0435270e7c9ccb06f7d40e396bdf71a3e9eb1371ef16954817 languageName: node linkType: hard "@rjsf/utils@npm:^5.18.4, @rjsf/utils@npm:^5.6.2": - version: 5.18.5 - resolution: "@rjsf/utils@npm:5.18.5" + version: 5.18.4 + resolution: "@rjsf/utils@npm:5.18.4" dependencies: json-schema-merge-allof: ^0.8.1 jsonpointer: ^5.0.1 @@ -3243,13 +3233,13 @@ __metadata: react-is: ^18.2.0 peerDependencies: react: ^16.14.0 || >=17 - checksum: 8da3ce82a0ec83e78806461db7226fd20489f6e8c41906ccde9d55c554aec3f50b8b8bac8c35e3cdf12d788c18fdad71c992f0d8b44f6161a1bf9e13598ded99 + checksum: d7cf514527ec50a94751c5ec1f9e5eafd89d0c56441a22ae28a4e667aaa7c60447e1e1ccf8355c5be5b97e9a1163853c116816b13307e3463433d50f6b89bb3e languageName: node linkType: hard "@rjsf/validator-ajv8@npm:^5.18.4, @rjsf/validator-ajv8@npm:^5.6.2": - version: 5.18.5 - resolution: "@rjsf/validator-ajv8@npm:5.18.5" + version: 5.18.4 + resolution: "@rjsf/validator-ajv8@npm:5.18.4" dependencies: ajv: ^8.12.0 ajv-formats: ^2.1.1 @@ -3257,7 +3247,7 @@ __metadata: lodash-es: ^4.17.21 peerDependencies: "@rjsf/utils": ^5.18.x - checksum: 350d1f8043b7bbd88cf5d7fa28560062f4141e1ef9ef004c2997b63d0281d4a1af04be4b951c2c9c4d1c56d10f0e2fbab665c7176b38e87dd6da6d5303e1c84e + checksum: edf3b24e07babe972e57645d396467c6404ff3f95a79118667f2d62082aa28e4ee7df5fad81e28071cd24b5455fe687a9f9bcf714718d4fd6036912b04c69a84 languageName: node linkType: hard @@ -3961,14 +3951,14 @@ __metadata: linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33": - version: 4.19.5 - resolution: "@types/express-serve-static-core@npm:4.19.5" + version: 4.19.3 + resolution: "@types/express-serve-static-core@npm:4.19.3" dependencies: "@types/node": "*" "@types/qs": "*" "@types/range-parser": "*" "@types/send": "*" - checksum: 72076c2f8df55e89136d4343fc874050d56c0f4afd885772a8aa506b98c3f4f3ddc7dcba42295a8b931c61000234fd679aec79ef50db15f376bf37d46234939a + checksum: fff38a7f43baeb6a62380682d39846c9d92047e0dce1737d76ebd944528619abc18addc4f0548bf43dbf4514090a1bd5140ba36695024656f941a87424b8ed7d languageName: node linkType: hard @@ -4157,11 +4147,11 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 20.14.9 - resolution: "@types/node@npm:20.14.9" + version: 20.14.5 + resolution: "@types/node@npm:20.14.5" dependencies: undici-types: ~5.26.4 - checksum: 5e9eda1ac8c6cc6bcd1063903ae195eaede9aad1bdad00408a919409cfbcdd2d6535aa3d50346f0d385528f9e03dafc7d1b3bad25aedb1dcd79a6ad39d06c35d + checksum: b337784407edbdd374b25149e9dfce80368846a9b0dc5b7d88a2591572ec87a5d87c11c9ddc1906294aef26a1ad889d56be8b08de6be3ce1256b8d9a836bc7d8 languageName: node linkType: hard @@ -4401,20 +4391,20 @@ __metadata: linkType: hard "@typescript-eslint/parser@npm:^7.12.0": - version: 7.14.1 - resolution: "@typescript-eslint/parser@npm:7.14.1" + version: 7.13.1 + resolution: "@typescript-eslint/parser@npm:7.13.1" dependencies: - "@typescript-eslint/scope-manager": 7.14.1 - "@typescript-eslint/types": 7.14.1 - "@typescript-eslint/typescript-estree": 7.14.1 - "@typescript-eslint/visitor-keys": 7.14.1 + "@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 debug: ^4.3.4 peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: e98ee179e3510cce5e5cce0fe82f8d30886e15798ed302ba56eab9ed586879f417dc325d5898c2809fc5d53afc983ce833c3c62a2ed16f34b2072a17b23fea44 + checksum: a8f39b34f61397c8e34b6716b6e25397d8f770541c3ef67b704850af9b7ce05ee86d5169ef0e983689bf7b063fa47eca5fedee20e08d0567aabbc94a64881543 languageName: node linkType: hard @@ -4428,13 +4418,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.14.1": - version: 7.14.1 - resolution: "@typescript-eslint/scope-manager@npm:7.14.1" +"@typescript-eslint/scope-manager@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/scope-manager@npm:7.13.1" dependencies: - "@typescript-eslint/types": 7.14.1 - "@typescript-eslint/visitor-keys": 7.14.1 - checksum: b9351e4887615f6a8ef049d012accd3fe07affeb34ce54cd04551d291852f7e676a61acafac8b7b4bde5dc8302c6e95dd7d1bcac94e8c58fd1dcd6a0b2d65b4b + "@typescript-eslint/types": 7.13.1 + "@typescript-eslint/visitor-keys": 7.13.1 + checksum: 1301cee01efdbd29ed09292e52e6a3fc3a7b6c8713a16d52a385003d99589883f47f4aa6270f22004c2c442b3ee6978883b065be5fb6a41843b6af84d1f32e7c languageName: node linkType: hard @@ -4445,10 +4435,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:7.14.1": - version: 7.14.1 - resolution: "@typescript-eslint/types@npm:7.14.1" - checksum: 20136fc67694ae8c0efe96e8194ef880bfe4cd0c3e6c9f4ab911fe86a806af2dcce73d7e590981d155700bb462dce041777617b4660a7d0d865727e3bdad7817 +"@typescript-eslint/types@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/types@npm:7.13.1" + checksum: 0817278c84cde070fed56b55bda538e295a2193cc11d120d7d32fd6030614e209a55093607a25c3071e44ddda7a3e9495ed0b7267a8812f65263db7a230404a1 languageName: node linkType: hard @@ -4470,12 +4460,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.14.1": - version: 7.14.1 - resolution: "@typescript-eslint/typescript-estree@npm:7.14.1" +"@typescript-eslint/typescript-estree@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/typescript-estree@npm:7.13.1" dependencies: - "@typescript-eslint/types": 7.14.1 - "@typescript-eslint/visitor-keys": 7.14.1 + "@typescript-eslint/types": 7.13.1 + "@typescript-eslint/visitor-keys": 7.13.1 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -4485,7 +4475,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 4ee6c1c629c7040c124d07d68b8af5af83bf726837b7828ce60cb3d0e02820bbe94f0b7d5a3ebd91cd38c1fee2d8bef8d42449c76f88eef11a0f4978f15447ba + checksum: b629b5a58bd9e966cf5071aef28393c503441577b4e23d975db9a6c01e4239ac249bbed2933b02b396befaf9e9da504ed310eabbfce77a8dfb199f237294de05 languageName: node linkType: hard @@ -4517,13 +4507,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.14.1": - version: 7.14.1 - resolution: "@typescript-eslint/visitor-keys@npm:7.14.1" +"@typescript-eslint/visitor-keys@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/visitor-keys@npm:7.13.1" dependencies: - "@typescript-eslint/types": 7.14.1 + "@typescript-eslint/types": 7.13.1 eslint-visitor-keys: ^3.4.3 - checksum: 6f091423d4a8f049915a84698bd4c258f411822562d4486691e9cbdd6d0b4e21ad1853c5a8ba4ac181bd4881b459dc37c7c3931863b81de9e91284a05d18aa68 + checksum: cfa307e93cca8b2f628fe6b9146a8ea9733fb063a703bdb26f2b4a5c8f52d8e300ec3632c93c12d9f251b595c1b6aab62f9cc9ceac8cda4c618dd7bd6f583b2e languageName: node linkType: hard @@ -4871,36 +4861,36 @@ __metadata: linkType: hard "algoliasearch-helper@npm:^3.13.3": - version: 3.22.1 - resolution: "algoliasearch-helper@npm:3.22.1" + version: 3.22.0 + resolution: "algoliasearch-helper@npm:3.22.0" dependencies: "@algolia/events": ^4.0.1 peerDependencies: algoliasearch: ">= 3.1 < 6" - checksum: b13a3cd9ea62fb541c53b99ca84f3e061d14c34d6111c761e86345e0bbab8c01d46dd49626bcd0deec816e982730ce5bcbd30b0361ec5dd06855b026f35b6d92 + checksum: eaf8bc52053dc4b8695d0d5d4da9b4e3222e97497ebfb6b32d784e7e165d37eedcca6a86ca856bc6e6524450ab1cece3fe63f402654851050d37f606f9fbbb5a languageName: node linkType: hard "algoliasearch@npm:^4.18.0, algoliasearch@npm:^4.19.1": - version: 4.24.0 - resolution: "algoliasearch@npm:4.24.0" - 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 - checksum: 13cae6ea7ff05e068906dcb101b940bcf1a4ea41008757554c16a7951cdaa3af3094e547e3e51f9e751f68906b5654506e1dd4a1debb1b9d54cbb227ca83e8db + version: 4.23.3 + resolution: "algoliasearch@npm:4.23.3" + 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 + checksum: e5035b1234941b48821727feef38cb8438a0aab6343f23138392180f3de13769e0b3bc42f9fa34a7573c16c988a4e7897a5335be6e729803d749147dc04bf807 languageName: node linkType: hard @@ -5857,9 +5847,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001599, caniuse-lite@npm:^1.0.30001629": - version: 1.0.30001638 - resolution: "caniuse-lite@npm:1.0.30001638" - checksum: 82e47b2bfac107c662e03bfd3321bfd9493f87240c77a9bfba7ea2cc9e0b81d9238152aed903fb19e60557879e4f48b57e2c6300677391b92a060fbf0a340e30 + version: 1.0.30001636 + resolution: "caniuse-lite@npm:1.0.30001636" + checksum: b0347fd2c8d346680a64d98b061c59cb8fbf149cdd03005a447fae4d21e6286d5bd161b43eefe3221c6624aacb3cda4e838ae83c95ff5313a547f84ca93bcc70 languageName: node linkType: hard @@ -6184,10 +6174,10 @@ __metadata: languageName: node linkType: hard -"codesandbox-import-util-types@npm:^2.1.9, codesandbox-import-util-types@npm:^2.2.3, codesandbox-import-util-types@npm:^2.3.0": - version: 2.3.0 - resolution: "codesandbox-import-util-types@npm:2.3.0" - checksum: e527fe1a0bc2de5a0a9842a70d42ad4c6de56a99a4a9e1427a81f4006ab91d85ff098e2e919cccbcd8703f9b3216b9c1f4ce5a40261051d8d1511287fbbf7d77 +"codesandbox-import-util-types@npm:^2.1.9, codesandbox-import-util-types@npm:^2.2.3": + version: 2.2.3 + resolution: "codesandbox-import-util-types@npm:2.2.3" + checksum: 6b4ac83f5ca56153e30819abe29b562c3bf39bfd8b5e9b0785268016400cd320f8214d0e154555cde36ff611585544bb7530e0f0c12d86deab2e0c539b148a62 languageName: node linkType: hard @@ -6203,13 +6193,13 @@ __metadata: linkType: hard "codesandbox-import-utils@npm:^2.2.3": - version: 2.3.0 - resolution: "codesandbox-import-utils@npm:2.3.0" + version: 2.2.3 + resolution: "codesandbox-import-utils@npm:2.2.3" dependencies: - codesandbox-import-util-types: ^2.3.0 + codesandbox-import-util-types: ^2.2.3 istextorbinary: ^2.2.1 lz-string: ^1.4.4 - checksum: 977edf0d95706bf02e0b850679efb84ab04fa2d92d05faf183626fa996e2ff0c9f1350d69b0a8cf11c519f3edf15266f1109402810d0e6219b08a0b0589b072d + checksum: 793750becad04c1a59981e20e71fa4f63603e1be3a69a97968574faf5befa5f65ea1d3c2252e1d11dc98717c204181173e83f4171ee9b3728a7c30c962abbe61 languageName: node linkType: hard @@ -7487,7 +7477,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:3.1.0, debug@npm:=3.1.0": +"debug@npm:3.1.0, debug@npm:=3.1.0, debug@npm:^3.1.0": version: 3.1.0 resolution: "debug@npm:3.1.0" dependencies: @@ -7508,15 +7498,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.1.0": - version: 3.2.7 - resolution: "debug@npm:3.2.7" - dependencies: - ms: ^2.1.1 - checksum: b3d8c5940799914d30314b7c3304a43305fd0715581a919dacb8b3176d024a782062368405b47491516d2091d6462d4d11f2f4974a405048094f8bfebfa3071c - languageName: node - linkType: hard - "decamelize-keys@npm:^1.1.0": version: 1.1.1 resolution: "decamelize-keys@npm:1.1.1" @@ -7964,9 +7945,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.796": - version: 1.4.812 - resolution: "electron-to-chromium@npm:1.4.812" - checksum: 0205fcb6db3a719873398f46cd3341188d4a54e056567453819532c5fd1fadda43f501c252bc8d05eeaaeb1497f58d9875c46c4f9ecfbe713b9efe71cd879b13 + version: 1.4.806 + resolution: "electron-to-chromium@npm:1.4.806" + checksum: 51181df78e51e99b9b61253626985d7437815bfe2f6f9a669aa99aeb05e31f539f851de3ab22288636ab0cf5141f5541a95c70904ac597c3833f850ca5855779 languageName: node linkType: hard @@ -8215,9 +8196,9 @@ __metadata: linkType: hard "es-module-lexer@npm:^1.2.1": - version: 1.5.4 - resolution: "es-module-lexer@npm:1.5.4" - checksum: a0cf04fb92d052647ac7d818d1913b98d3d3d0f5b9d88f0eafb993436e4c3e2c958599db68839d57f2dfa281fdf0f60e18d448eb78fc292c33c0f25635b6854f + version: 1.5.3 + resolution: "es-module-lexer@npm:1.5.3" + checksum: 2e0a0936fb49ca072d438128f588d5b46974035f7a1362bdb26447868016243cfd1c5ec8f12e80d273749e8c603f5aba5a828d5c2d95c07f61fbe77ab4fce4af languageName: node linkType: hard @@ -8437,11 +8418,12 @@ __metadata: linkType: hard "estree-util-value-to-estree@npm:^3.0.1": - version: 3.1.2 - resolution: "estree-util-value-to-estree@npm:3.1.2" + version: 3.1.1 + resolution: "estree-util-value-to-estree@npm:3.1.1" dependencies: "@types/estree": ^1.0.0 - checksum: 31c4b9f3a2e64119b994a86d70070325b6ec238a21842669e79b0d6a7190150293616c8f38fee1c369c18bbef405064d883aa38c05311db5d0a211a30e9924d6 + is-plain-obj: ^4.0.0 + checksum: 80e1d227ac80fab0b148c40427af31ad4dd37a3a4a0e0894d7975370284ea39566fe7df132f3454cf0e47adcc79b47ae0737464a85a413bce6f8d159336f8a37 languageName: node linkType: hard @@ -8955,7 +8937,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:1.5.10": +"follow-redirects@npm:1.5.10, follow-redirects@npm:^1.0.0": version: 1.5.10 resolution: "follow-redirects@npm:1.5.10" dependencies: @@ -8964,16 +8946,6 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0": - version: 1.15.6 - resolution: "follow-redirects@npm:1.15.6" - peerDependenciesMeta: - debug: - optional: true - checksum: a62c378dfc8c00f60b9c80cab158ba54e99ba0239a5dd7c81245e5a5b39d10f0c35e249c3379eae719ff0285fff88c365dd446fab19dee771f1d76252df1bbf5 - languageName: node - linkType: hard - "for-each@npm:^0.3.3": version: 0.3.3 resolution: "for-each@npm:0.3.3" @@ -9651,18 +9623,7 @@ __metadata: languageName: node linkType: hard -"hash-base@npm:^3.0.0": - version: 3.1.0 - resolution: "hash-base@npm:3.1.0" - dependencies: - inherits: ^2.0.4 - readable-stream: ^3.6.0 - safe-buffer: ^5.2.0 - checksum: 26b7e97ac3de13cb23fc3145e7e3450b0530274a9562144fc2bf5c1e2983afd0e09ed7cc3b20974ba66039fad316db463da80eb452e7373e780cbee9a0d2f2dc - languageName: node - linkType: hard - -"hash-base@npm:~3.0": +"hash-base@npm:^3.0.0, hash-base@npm:~3.0": version: 3.0.4 resolution: "hash-base@npm:3.0.4" dependencies: @@ -10746,12 +10707,12 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0": - version: 2.14.0 - resolution: "is-core-module@npm:2.14.0" +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" dependencies: - hasown: ^2.0.2 - checksum: 6bba6c8dc99d88d6f3b2746709d82caddcd9565cafd5870e28ab320720e27e6d9d2bb953ba0839ed4d2ee264bfdd14a9fa1bbc242a916f7dacc8aa95f0322256 + hasown: ^2.0.0 + checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c languageName: node linkType: hard @@ -11347,15 +11308,15 @@ __metadata: linkType: hard "joi@npm:^17.9.2": - version: 17.13.3 - resolution: "joi@npm:17.13.3" + version: 17.13.2 + resolution: "joi@npm:17.13.2" dependencies: "@hapi/hoek": ^9.3.0 "@hapi/topo": ^5.1.0 "@sideway/address": ^4.1.5 "@sideway/formula": ^3.0.1 "@sideway/pinpoint": ^2.0.0 - checksum: 66ed454fee3d8e8da1ce21657fd2c7d565d98f3e539d2c5c028767e5f38cbd6297ce54df8312d1d094e62eb38f9452ebb43da4ce87321df66cf5e3f128cbc400 + checksum: 7dfe216aac17b48049e749644dc92a046f817c31a3f8d5f126dbbb66b5c563c4435ce076c718d95f0422cf0f5b934d47fba00e20b186fc93ba14f8ce736e6996 languageName: node linkType: hard @@ -11670,23 +11631,23 @@ __metadata: linkType: hard "launchdarkly-js-client-sdk@npm:^3.3.0": - version: 3.4.0 - resolution: "launchdarkly-js-client-sdk@npm:3.4.0" + version: 3.3.0 + resolution: "launchdarkly-js-client-sdk@npm:3.3.0" dependencies: escape-string-regexp: ^4.0.0 - launchdarkly-js-sdk-common: 5.3.0 - checksum: 611d9abaf280f858c037a1fc71834e53496ee6df1a3709af1e45d1e0649cc2495192922ad4c29f7b2258c527b7af637bb87dc328751022d6a4112861f6d83f06 + launchdarkly-js-sdk-common: 5.2.0 + checksum: 7b56450c390a2eff36c9d98c2d7de55a50fb565a168943d19bd0284d18717f96b117858933acb53bab4a1debdab343cf81e41fd07e301f1275d3f72b94a01ede languageName: node linkType: hard -"launchdarkly-js-sdk-common@npm:5.3.0": - version: 5.3.0 - resolution: "launchdarkly-js-sdk-common@npm:5.3.0" +"launchdarkly-js-sdk-common@npm:5.2.0": + version: 5.2.0 + resolution: "launchdarkly-js-sdk-common@npm:5.2.0" dependencies: base64-js: ^1.3.0 fast-deep-equal: ^2.0.1 uuid: ^8.0.0 - checksum: 7b8be6528188492e6f1822122a390a3ef6e0696b9a552aa97142bdfdef333e0a4182b02c6498d668eddbd6d16aebe6432f950fee537cbc1c656a4e39765a71c9 + checksum: c4eab1818834748133e976ace96995c9451c00cfe8923960bbcd2ad333e6578a35e145dace3cd03885d2a7b57be0af53c72dee3a4d61f4d09bf8468a2600e58f languageName: node linkType: hard @@ -13488,7 +13449,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:2.1.18": +"mime-types@npm:2.1.18, mime-types@npm:~2.1.17": version: 2.1.18 resolution: "mime-types@npm:2.1.18" dependencies: @@ -13497,7 +13458,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": +"mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -13595,11 +13556,11 @@ __metadata: linkType: hard "minimatch@npm:^9.0.4": - version: 9.0.5 - resolution: "minimatch@npm:9.0.5" + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" dependencies: brace-expansion: ^2.0.1 - checksum: 2c035575eda1e50623c731ec6c14f65a85296268f749b9337005210bb2b34e2705f8ef1a358b188f69892286ab99dc42c8fb98a57bde55c8d81b3023c19cea28 + checksum: cf717f597ec3eed7dabc33153482a2e8d49f4fd3c26e58fd9c71a94c5029a0838728841b93f46bf1263b65a8010e2ee800d0dc9b004ab8ba8b6d1ec07cc115b5 languageName: node linkType: hard @@ -13796,14 +13757,14 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.1.2": +"ms@npm:2.1.2, ms@npm:^2.0.0": version: 2.1.2 resolution: "ms@npm:2.1.2" checksum: 673cdb2c3133eb050c745908d8ce632ed2c02d85640e2edb3ace856a2266a813b30c613569bf3354fdf4ea7d1a1494add3bfa95e2713baa27d0c2c71fc44f58f languageName: node linkType: hard -"ms@npm:2.1.3, ms@npm:^2.0.0, ms@npm:^2.1.1": +"ms@npm:2.1.3": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d @@ -14054,13 +14015,14 @@ __metadata: linkType: hard "normalize-package-data@npm:^6.0.0": - version: 6.0.2 - resolution: "normalize-package-data@npm:6.0.2" + version: 6.0.1 + resolution: "normalize-package-data@npm:6.0.1" dependencies: hosted-git-info: ^7.0.0 + is-core-module: ^2.8.1 semver: ^7.3.5 validate-npm-package-license: ^3.0.4 - checksum: ea35f8de68e03fc845f545c8197857c0cd256207fdb809ca63c2b39fe76ae77765ee939eb21811fb6c3b533296abf49ebe3cd617064f98a775adaccb24ff2e03 + checksum: 4f6bca00b5092b824e1d4a28fb47052b41afaaebabfd0700e47f130cac619d60668aa6ff34dfa9bccc1b06c7adcef44c34a565576b63b578e1e35b3fc67c22ca languageName: node linkType: hard @@ -14189,9 +14151,9 @@ __metadata: linkType: hard "object-inspect@npm:^1.13.1": - version: 1.13.2 - resolution: "object-inspect@npm:1.13.2" - checksum: 9f850b3c045db60e0e97746e809ee4090d6ce62195af17dd1e9438ac761394a7d8ec4f7906559aea5424eaf61e35d3e53feded2ccd5f62fcc7d9670d3c8eb353 + version: 1.13.1 + resolution: "object-inspect@npm:1.13.1" + checksum: 7d9fa9221de3311dcb5c7c307ee5dc011cdd31dc43624b7c184b3840514e118e05ef0002be5388304c416c0eb592feb46e983db12577fc47e47d5752fbbfb61f languageName: node linkType: hard @@ -15807,27 +15769,14 @@ __metadata: languageName: node linkType: hard -"react-fast-compare@npm:^3.0.1, react-fast-compare@npm:^3.2.0, react-fast-compare@npm:^3.2.2": +"react-fast-compare@npm:^3.0.1, react-fast-compare@npm:^3.2.0": version: 3.2.2 resolution: "react-fast-compare@npm:3.2.2" checksum: 2071415b4f76a3e6b55c84611c4d24dcb12ffc85811a2840b5a3f1ff2d1a99be1020d9437ee7c6e024c9f4cbb84ceb35e48cf84f28fcb00265ad2dfdd3947704 languageName: node linkType: hard -"react-helmet-async@npm:*": - version: 2.0.5 - resolution: "react-helmet-async@npm:2.0.5" - dependencies: - invariant: ^2.2.4 - react-fast-compare: ^3.2.2 - shallowequal: ^1.1.0 - peerDependencies: - react: ^16.6.0 || ^17.0.0 || ^18.0.0 - checksum: cc2d13496f6fdee6b5f9472d3f7369db3e70e4fc1a55793708c2bbd90d48b0dedc725fd066f987c7a3d74b03a29bd5e65b9f40fa29bd8239e7cfb526aff4d4b6 - languageName: node - linkType: hard - -"react-helmet-async@npm:^1.3.0": +"react-helmet-async@npm:*, react-helmet-async@npm:^1.3.0": version: 1.3.0 resolution: "react-helmet-async@npm:1.3.0" dependencies: @@ -16853,7 +16802,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 @@ -18532,22 +18481,22 @@ __metadata: linkType: hard "typescript@npm:^5.4.5": - version: 5.5.2 - resolution: "typescript@npm:5.5.2" + version: 5.4.5 + resolution: "typescript@npm:5.4.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd + checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0 languageName: node linkType: hard "typescript@patch:typescript@^5.4.5#~builtin": - version: 5.5.2 - resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin::version=5.5.2&hash=1f5320" + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin::version=5.4.5&hash=1f5320" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 9d89bac0de650e15d6846485f238d1e65f1013f2c260d9e53e86a1da6ecf8109d9fad9402575c5c36a6592dc5d4370db090e12971c8630ae84453654baabb6b4 + checksum: 2373c693f3b328f3b2387c3efafe6d257b057a142f9a79291854b14ff4d5367d3d730810aee981726b677ae0fd8329b23309da3b6aaab8263dbdccf1da07a3ba languageName: node linkType: hard @@ -19441,8 +19390,8 @@ __metadata: linkType: hard "webpack@npm:^5.88.1": - version: 5.92.1 - resolution: "webpack@npm:5.92.1" + version: 5.92.0 + resolution: "webpack@npm:5.92.0" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^1.0.5 @@ -19473,7 +19422,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 11bec781260c4180883e98a4a15a08df297aca654ded45e70598f688881dd722f992d680addafe6f6342debede345cddcce2b781c50f5cde29d6c0bc33a82452 + checksum: b020102549d2bdbc59902003140808601a4f85800c3efcb8292d4239a71a44786d0b4e2412cfa840a75c2e60276e7e55ea3b77b4e1850a915024cab2a57e90ef languageName: node linkType: hard