Skip to content

Commit c778eda

Browse files
authored
Add new network (#2168)
* Add logo. Signed-off-by: bgravenorst <[email protected]> * Add sei methods, Signed-off-by: bgravenorst <[email protected]> * Update association function. Signed-off-by: bgravenorst <[email protected]> * Add block methods. Signed-off-by: bgravenorst <[email protected]> * Update Sei methods. Signed-off-by: bgravenorst <[email protected]> --------- Signed-off-by: bgravenorst <[email protected]>
1 parent e4d4590 commit c778eda

File tree

56 files changed

+1638
-8
lines changed

Some content is hidden

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

56 files changed

+1638
-8
lines changed

services/concepts/archive-data.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Access to archive data is automatically enabled on the following supported netwo
2323
|Polygon |Amoy |
2424
|Arbitrum| |
2525
|Celo | |
26+
|Sei | |
2627

2728
Infura provides access to [full nodes](#full-nodes)
2829
and [archive nodes](#archive-nodes).

services/get-started/endpoints.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ Include your authentication details when [making IPFS requests](/reference/ipfs/
151151
| Mainnet | JSON-RPC over HTTPS | `https://scroll-mainnet.infura.io/v3/<YOUR-API-KEY>` |
152152
| Sepolia | JSON-RPC over HTTPS | `https://scroll-sepolia.infura.io/v3/<YOUR-API-KEY>` |
153153

154+
## Sei
155+
156+
| Network | Description | URL |
157+
|---------|-------------------------|-------------------------------------------------------|
158+
| Mainnet | JSON-RPC over HTTPS | `https://sei-mainnet.infura.io/v3/<YOUR-API-KEY>` |
159+
| Testnet | JSON-RPC over HTTPS | `https://sei-testnet.infura.io/v3/<YOUR-API-KEY>` |
160+
154161
## Starknet
155162

156163
| Network | Description | URL |
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
- `from`: 20 bytes [_Required_] Address the transaction is sent from.
2-
- `to`: 20 bytes - Address the transaction is directed to.
3-
- `gas`: Hexadecimal value of the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions.
4-
- `gasPrice`: Hexadecimal value of the `gasPrice` used for each paid gas.
5-
- `maxPriorityFeePerGas`: Maximum fee, in wei, the sender is willing to pay per gas above the base fee. See [EIP-1559 transactions](../../concepts/transaction-types.md#eip-1559-transactions).
6-
- `maxFeePerGas`: Maximum total fee (base fee + priority fee), in wei, the sender is willing to pay per gas. See [EIP-1559 transactions](../../concepts/transaction-types.md#eip-1559-transactions).
7-
- `value`: Hexadecimal of the value sent with this transaction.
8-
- `data`: Hash of the method signature and encoded parameters. See [Ethereum contract ABI specification](https://docs.soliditylang.org/en/latest/abi-spec.html).
1+
- TRANSACTION CALL OBJECT [_Required_]
2+
- `from`: 20 bytes [_Required_] Address the transaction is sent from.
3+
- `to`: 20 bytes - Address the transaction is directed to.
4+
- `gas`: Hexadecimal value of the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions.
5+
- `gasPrice`: Hexadecimal value of the `gasPrice` used for each paid gas.
6+
- `maxPriorityFeePerGas`: Maximum fee, in wei, the sender is willing to pay per gas above the base fee. See [EIP-1559 transactions](../../concepts/transaction-types.md#eip-1559-transactions).
7+
- `maxFeePerGas`: Maximum total fee (base fee + priority fee), in wei, the sender is willing to pay per gas. See [EIP-1559 transactions](../../concepts/transaction-types.md#eip-1559-transactions).
8+
- `value`: Hexadecimal of the value sent with this transaction.
9+
- `data`: Hash of the method signature and encoded parameters. See [Ethereum contract ABI specification](https://docs.soliditylang.org/en/latest/abi-spec.html).
910
- `block parameter`: [_Required_] A hexadecimal block number, or one of the string tags `latest`, `earliest`, `pending`, `safe`, or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).

services/reference/sei/index.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
description: Sei network documentation.
3+
---
4+
5+
import CardList from '@site/src/components/CardList'
6+
7+
# Sei
8+
9+
:::note Decentralized Infrastructure Network (DIN)
10+
11+
Sei is supported through the [DIN](https://www.infura.io/solutions/decentralized-infrastructure-service) service,
12+
meaning calls to the network are routed to [partner infrastructure providers](#partners-and-privacy-policies).
13+
14+
:::
15+
16+
Sei is a Layer 1 blockchain designed for trading and exchange-focused applications. It features a
17+
parallelized EVM architecture, native order matching, and subsystems that address latency and scalability
18+
limitations while maintaining Ethereum compatibility.
19+
20+
:::info See also
21+
Refer to the [official Sei documentation](https://www.docs.sei.io/) for more information.
22+
:::
23+
24+
Select an option below to get started with the Sei network.
25+
26+
<CardList
27+
items={[
28+
{
29+
href: "quickstart",
30+
title: "Quickstart",
31+
description: "Learn how to quickly connect and make calls to the Sei network."
32+
},
33+
{
34+
href: "json-rpc-methods",
35+
title: "JSON-RPC APIs",
36+
description: "View the APIs available for communicating with the Sei network."
37+
},
38+
{
39+
href: "../../../developer-tools/dashboard/get-started/create-api/",
40+
title: "Create an API key",
41+
description: "Learn how to create an API key and secure and share it with your team."
42+
}
43+
]}
44+
/>
45+
46+
## Partners and privacy policies
47+
48+
No personal information is sent as part of partner requests, only information necessary to fulfill
49+
your API request. This means that Infura's partner service provider can service your request, but not
50+
store the content of your request.
51+
52+
The following partners provide access to the Sei network:
53+
<!-- markdown-link-check-disable -->
54+
- BlockPI ([Terms of Use](https://blockpi.io/terms-of-use), [Privacy Policy](https://blockpi.io/privacy-policy))
55+
- Nodefleet ([Privacy Policy](https://nodefleet.org/#/privacy-policy))
56+
- Nodies ([Terms of Service](https://www.nodies.app/tos.txt), [Privacy Policy](https://www.nodies.app/privacy.txt))
57+
<!-- markdown-link-check-enable -->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import Tabs from '@theme/Tabs'
2+
import TabItem from '@theme/TabItem'
3+
4+
<Tabs>
5+
<TabItem value="curl">
6+
7+
```bash
8+
curl https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> \
9+
-X POST \
10+
-H "Content-Type: application/json" \
11+
-d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}'
12+
```
13+
14+
</TabItem>
15+
16+
17+
</Tabs>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Tabs from '@theme/Tabs'
2+
import TabItem from '@theme/TabItem'
3+
4+
<Tabs>
5+
<TabItem value="curl">
6+
7+
```bash
8+
curl https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> \
9+
-X POST \
10+
-H "Content-Type: application/json" \
11+
-d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"from": "0xBEFcda6d33bC7876827Dd8EC11719cFED9b1a113", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}, "latest"], "id": 1}'
12+
```
13+
14+
</TabItem>
15+
16+
</Tabs>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Tabs from '@theme/Tabs'
2+
import TabItem from '@theme/TabItem'
3+
4+
<Tabs>
5+
<TabItem value="curl">
6+
7+
```bash
8+
curl https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> \
9+
-X POST \
10+
-H "Content-Type: application/json" \
11+
-d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}'
12+
```
13+
14+
</TabItem>
15+
16+
</Tabs>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Tabs from '@theme/Tabs'
2+
import TabItem from '@theme/TabItem'
3+
4+
<Tabs>
5+
<TabItem value="curl">
6+
7+
```bash
8+
curl https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> \
9+
-X POST \
10+
-H "Content-Type: application/json" \
11+
-d '{"jsonrpc": "2.0", "method": "eth_estimateGas", "params": [{"from": "0xBEFcda6d33bC7876827Dd8EC11719cFED9b1a113", "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567", "value": "0x9184e72a"}], "id": 1}'
12+
```
13+
14+
</TabItem>
15+
16+
</Tabs>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Tabs from '@theme/Tabs'
2+
import TabItem from '@theme/TabItem'
3+
4+
<Tabs>
5+
<TabItem value="curl">
6+
7+
```bash
8+
curl https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> \
9+
-X POST \
10+
-H "Content-Type: application/json" \
11+
-d '{"id": 1, "jsonrpc": "2.0", "method": "eth_feeHistory", "params": ["0x5", "latest", [20,30]] }'
12+
```
13+
14+
</TabItem>
15+
16+
</Tabs>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Tabs from '@theme/Tabs'
2+
import TabItem from '@theme/TabItem'
3+
4+
<Tabs>
5+
<TabItem value="curl">
6+
7+
```bash
8+
curl https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> \
9+
-X POST \
10+
-H "Content-Type: application/json" \
11+
-d '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1}'
12+
```
13+
14+
</TabItem>
15+
16+
</Tabs>

0 commit comments

Comments
 (0)