# eth\_gasPrice - Ethereum

## How to Use the eth\_gasPrice Method

### Parameters

No parameters

### What you receive

QUANTITY - an actual gas price presented in wei as an integer.

### Sample

Here is a typical appliance example.

#### Call

{% tabs %}
{% tab title="Curl" %}

```bash
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":0}'
```

{% endtab %}
{% endtabs %}

#### **Outcome**

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