Skip to content

Commit 07bb168

Browse files
Add Scroll docs (#1641)
1 parent a0c9bd9 commit 07bb168

File tree

136 files changed

+3600
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+3600
-24
lines changed

docs/whats-new.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ of the [MetaMask developer page](https://metamask.io/developer/).
1111

1212
## October 2024
1313

14+
- Documented [Scroll](/services/reference/scroll) support.
15+
([#1641](https://github.com/MetaMask/metamask-docs/pull/1641))
1416
- Updated [Wallet landing page](/wallet) and added [Connect to MetaMask](/wallet/connect) section
1517
with SDK, third-party libraries, and Wallet API connection options.
1618
([#1494](https://github.com/MetaMask/metamask-docs/pull/1494))

services/concepts/websockets.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Infura support subscriptions over WebSockets for the following networks:
5959
- [opBNB](../reference/opbnb/index.md)
6060
- [Optimism](../reference/optimism/index.md)
6161
- [Polygon](../reference/polygon-pos/index.md)
62+
- [Scroll](../reference/scroll/index.md)
6263
- [ZKsync Era](../reference/zksync/index.md)
6364

6465
:::info

services/get-started/endpoints.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ Include your authentication details when [making IPFS requests](/reference/ipfs/
141141
| Testnet (Amoy) | JSON-RPC over HTTPS | `https://polygon-amoy.infura.io/v3/<YOUR-API-KEY>` |
142142
| Testnet (Amoy) | JSON-RPC over WebSocket | `wss://polygon-amoy.infura.io/ws/v3/<YOUR-API-KEY>` |
143143

144+
## Scroll
145+
146+
| Network | Description | URL |
147+
|---------|-------------------------|-------------------------------------------------------|
148+
| Mainnet | JSON-RPC over HTTPS | `https://scroll-mainnet.infura.io/v3/<YOUR-API-KEY>` |
149+
| Sepolia | JSON-RPC over HTTPS | `https://scroll-sepolia.infura.io/v3/<YOUR-API-KEY>` |
150+
144151
## Starknet
145152

146153
| Network | Description | URL |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- `address`: [_required_] A string representing the address (20 bytes) to check for balance.
22
- `blockParameter`: (string) [_required_] A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
33
:::warning
4-
`safe` isn't supported, use `finalized`.
4+
`safe` isn't supported. Use `finalized` instead.
55
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
66
:::
77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- `blockParameter`: (string) [_required_] A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
22
:::warning
3-
`safe` isn't supported, use `finalized`.
3+
`safe` isn't supported. Use `finalized` instead.
44
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
55
:::
66

services/reference/linea/json-rpc-methods/_eth_call-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
- `data`: Hash of the method signature and encoded parameters. See [Ethereum contract ABI specification](https://docs.soliditylang.org/en/latest/abi-spec.html).
99
- `blockParameter`: (string) [_required_] A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
1010
:::warning
11-
`safe` isn't supported, use `finalized`.
11+
`safe` isn't supported. Use `finalized` instead.
1212
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
1313
:::

services/reference/linea/json-rpc-methods/_eth_estimategas-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- `blockParameter`: (string) [_required_] A hexadecimal block number, or one of the tags `latest`,
1717
`earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
1818
:::warning
19-
`safe` isn't supported, use `finalized`.
19+
`safe` isn't supported. Use `finalized` instead.
2020
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
2121
:::
2222

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- `blockParameter`: (string) [_required_] A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
22
:::warning
3-
`safe` isn't supported, use `finalized`.
3+
`safe` isn't supported. Use `finalized` instead.
44
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
55
:::
66
- `show transaction details flag`: [_required_] If set to `true`, returns the full transaction objects. If `false` returns only the hashes of the transactions.

services/reference/linea/json-rpc-methods/_eth_getlogs-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A filter object containing the following:
44
- `fromBlock`: (string) _[optional, default is "latest"]_ A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending`, or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
55
- `toBlock`: (string) _[optional, default is "latest"]_ A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending`, or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
66
:::warning
7-
`safe` isn't supported, use `finalized`.
7+
`safe` isn't supported. Use `finalized` instead.
88
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
99
:::
1010
- `topics`: _[optional]_ Array of 32 bytes DATA topics. Topics are order-dependent.

services/reference/linea/json-rpc-methods/_eth_getproof-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
- `storageKeys`: An array of 32-byte storage keys to be proofed and included.
33
- `blockParameter`: (string) A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).
44
:::warning
5-
`safe` isn't supported, use `finalized`.
5+
`safe` isn't supported. Use `finalized` instead.
66
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
77
:::

0 commit comments

Comments
 (0)