> For the complete documentation index, see [llms.txt](https://docs.triton.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.triton.one/monad/rpc-methods/eth/eth_filltransaction.md).

# eth\_fillTransaction

Fill in the defaults (gas, nonce, fees) for a transaction call object and return the unsigned transaction.

## Request

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

```bash
curl "https://<your-endpoint>.mainnet.monad.rpcpool.com/<your-token>" -s -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_fillTransaction",
  "params": [
    {
      "from": "0xaea8f8f781326bfe6a7683c2bd48dd6aa4d3ba63",
      "to": "0xaea8f8f781326bfe6a7683c2bd48dd6aa4d3ba63",
      "data": "0x1234"
    }
  ]
}'
```

{% endtab %}
{% endtabs %}

## Parameters

| Parameter | Type   | Required | Description                                                                                   |
| --------- | ------ | -------- | --------------------------------------------------------------------------------------------- |
| `tx`      | object | Yes      | Transaction call object. It must include `from`, or the call returns an invalid-params error. |

## Response

Returns the filled transaction (`tx`) and its RLP-encoded unsigned form (`raw`).

```json
{
  "raw": "0x02eb818f808477359400852363e7f0008252cd94aea8f8f781326bfe6a7683c2bd48dd6aa4d3ba6380821234c0",
  "tx": {
    "from": "0xaea8f8f781326bfe6a7683c2bd48dd6aa4d3ba63",
    "to": "0xaea8f8f781326bfe6a7683c2bd48dd6aa4d3ba63",
    "gas": "0x52cd",
    "maxFeePerGas": "0x2363e7f000",
    "maxPriorityFeePerGas": "0x77359400",
    "value": "0x0",
    "input": "0x1234",
    "data": null,
    "nonce": "0x0",
    "chainId": "0x8f",
    "accessList": null,
    "authorizationList": null
  }
}
```

***

<i class="fa-life-ring">:life-ring:</i> Contact support by clicking the chat icon in your [customer dashboard](https://customers.triton.one)\ <i class="fa-briefcase">:briefcase:</i> Sales questions? [Contact us](https://triton.one/contact)\ <i class="fa-sparkles">:sparkles:</i> AI agent? Read [llms.txt](https://docs.triton.one/llms.txt)\ <i class="fa-rss">:rss:</i> Follow updates: [Blog](https://blog.triton.one) · [X](https://x.com/triton_one) · [YouTube](https://www.youtube.com/@triton_one_ltd) · [Telegram](https://t.me/tritonone) · [GitHub](https://github.com/rpcpool)
