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

# eth_sendRawTransactionConditional

Submits a signed transaction with preconditions that the sequencer checks before it accepts the transaction. If any condition fails, the transaction is rejected and is not included in a block. This is an Arbitrum Nitro method. Use [`eth_sendRawTransaction`](https://docs.validationcloud.io/nodeapi/elysium/execution-api/eth_sendrawtransaction) for a transaction without conditions.

This method will use `80` [Compute Units](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

## Reference: [Here](https://docs.arbitrum.io/build-decentralized-apps/arbitrum-vs-ethereum/rpc-methods#arbitrum-specific-eth-json-rpc-additions)

## **Parameters**

1. `DATA` - The signed transaction data.
2. `Object` - The conditions. Every field is optional:

* `knownAccounts`: `Object` - A map of account address to either the account's expected storage root hash (`DATA`, 32 Bytes) or an object of storage slot to expected value. The transaction is rejected unless each account's storage root matches or each listed slot still holds the expected value.
* `blockNumberMin`: `QUANTITY` - The lowest parent chain block number at which the transaction is valid.
* `blockNumberMax`: `QUANTITY` - The highest parent chain block number at which the transaction is valid.
* `timestampMin`: `QUANTITY` - The earliest Elysium block timestamp at which the transaction is valid.
* `timestampMax`: `QUANTITY` - The latest Elysium block timestamp at which the transaction is valid.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
params: [
  "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675",
  {
    "knownAccounts": {
      "0x1742b836bd6acb3f996e17f4b5b3bd172d97a93b": {
        "0x0000000000000000000000000000000000000000000000000000000000000000": "0x50756d7020436174000000000000000000000000000000000000000000000010"
      }
    },
    "timestampMax": "0x70dbd880"
  }
]
```

## Returns

`DATA`, 32 Bytes - the transaction hash. If a condition fails, the method returns JSON-RPC error `-32003` instead.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result (illustrative: the result is the hash of the transaction you send)
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1edcfafe2394941ab6a70191a5ee7674c23c2d511d897ed7361c9455745621db"
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.elysium.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_sendRawTransactionConditional","params":["0x<SIGNED_TRANSACTION_HEX>",{"timestampMax":"0x70dbd880"}],"id":1}'
```

```bash title="testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://testnet.elysium.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_sendRawTransactionConditional","params":["0x<SIGNED_TRANSACTION_HEX>",{"timestampMax":"0x70dbd880"}],"id":1}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.