-
-
Notifications
You must be signed in to change notification settings - Fork 968
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(linea): updated net_ & web3_ reference pages (#1670)
- Loading branch information
1 parent
393a09c
commit 3b37407
Showing
3 changed files
with
24 additions
and
105 deletions.
There are no files selected for viewing
43 changes: 8 additions & 35 deletions
43
services/reference/linea/json-rpc-methods/net_listening.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,13 @@ | ||
--- | ||
title: "net_listening" | ||
hide_title: true | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import Tabs from "@theme/Tabs" | ||
import TabItem from "@theme/TabItem" | ||
import ParserOpenRPC from "@site/src/components/ParserOpenRPC" | ||
import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc" | ||
|
||
import Description from "/services/reference/_partials/_net_listening-description.mdx" | ||
|
||
<Description /> | ||
|
||
## Parameters | ||
|
||
import Params from "/services/reference/_partials/_net_listening-parameters.mdx" | ||
|
||
<Params /> | ||
|
||
## Returns | ||
|
||
import Returns from "/services/reference/_partials/_net_listening-returns.mdx" | ||
|
||
<Returns /> | ||
|
||
## Example | ||
|
||
import Example from "/services/reference/_partials/_net_listening-example.mdx" | ||
|
||
<Example /> | ||
|
||
### Request | ||
|
||
import Request from "./_net_listening-request.mdx" | ||
|
||
<Request /> | ||
|
||
### Response | ||
|
||
import Response from "/services/reference/_partials/_net_listening-response.mdx" | ||
|
||
<Response /> | ||
<ParserOpenRPC | ||
network={NETWORK_NAMES.linea} | ||
method="net_listening" | ||
/> |
43 changes: 8 additions & 35 deletions
43
services/reference/linea/json-rpc-methods/net_peercount.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,13 @@ | ||
--- | ||
title: "net_peerCount" | ||
hide_title: true | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import Tabs from "@theme/Tabs" | ||
import TabItem from "@theme/TabItem" | ||
import ParserOpenRPC from "@site/src/components/ParserOpenRPC" | ||
import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc" | ||
|
||
import Description from "/services/reference/_partials/_net_peercount-description.mdx" | ||
|
||
<Description /> | ||
|
||
## Parameters | ||
|
||
import Params from "/services/reference/_partials/_net_peercount-parameters.mdx" | ||
|
||
<Params /> | ||
|
||
## Returns | ||
|
||
import Returns from "/services/reference/_partials/_net_peercount-returns.mdx" | ||
|
||
<Returns /> | ||
|
||
## Example | ||
|
||
import Example from "/services/reference/_partials/_net_peercount-example.mdx" | ||
|
||
<Example /> | ||
|
||
### Request | ||
|
||
import Request from "./_net_peercount-request.mdx" | ||
|
||
<Request /> | ||
|
||
### Response | ||
|
||
import Response from "/services/reference/_partials/_net_peercount-response.mdx" | ||
|
||
<Response /> | ||
<ParserOpenRPC | ||
network={NETWORK_NAMES.linea} | ||
method="net_peerCount" | ||
/> |
43 changes: 8 additions & 35 deletions
43
services/reference/linea/json-rpc-methods/web3_clientversion.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,13 @@ | ||
--- | ||
title: "web3_clientVersion" | ||
hide_title: true | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import Tabs from "@theme/Tabs" | ||
import TabItem from "@theme/TabItem" | ||
import ParserOpenRPC from "@site/src/components/ParserOpenRPC" | ||
import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc" | ||
|
||
import Description from "/services/reference/_partials/_web3_clientversion-description.mdx" | ||
|
||
<Description /> | ||
|
||
## Parameters | ||
|
||
import Params from "/services/reference/_partials/_web3_clientversion-parameters.mdx" | ||
|
||
<Params /> | ||
|
||
## Returns | ||
|
||
import Returns from "/services/reference/_partials/_web3_clientversion-returns.mdx" | ||
|
||
<Returns /> | ||
|
||
## Example | ||
|
||
import Example from "/services/reference/_partials/_web3_clientversion-example.mdx" | ||
|
||
<Example /> | ||
|
||
### Request | ||
|
||
import Request from "./_web3_clientversion-request.mdx" | ||
|
||
<Request /> | ||
|
||
### Response | ||
|
||
import Response from "/services/reference/_partials/_web3_clientversion-response.mdx" | ||
|
||
<Response /> | ||
<ParserOpenRPC | ||
network={NETWORK_NAMES.linea} | ||
method="web3_clientVersion" | ||
/> |