---
updatedAt: 2026-05-13T16:17:35.000Z
---

Fetch the complete documentation index at: https://docs.blockdaemon.com/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Ethereum

**Step 1**: To access Ethereum, use the following native access endpoints:

* **Network**: Ethereum Mainnet
* **Request Type**: POST

```
https://svc.blockdaemon.com/ethereum/mainnet/native
```

* **Network**: Ethereum Sepolia
* **Request Type**: POST

```
https://svc.blockdaemon.com/ethereum/sepolia/native
```

* **Network**: Ethereum Hoodi
* **Request Type**: POST

```
https://svc.blockdaemon.com/ethereum/hoodi/native
```

**Step 2:** Authenticate your request using your API key. You can include the API key using either of the following headers:

```curl Bearer Token
Authorization: Bearer YOUR_API_KEY
```

```curl X-API-Key
X-API-Key: YOUR_API_KEY
```

**Step 3**: Specify an Ethereum method in the request body:

> Learn more about Ethereum methods [here](https://docs.blockdaemon.com/reference/ethereum-methods-rpc-api).

```json
{
    "jsonrpc": "2.0",
    "method": "YOUR_METHOD",
    "params": [],
    "id": 1
}
```

## Example Request

### Using Ethereum Custom Method

<Callout icon="📘" theme="info">
  **See the list of custom methods[here](https://docs.blockdaemon.com/reference/supported-ethereum-custom-methods).**
</Callout>

Below is an example of the `bd_estimateFee` method, which estimates the required fee to get your transaction confirmed on the network.

```curl
curl -X POST https://svc.blockdaemon.com/ethereum/mainnet/native \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "bd_estimateFee"
}'
```

The response will provide fee estimations in three categories: `fast`, `medium`, and `slow`.

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "estimatedFees": {
            "fast": {
                "maxPriorityFee": "0x1e21cfcbe",
                "maxTotalFee": "0x4435d69a7"
            },
            "medium": {
                "maxPriorityFee": "0x47868c00",
                "maxTotalFee": "0x23a8b4df1"
            },
            "slow": {
                "maxPriorityFee": "0x3b9aca00",
                "maxTotalFee": "0x21d2c9e30"
            }
        },
        "mostRecentBlock": "0x13f1c5b"
    }
}
```

### Using Ethereum RPC Method

Here is a cURL example for using [eth\_blockNumber](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber) to get the current block number in Ethereum Mainnet:

```curl
curl -X POST https://svc.blockdaemon.com/ethereum/mainnet/native \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": [],
  "id": 1
}'
```

The following is a typical response you will get:

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0xe9c344"
}
```

## 👋 Need Help?

Contact us through [email](mailto:support@blockdaemon.com) or our [support page](https://www.blockdaemon.com/support) for any issues, bugs, or assistance you may need.