> ## Documentation Index
> Fetch the complete documentation index at: https://docs.startale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_sendTransaction

> Send a single transaction from the user's smart account. Gas is sponsored automatically.

Sends a single transaction. The user's smart account is the sender. Gas is sponsored on Soneium Mainnet and Minato, the user pays nothing.

## Request

```ts theme={null}
const hash = await provider.request<`0x${string}`>({
  method: 'eth_sendTransaction',
  params: [
    {
      to: '0x...',
      value: '0x38d7ea4c68000', // 0.001 ETH
      data: '0x...',             // optional
    },
  ],
})
```

## Parameters

<ParamField path="params[0].to" type="`0x${string}`" required>
  Recipient address.
</ParamField>

<ParamField path="params[0].value" type="`0x${string}`">
  Hex-encoded value in wei. Defaults to `0x0`.
</ParamField>

<ParamField path="params[0].data" type="`0x${string}`">
  Hex-encoded calldata. Defaults to `0x`.
</ParamField>

<ParamField path="params[0].from" type="`0x${string}`">
  Ignored. The smart-account address is used regardless.
</ParamField>

## Returns

`0x${string}`, the transaction hash.

## Errors

| Code   | Cause                             |
| ------ | --------------------------------- |
| `4001` | User rejected the transaction     |
| `4100` | Wallet not connected              |
| `4902` | Active chain not in `appChainIds` |

## Notes

* The `from` field is rewritten to the smart-account address by the wallet popup. Any value supplied by the caller is ignored.
* Gas is sponsored by the Startale paymaster automatically.

## Related

* [`wallet_sendCalls`](/api-reference/rpc-methods/wallet-send-calls), atomic batched calls.
* [Send transactions](/app-sdk/send-transactions)
