-
-
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(ref): act-1562 - updated eth_hashrate & eth_mining ref pages (#1679
- Loading branch information
1 parent
6f37eae
commit 8a97a35
Showing
2 changed files
with
16 additions
and
70 deletions.
There are no files selected for viewing
43 changes: 8 additions & 35 deletions
43
services/reference/linea/json-rpc-methods/eth_hashrate.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: "eth_hashrate" | ||
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/_eth_hashrate-description.mdx" | ||
|
||
<Description /> | ||
|
||
## Parameters | ||
|
||
import Params from "/services/reference/_partials/_eth_hashrate-parameters.mdx" | ||
|
||
<Params /> | ||
|
||
## Returns | ||
|
||
import Returns from "/services/reference/_partials/_eth_hashrate-returns.mdx" | ||
|
||
<Returns /> | ||
|
||
## Example | ||
|
||
import Example from "/services/reference/_partials/_eth_hashrate-example.mdx" | ||
|
||
<Example /> | ||
|
||
### Request | ||
|
||
import Request from "./_eth_hashrate-request.mdx" | ||
|
||
<Request /> | ||
|
||
### Response | ||
|
||
import Response from "/services/reference/_partials/_eth_hashrate-response.mdx" | ||
|
||
<Response /> | ||
<ParserOpenRPC | ||
network={NETWORK_NAMES.linea} | ||
method="eth_hashrate" | ||
/> |
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: "eth_mining" | ||
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/_eth_mining-description.mdx" | ||
|
||
<Description /> | ||
|
||
## Parameters | ||
|
||
import Params from "/services/reference/_partials/_eth_mining-parameters.mdx" | ||
|
||
<Params /> | ||
|
||
## Returns | ||
|
||
import Returns from "/services/reference/_partials/_eth_mining-returns.mdx" | ||
|
||
<Returns /> | ||
|
||
## Example | ||
|
||
import Example from "/services/reference/_partials/_eth_mining-example.mdx" | ||
|
||
<Example /> | ||
|
||
### Request | ||
|
||
import Request from "./_eth_mining-request.mdx" | ||
|
||
<Request /> | ||
|
||
### Response | ||
|
||
import Response from "/services/reference/_partials/_eth_mining-response.mdx" | ||
|
||
<Response /> | ||
<ParserOpenRPC | ||
network={NETWORK_NAMES.linea} | ||
method="eth_mining" | ||
/> |