# eth\_estimateGas

### Parameters

`Object` - The transaction call object with the following:

* `from`(optional): the address the transaction is sent from.
* `to`(optional): the address the transaction is sent to.
* `gas`(optional): Integer of the gas provided for the transaction execution. eth\_call consumes zero gas, but this parameter may be needed by some executions.
* `gasPrice`(optional): Integer of the gasPrice used for each paid gas.
* `value`(optional): Integer of the value sent with this transaction.
* `data`(optional): Hash of the method signature and encoded parameters. For details see [Ethereum Contract ABI in the Solidity documentation](https://docs.soliditylang.org/en/latest/abi-spec.html).

#### Sample Request

{% code overflow="wrap" %}

```
curl https://lb.nodies.app/v1/<INSERT URL> \
   -H "x-api-key: <API-KEY>" \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{ 
  "jsonrpc": "2.0",
  "method": "eth_estimateGas",
  "params": [
    {
      "from": "0x7b5B29c949560593977d8AA8c9a5Bc8aB3Eb2709",
      "to": "0xf2dfA2938c13278D8eb64D96Be6Dd020F1FC81b4",
      "value": "0x1"
    }
  ],
  "id": 1
}'
```

{% endcode %}

#### Sample Response

{% code overflow="wrap" %}

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

{% endcode %}
