Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_accounts
sidebar_label: eth_accounts
description: Returns a list of Base accounts.
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_accounts-description.mdx"

# `eth_accounts`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_accounts-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_accounts-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_accounts-example.mdx"

<Example />

### Request

import Request from "./_eth_accounts-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_accounts-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_accounts"
src="local"
/>
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_blocknumber.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_blockNumber
sidebar_label: eth_blockNumber
description: Returns the latest Base block number.
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_blocknumber-description.mdx"

# `eth_blockNumber`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_blocknumber-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_blocknumber-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_blocknumber-example.mdx"

<Example />

### Request

import Request from "./_eth_blocknumber-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_blocknumber-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_blockNumber"
src="local"
/>
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_call.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_call
sidebar_label: eth_call
description: Executes a Base call without creating a transaction.
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_call-description.mdx"

# `eth_call`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_call-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_call-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_call-example.mdx"

<Example />

### Request

import Request from "./_eth_call-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_call-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_call"
src="local"
/>
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_chainid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_chainId
sidebar_label: eth_chainId
description: Returns the Base chain ID.
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_chainid-description.mdx"

# `eth_chainId`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_chainid-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_chainid-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_chainid-example.mdx"

<Example />

### Request

import Request from "./_eth_chainid-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_chainid-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_chainId"
src="local"
/>
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_estimategas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_estimateGas
sidebar_label: eth_estimateGas
description: Estimates gas required for a Base transaction.
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_estimategas-description.mdx"

# `eth_estimateGas`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_estimategas-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_estimategas-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_estimategas-example.mdx"

<Example />

### Request

import Request from "./_eth_estimategas-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_estimategas-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_estimateGas"
src="local"
/>
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_feehistory.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_feeHistory
sidebar_label: eth_feeHistory
description: Returns historical Base gas information.
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_feehistory-description.mdx"

# `eth_feeHistory`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_feehistory-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_feehistory-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_feehistory-example.mdx"

<Example />

### Request

import Request from "./_eth_feehistory-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_feehistory-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_feeHistory"
src="local"
/>
46 changes: 9 additions & 37 deletions services/reference/base/json-rpc-methods/eth_gasprice.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,15 @@
title: Base eth_gasPrice
sidebar_label: eth_gasPrice
description: Returns the current Base gas price.
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_gasprice-description.mdx"

# `eth_gasPrice`

<Description />

## Parameters

import Params from "/services/reference/_partials/_eth_gasprice-parameters.mdx"

<Params />

## Returns

import Returns from "/services/reference/_partials/_eth_gasprice-returns.mdx"

<Returns />

## Example

import Example from "/services/reference/_partials/_eth_gasprice-example.mdx"

<Example />

### Request

import Request from "./_eth_gasprice-request.mdx"

<Request />

### Response

import Response from "/services/reference/_partials/_eth_gasprice-response.mdx"

<Response />
<ParserOpenRPC
network={NETWORK_NAMES.base}
method="eth_gasPrice"
src="local"
/>
Loading
Loading