From 285379c3dfec61d4252f68ecec42576fdb0d92fb Mon Sep 17 00:00:00 2001 From: Joan E <153745173+joaniefromtheblock@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:40:04 -0400 Subject: [PATCH] apply feedback --- services/concepts/archive-data.md | 8 +-- services/concepts/curl.md | 2 +- services/get-started/endpoints.md | 55 ++++++++++--------- services/get-started/infura.md | 2 +- services/how-to/json-web-token-jwt.md | 48 ++++++++-------- services/how-to/trace-transactions.md | 2 +- .../migrate-to-infuras-ipfs-service.md | 2 +- services/index.md | 4 +- services/reference/base/quickstart.md | 2 +- services/reference/celo/quickstart.md | 2 +- services/reference/ethereum/quickstart.md | 2 +- .../reference/gas-api/api-reference/index.md | 2 +- services/reference/gas-api/index.md | 2 +- services/reference/ipfs/quickstart.md | 10 ++-- services/reference/linea/choose-a-network.md | 26 --------- services/reference/linea/quickstart.md | 2 +- services/reference/optimism/quickstart.md | 2 +- services/reference/palm/quickstart.md | 2 +- services/reference/polygon-pos/quickstart.md | 2 +- services/reference/starknet/quickstart.md | 2 +- services/tutorials/ethereum/_category_.json | 2 +- .../tutorials/ethereum/call-a-contract.md | 1 + .../deploy-a-contract-using-web3.js.md | 1 + .../monitor-transfers-using-python.md | 1 + ...and-display-erc-721-and-erc-1155-tokens.md | 1 + ...retrieve-the-balance-of-an-erc-20-token.md | 3 +- .../send-a-transaction-go.md | 2 - .../send-a-transaction-py.md | 2 +- ...thers.js-infuraprovider-or-web3provider.md | 2 +- .../ethereum/send-erc-20-token-rust.md | 2 + .../subscribe-to-pending-transactions.md | 1 + .../ethereum/track-erc-20-token-transfers.md | 3 +- ...ck-erc-721-and-erc-1155-token-transfers.md | 3 +- 33 files changed, 94 insertions(+), 109 deletions(-) delete mode 100644 services/reference/linea/choose-a-network.md diff --git a/services/concepts/archive-data.md b/services/concepts/archive-data.md index adef1946be7..9c27f854f7f 100644 --- a/services/concepts/archive-data.md +++ b/services/concepts/archive-data.md @@ -44,13 +44,13 @@ The following methods include a parameter for specifying a block number for the ### Rate limits -Infura applies [rate limits](../how-to/avoid-rate-limiting.md#infura-rate-limiting) to ensure network efficiency. +Infura applies [rate limits](../how-to/avoid-rate-limiting.md) to ensure network efficiency. Requests for Ethereum archive data are more expensive and are therefore subject to different rate limits. **Free plan** -- 25,000 archive requests per day**.** +- 25,000 archive requests per day. - 100,000 total requests per day. Rate limits kick in on archive requests after 25,000 per day. 75,000 standard requests are still available after this point. @@ -63,7 +63,7 @@ If you need more archive requests, upgrade to the developer plan. **Developer plan** -- 100,000 archive requests per day**.** +- 100,000 archive requests per day. - 200,000 total requests per day. Rate limits kick in on archive requests after 100,000 per day. 100,000 standard requests are still available after this point. @@ -76,4 +76,4 @@ If you need more archive requests, upgrade to the growth plan. #### Custom, team, and growth plans -No change. Same as a standard request +No change. Same as a standard request. diff --git a/services/concepts/curl.md b/services/concepts/curl.md index 00901484e5d..ea71206b829 100644 --- a/services/concepts/curl.md +++ b/services/concepts/curl.md @@ -38,7 +38,7 @@ It requests the latest block number using the method `eth_blockNumber`. Let's step through each line of the code snippet to understand what's happening. -The first line uses the `curl` command to send a request to the URL `https://mainnet.infura.io/v3/`YOUR-API-KEY. +The first line uses the `curl` command to send a request to the URL `https://mainnet.infura.io/v3/YOUR-API-KEY`. #### curl command diff --git a/services/get-started/endpoints.md b/services/get-started/endpoints.md index d755ff97206..76980aae3ed 100644 --- a/services/get-started/endpoints.md +++ b/services/get-started/endpoints.md @@ -1,6 +1,7 @@ --- description: Infura API endpoints sidebar_position: 2 +toc_max_heading_level: 3 --- # All endpoints @@ -9,7 +10,7 @@ The following lists all the network endpoints supported by Infura. Ensure that you replace `` with an API key from your [Infura dashboard](../../../developer-tools/dashboard/). -### Arbitrum +## Arbitrum | Network | Description | URL | |-------------------|-------------------------|----------------------------------------------------| @@ -18,7 +19,7 @@ Ensure that you replace `` with an API key from your [Infura dashboard] | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://arbitrum-sepolia.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://arbitrum-sepolia.infura.io/ws/v3/` | -### Avalanche (C-Chain) +## Avalanche (C-Chain) | Network | Description | URL | |----------------|-------------------------|----------------------------------------------------| @@ -27,7 +28,7 @@ Ensure that you replace `` with an API key from your [Infura dashboard] | Testnet (Fuji) | JSON-RPC over HTTPS | `https://avalanche-fuji.infura.io/v3/` | | Testnet (Fuji) | JSON-RPC over WebSocket | `wss://avalanche-fuji.infura.io/ws/v3/` | -### Base +## Base :::caution Limited access Base is currently only available to a limited number of customers. If you would like access, please submit a @@ -39,21 +40,21 @@ request to `support@infura.io` and we will assess if your request can be accommo | Mainnet | JSON-RPC over HTTPS | `https://base-mainnet.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://base-sepolia.infura.io/v3/` | -### Blast +## Blast | Network | Description | URL | |-------------------|---------------------|-----------------------------------------------| | Mainnet | JSON-RPC over HTTPS | `https://blast-mainnet.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://blast-sepolia.infura.io/v3/` | -### Celo +## Celo | Network | Description | URL | | ------------------- | ------------------- | ----------------------------------------------- | | Mainnet | JSON-RPC over HTTPS | `https://celo-mainnet.infura.io/v3/` | | Testnet (Alfajores) | JSON-RPC over HTTPS | `https://celo-alfajores.infura.io/v3/` | -### Ethereum +## Ethereum :::note The Holesky testnet is supported through the @@ -69,7 +70,7 @@ service and does not currently support WebSockets. | Sepolia | JSON-RPC over HTTPS | `https://sepolia.infura.io/v3/` | | Sepolia | JSON-RPC over WebSocket | `wss://sepolia.infura.io/ws/v3/` | -### IPFS +## IPFS :::caution Limited access Infura is currently limiting IPFS services to customers that already have an active IPFS key. @@ -82,11 +83,11 @@ New IPFS key creation is disabled for new and existing customers. :::info -Include your authentication details when [making IPFS requests](../network-apis/ipfs/quickstart.md) +Include your authentication details when [making IPFS requests](/reference/ipfs/quickstart.md). ::: -### Linea +## Linea :::caution deprecation notice @@ -103,14 +104,14 @@ Sepolia instead. | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://linea-sepolia.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://linea-sepolia.infura.io/ws/v3/` | -### Mantle +## Mantle | Network | Description | URL | |-------------------|-------------------------|--------------------------------------------------| | Mainnet | JSON-RPC over HTTPS | `https://mantle-mainnet.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://mantle-sepolia.infura.io/v3/` | -### Optimism +## Optimism | Network | Transport type | URL | |-------------------|-------------------------|---------------------------------------------------| @@ -119,14 +120,14 @@ Sepolia instead. | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://optimism-sepolia.infura.io/v3/` | | Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://optimism-mainnet.infura.io/ws/v3/` | -### Palm +## Palm | Network | Description | URL | | ------- | ------------------- | --------------------------------------------- | | Mainnet | JSON-RPC over HTTPS | `https://palm-mainnet.infura.io/v3/` | | Testnet | JSON-RPC over HTTPS | `https://palm-testnet.infura.io/v3/` | -### Polygon PoS +## Polygon PoS | Network | Description | URL | |------------------|-------------------------|---------------------------------------------------| @@ -135,7 +136,7 @@ Sepolia instead. | Testnet (Amoy) | JSON-RPC over HTTPS | `https://polygon-amoy.infura.io/v3/` | | Testnet (Amoy) | JSON-RPC over WebSocket | `wss://polygon-amoy.infura.io/ws/v3/` | -### StarkNet +## StarkNet | Network | Description | URL | |-------------------|---------------------|---------------------------------------------------| @@ -143,46 +144,46 @@ Sepolia instead. | Testnet (Sepolia) | JSON-RPC over HTTPS | `https://starknet-sepolia.infura.io/v3/` | -## Supported networks +## Gas API The Gas REST API supports multiple networks. Specify the chain ID in your request to interact with the relevant network. -### Arbitrum +#### Arbitrum | Network | Chain ID | | ------- | -------- | | Mainnet | 42161 | | Nova | 42170 | -### Avalanche (C-Chain) +#### Avalanche (C-Chain) | Network | Chain ID | | ------- | -------- | | Mainnet | 43114 | -### Base +#### Base | Network | Chain ID | | ------- | -------- | | Mainnet | 8453 | -### BNB Chain +#### BNB Chain | Network | Chain ID | | --------------- | -------- | | Mainnet | 56 | | opBNB (layer 2) | 204 | -### Cronos +#### Cronos | Network | Chain ID | | ------- | -------- | | Mainnet | 25 | -### Ethereum +#### Ethereum | Network | Chain ID | | ------- | -------- | @@ -190,39 +191,39 @@ Specify the chain ID in your request to interact with the relevant network. | Goerli | 5 | | Sepolia | 11155111 | -### Fantom +#### Fantom | Network | Chain ID | | ------- | -------- | | Mainnet | 250 | -### Filecoin +#### Filecoin | Network | Chain ID | | ------- | -------- | | Mainnet | 314 | -### Linea +#### Linea | Network | Chain ID | | ------- | -------- | | Mainnet | 59144 | | Testnet | 59140 | -### Optimism +#### Optimism | Network | Chain ID | | ------- | ----------- | | Mainnet | 10 | -### Polygon +#### Polygon | Network | Network ID | | ------- | ---------- | | Mainnet | 137 | | Amoy | 80002 | -### zkSync Era +#### zkSync Era | Network | Chain ID | | ------- | -------- | diff --git a/services/get-started/infura.md b/services/get-started/infura.md index beeda31d73b..a02fe11d094 100644 --- a/services/get-started/infura.md +++ b/services/get-started/infura.md @@ -70,7 +70,7 @@ Use the API key when sending requests. The following examples interact with the ::: -Use a tool such as the [Client Uniform Resource Locator (curl)](../learn/curl.md) or [Postman](https://www.postman.com/downloads/) to make requests. We recommend using Postman if you're a Windows user. +Use a tool such as the [Client Uniform Resource Locator (curl)](../concepts/curl.md) or [Postman](https://www.postman.com/downloads/) to make requests. We recommend using Postman if you're a Windows user. ### 3.1 Get the current block number diff --git a/services/how-to/json-web-token-jwt.md b/services/how-to/json-web-token-jwt.md index 30a86131daa..73c259542ed 100644 --- a/services/how-to/json-web-token-jwt.md +++ b/services/how-to/json-web-token-jwt.md @@ -74,49 +74,51 @@ Upload the contents of the public key file that you [generated earlier](json-web 1. Go to the **SECURITY** section in your project settings. -![Security settings](../images/security-page.png) + ![Security settings](../images/security-page.png) -:::info + :::info -You must implement separate security settings for each project. + You must implement separate security settings for each project. -::: + ::: 2. Check the **Require JWT for all requests** box to enforce JWT on all requests. This is optional. -:::info Use allowlists to specify a subset of requests that must use JWTs. + :::info + + Use allowlists to specify a subset of requests that must use JWTs. -::: + ::: -1. Give the public key a name. +3. Give the public key a name. -2. Paste the public key into the **JWT PUBLIC KEY** input box. It looks something like this: +4. Paste the public key into the **JWT PUBLIC KEY** input box. It looks something like this: -``` ------BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr7VlNytvNFt9wVkjJ8vG -L4F0+id4kS1CpG7UMh1kghrLg9KMb8gauy7Bxk6PRz5Ckv1FnG4FL+Z3Cdzwd6c8 -jJlzJxbRTYvNi3elqAyItE3tRl6CatRur49t9nGepgFOrwmPP5We52G5O0BsW6Mx -w/neqQH+Y/bXqs0PG/0ZbpTyr044Lh+p9grSuPIogIGIY5JM4AI+fpdH6hVnA7od -PkinkWhQqAW+F8jngwZK+JCFS1GAeobTZVbvsiHZQGuP/T7hqE8z5Q8HYO4ymnkI -MPH6zSKhSxsQRs/kWU5lXqY67ORC3DIMA+I/AJujLuoqC+YaMP0fO81XjrwXPf2j -4wIDAQAB ------END PUBLIC KEY----- -``` + ``` + -----BEGIN PUBLIC KEY----- + MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr7VlNytvNFt9wVkjJ8vG + L4F0+id4kS1CpG7UMh1kghrLg9KMb8gauy7Bxk6PRz5Ckv1FnG4FL+Z3Cdzwd6c8 + jJlzJxbRTYvNi3elqAyItE3tRl6CatRur49t9nGepgFOrwmPP5We52G5O0BsW6Mx + w/neqQH+Y/bXqs0PG/0ZbpTyr044Lh+p9grSuPIogIGIY5JM4AI+fpdH6hVnA7od + PkinkWhQqAW+F8jngwZK+JCFS1GAeobTZVbvsiHZQGuP/T7hqE8z5Q8HYO4ymnkI + MPH6zSKhSxsQRs/kWU5lXqY67ORC3DIMA+I/AJujLuoqC+YaMP0fO81XjrwXPf2j + 4wIDAQAB + -----END PUBLIC KEY----- + ``` 5. Click **ADD** to add the key to the settings. 6. The key is added to security settings. -![JWT set up](../images/jwt-set-up.png) + ![JWT set up](../images/jwt-set-up.png) 7. The key has a **NAME**, **ID**, **FINGERPRINT**. These are used for creating and verifying JWTs. You'll need the **ID** to [generate the JWT](json-web-token-jwt.md#generate-a-jwt). -:::info + :::info -For key rotation, upload up to three keys for each project. + For key rotation, upload up to three keys for each project. -::: + ::: ## Send requests with JWTs diff --git a/services/how-to/trace-transactions.md b/services/how-to/trace-transactions.md index 6b10190bb77..b00a333845c 100644 --- a/services/how-to/trace-transactions.md +++ b/services/how-to/trace-transactions.md @@ -51,7 +51,7 @@ The ad-hoc tracing API endpoints are: ## Transaction-trace filtering APIs These API endpoints allow you to filter and search by specific information such as the block, address, or transaction. The endpoints -only use the [`trace`](../reference/ethereum/json-rpc-methods/trace-methods.mdx#trace) diagnostic option. The transaction-trace filtering API endpoints are: +only use the [`trace`](../reference/ethereum/json-rpc-methods/trace-methods/index.md) diagnostic option. The transaction-trace filtering API endpoints are: - [`trace_block`](../reference/ethereum/json-rpc-methods/trace-methods/trace_block.mdx) - [`trace_transaction`](../reference/ethereum/json-rpc-methods/trace-methods/trace_transaction.mdx) diff --git a/services/how-to/use-ipfs/migrate-to-infuras-ipfs-service.md b/services/how-to/use-ipfs/migrate-to-infuras-ipfs-service.md index 75ea89412e0..316e3fe2181 100644 --- a/services/how-to/use-ipfs/migrate-to-infuras-ipfs-service.md +++ b/services/how-to/use-ipfs/migrate-to-infuras-ipfs-service.md @@ -7,7 +7,7 @@ sidebar_position: 4 The updated Infura IPFS service offers: -- A [project dashboard](../../../../dashboard/dashboard-stats.md) with essential statistics. +- A [project dashboard](../../../../../developer-tools/dashboard/how-to/dashboard-stats/) with essential statistics. - [Pinning](manage-files.md#pin-a-file) and [unpinning](manage-files.md#unpin-a-file) API access. - Publishing files in the background to the IPFS P2P network, so that content is globally accessible. diff --git a/services/index.md b/services/index.md index 4482cb3bb72..dba6180e7ec 100644 --- a/services/index.md +++ b/services/index.md @@ -26,11 +26,11 @@ include: * **Failover support for APIs** - Currently available on select networks for customers on Growth or Custom plans; if an Infura API endpoint becomes unavailable for any reason, requests can be forwarded to a partner to fulfill the request. This ensures that your application remains up and running, providing uninterrupted service to your users. -* **Archive data querying** - [Access historical state data](../concepts/archive-data.md) at any given +* **Archive data querying** - [Access historical state data](concepts/archive-data.md) at any given block height. This is an invaluable feature for those who need to perform deep analyses of past transactions, contract states, or balances. With this feature, developers can build applications that are not only data-rich but also comprehensive. * **Expansion APIs** - - [Access Infura's multi-chain Gas API](../reference/gas-api/api-reference/index.md). Use the Gas API used by the MetaMask wallet to analyze and + [Access Infura's multi-chain Gas API](reference/gas-api/api-reference/index.md). Use the Gas API used by the MetaMask wallet to analyze and optimize gas costs on EIP-1559 compatible chains. diff --git a/services/reference/base/quickstart.md b/services/reference/base/quickstart.md index 0e27576cfe2..1feb7fa74d0 100644 --- a/services/reference/base/quickstart.md +++ b/services/reference/base/quickstart.md @@ -183,7 +183,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Base network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/celo/quickstart.md b/services/reference/celo/quickstart.md index ccf7ecdc4c5..e8338458052 100644 --- a/services/reference/celo/quickstart.md +++ b/services/reference/celo/quickstart.md @@ -183,7 +183,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Celo network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/ethereum/quickstart.md b/services/reference/ethereum/quickstart.md index 64b6c93bbfb..e211b01981f 100644 --- a/services/reference/ethereum/quickstart.md +++ b/services/reference/ethereum/quickstart.md @@ -229,7 +229,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Ethereum network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/gas-api/api-reference/index.md b/services/reference/gas-api/api-reference/index.md index 0a21dc9a759..1a78a28900e 100644 --- a/services/reference/gas-api/api-reference/index.md +++ b/services/reference/gas-api/api-reference/index.md @@ -19,7 +19,7 @@ Use the APIs to: You can call the Gas APIs in two ways: -- **Using the API key only** - Add your [API key](https://docs.infura.io/dashboard/secure-an-api/api-key) +- **Using the API key only** - Add your [API key](../../../../developer-tools/dashboard/get-started/create-api) as a path option. - **Using the API key and API key secret** - Use basic authentication and specify the API key and [API key secret](../../../../developer-tools/dashboard/how-to/secure-an-api/api-key-secret/). diff --git a/services/reference/gas-api/index.md b/services/reference/gas-api/index.md index c6f3cbc810c..9c54104a0ab 100644 --- a/services/reference/gas-api/index.md +++ b/services/reference/gas-api/index.md @@ -4,7 +4,7 @@ description: Gas API documentation import CardList from '@site/src/components/CardList' -# Gas +# Gas API ` with an API key from your [Infura dashboard](https://infura.io/dashboard). - -| Network | Description | URL | -|-------------------|-------------------------|-------------------------------------------------| -| Mainnet | JSON-RPC over HTTPS | `https://linea-mainnet.infura.io/v3/` | -| Mainnet | JSON-RPC over WebSocket | `wss://linea-mainnet.infura.io/ws/v3/` | -| Testnet (Goerli) | JSON-RPC over HTTPS | `https://linea-goerli.infura.io/v3/` | -| Testnet (Goerli) | JSON-RPC over WebSocket | `wss://linea-goerli.infura.io/v3/` | -| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://linea-sepolia.infura.io/v3/` | -| Testnet (Sepolia) | JSON-RPC over WebSocket | `wss://linea-sepolia.infura.io/v3/` | diff --git a/services/reference/linea/quickstart.md b/services/reference/linea/quickstart.md index 6f0324628f4..e9439a882b2 100644 --- a/services/reference/linea/quickstart.md +++ b/services/reference/linea/quickstart.md @@ -183,7 +183,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Linea network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/optimism/quickstart.md b/services/reference/optimism/quickstart.md index cadc189c2b9..825f27a91ab 100644 --- a/services/reference/optimism/quickstart.md +++ b/services/reference/optimism/quickstart.md @@ -183,7 +183,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Optimism network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/palm/quickstart.md b/services/reference/palm/quickstart.md index 5068bca2626..c41ce4696e6 100644 --- a/services/reference/palm/quickstart.md +++ b/services/reference/palm/quickstart.md @@ -183,7 +183,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Palm network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/polygon-pos/quickstart.md b/services/reference/polygon-pos/quickstart.md index d83bc23c059..69c71903a67 100644 --- a/services/reference/polygon-pos/quickstart.md +++ b/services/reference/polygon-pos/quickstart.md @@ -183,7 +183,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Polygon network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/reference/starknet/quickstart.md b/services/reference/starknet/quickstart.md index 37c654979ea..ae63320eabb 100644 --- a/services/reference/starknet/quickstart.md +++ b/services/reference/starknet/quickstart.md @@ -151,7 +151,7 @@ In these examples,you'll use [npm](https://docs.npmjs.com/downloading-and-instal python index.py ``` -## Next Steps +## Next steps Now that you have successfully made a call to the Starknet network, you can explore more functionalities and APIs provided by Infura. Here are some suggestions: diff --git a/services/tutorials/ethereum/_category_.json b/services/tutorials/ethereum/_category_.json index 17eefb1a21d..167f2e50b53 100644 --- a/services/tutorials/ethereum/_category_.json +++ b/services/tutorials/ethereum/_category_.json @@ -5,6 +5,6 @@ "link": { "type": "generated-index", "slug": "tutorials/ethereum", - "description": "This section provides tutorials for using the Infura API to perform various tasks on the Ethereum blockchain" + "description": "This section provides tutorials for using the Infura API to perform various tasks on the Ethereum blockchain." } } \ No newline at end of file diff --git a/services/tutorials/ethereum/call-a-contract.md b/services/tutorials/ethereum/call-a-contract.md index fec05a90720..a5b9eb66163 100644 --- a/services/tutorials/ethereum/call-a-contract.md +++ b/services/tutorials/ethereum/call-a-contract.md @@ -1,5 +1,6 @@ --- description: Use Web3.js to execute a smart contract function. +sidebar_position: 2 --- # Call a contract diff --git a/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md b/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md index 174e37506d4..4acc2cd35a2 100644 --- a/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md +++ b/services/tutorials/ethereum/deploy-a-contract-using-web3.js.md @@ -1,5 +1,6 @@ --- description: Create and deploy a smart contract. +sidebar_position: 1 --- # Deploy a contract using web3.js diff --git a/services/tutorials/ethereum/monitor-transfers-using-python.md b/services/tutorials/ethereum/monitor-transfers-using-python.md index db48d0363ea..723a5cb6388 100644 --- a/services/tutorials/ethereum/monitor-transfers-using-python.md +++ b/services/tutorials/ethereum/monitor-transfers-using-python.md @@ -1,5 +1,6 @@ --- description: Monitor transfers to an Ethereum account. +sidebar_position: 3 --- import Tabs from '@theme/Tabs'; diff --git a/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md b/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md index 86dd97c1e65..74cb8658964 100644 --- a/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md +++ b/services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md @@ -1,5 +1,6 @@ --- description: Retrieve and display ERC-721 and ERC-1155 tokens. +sidebar_position: 4 --- import Tabs from '@theme/Tabs'; diff --git a/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md b/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md index beb7b333c4a..4144a96d10c 100644 --- a/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md +++ b/services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md @@ -1,5 +1,6 @@ --- description: Retrieve the balance of an ERC-20 token. +sidebar_position: 5 --- import Tabs from '@theme/Tabs'; @@ -7,7 +8,7 @@ import TabItem from '@theme/TabItem'; # Retrieve the balance of an ERC-20 token -In this tutorial, using Web3.js, you'll retrieve the balance of an [ERC-20 token](../../network-apis/ethereum/how-to/interact-with-erc-20-tokens.md) in an account, using the account address and the token contract. +In this tutorial, using Web3.js, you'll retrieve the balance of an [ERC-20 token](../../how-to/interact-with-erc-20-tokens.md) in an account, using the account address and the token contract. ## Prerequisites diff --git a/services/tutorials/ethereum/send-a-transaction/send-a-transaction-go.md b/services/tutorials/ethereum/send-a-transaction/send-a-transaction-go.md index 01ba7e01962..b6e9ec49b7b 100644 --- a/services/tutorials/ethereum/send-a-transaction/send-a-transaction-go.md +++ b/services/tutorials/ethereum/send-a-transaction/send-a-transaction-go.md @@ -159,5 +159,3 @@ Transaction hash: 0x47ed277bdfee88902f971510a7cd7b4c55722ea06488e697fb05dc99454e ``` You can search for the transaction on a block explorer like [Sepolia Etherscan](https://sepolia.etherscan.io/). - -\ diff --git a/services/tutorials/ethereum/send-a-transaction/send-a-transaction-py.md b/services/tutorials/ethereum/send-a-transaction/send-a-transaction-py.md index 8b2e940261e..2c71183350b 100644 --- a/services/tutorials/ethereum/send-a-transaction/send-a-transaction-py.md +++ b/services/tutorials/ethereum/send-a-transaction/send-a-transaction-py.md @@ -129,4 +129,4 @@ Example output: Transaction hash: 0x30c0ef29111ca7aecc78a99149649b5076d104afa7ed2f603ff2d2ec1aa27a8c ``` -You can search for the transaction on a block explorer like [Sepolia Etherscan](https://sepolia.etherscan.io/tx/0x28e414889b47ba43b00086bc3ae42ea4ea521739f77b78afcaefb1b7fe42e955) +You can search for the transaction on a block explorer like [Sepolia Etherscan](https://sepolia.etherscan.io/tx/0x28e414889b47ba43b00086bc3ae42ea4ea521739f77b78afcaefb1b7fe42e955). diff --git a/services/tutorials/ethereum/send-a-transaction/use-ethers.js-infuraprovider-or-web3provider.md b/services/tutorials/ethereum/send-a-transaction/use-ethers.js-infuraprovider-or-web3provider.md index 52d1c275dbc..d2b6830da69 100644 --- a/services/tutorials/ethereum/send-a-transaction/use-ethers.js-infuraprovider-or-web3provider.md +++ b/services/tutorials/ethereum/send-a-transaction/use-ethers.js-infuraprovider-or-web3provider.md @@ -14,7 +14,7 @@ This tutorial uses the Sepolia testnet. - Install [MetaMask](https://metamask.io) and create an Ethereum account for testing purposes. - Load Sepolia ETH into your wallet from the [Infura faucet](https://www.infura.io/faucet). -- [Node.js and NPM installed](https://nodejs.org/en/download/) +- [Node.js and NPM installed](https://nodejs.org/en/download/). You can run the following to confirm that Node and NPM are installed: diff --git a/services/tutorials/ethereum/send-erc-20-token-rust.md b/services/tutorials/ethereum/send-erc-20-token-rust.md index 4571c51c211..a7c09e3d46c 100644 --- a/services/tutorials/ethereum/send-erc-20-token-rust.md +++ b/services/tutorials/ethereum/send-erc-20-token-rust.md @@ -1,5 +1,7 @@ --- description: A tutorial for sending ERC-20 tokens. +sidebar_position: 6 + --- # Send an ERC-20 token diff --git a/services/tutorials/ethereum/subscribe-to-pending-transactions.md b/services/tutorials/ethereum/subscribe-to-pending-transactions.md index 6c6d68df0c0..53e895a5f1a 100644 --- a/services/tutorials/ethereum/subscribe-to-pending-transactions.md +++ b/services/tutorials/ethereum/subscribe-to-pending-transactions.md @@ -1,5 +1,6 @@ --- description: Listen for new transactions on the blockchain. +sidebar_position: 7 --- # Subscribe to pending transactions diff --git a/services/tutorials/ethereum/track-erc-20-token-transfers.md b/services/tutorials/ethereum/track-erc-20-token-transfers.md index 7e01d547e51..09b2394a669 100644 --- a/services/tutorials/ethereum/track-erc-20-token-transfers.md +++ b/services/tutorials/ethereum/track-erc-20-token-transfers.md @@ -1,5 +1,6 @@ --- description: Track ERC-20 token transfers. +sidebar_position: 8 --- import Tabs from '@theme/Tabs'; @@ -7,7 +8,7 @@ import TabItem from '@theme/TabItem'; # Track ERC-20 token transfers -In this tutorial, you'll track [ERC-20 token](../../network-apis/ethereum/how-to/interact-with-erc-20-tokens.md) transfers from a specific address using the Web3 JavaScript library. +In this tutorial, you'll track [ERC-20 token](../../how-to/interact-with-erc-20-tokens.md) transfers from a specific address using the Web3 JavaScript library. ## Prerequisites diff --git a/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md b/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md index 3b16f7aabd5..3a6678b612f 100644 --- a/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md +++ b/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md @@ -1,5 +1,6 @@ --- description: Track ERC-721 and ERC-1155 token transfers. +sidebar_position: 9 --- import Tabs from '@theme/Tabs'; @@ -111,7 +112,7 @@ subscription1155.on("connected", (nr) => ### 5. Read ERC-721 transfers -Set the listener for the `subscription721` created in [step 4](track-erc-721-and-erc-1155-token-transfers.md#4.-subscribe-to-contract-events) by adding the following lines to the script: +Set the listener for the `subscription721` created in [step 4](track-erc-721-and-erc-1155-token-transfers.md#4-subscribe-to-contract-events) by adding the following lines to the script: ```javascript subscription721.on('data', event => {