# Orbiter Tx Simulate

> Orbiter Tx Simulate is an Agent Skill for apps & automation published in the Orbiter-Finance/bridge-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Preflight a tx via eth_estimateGas with optional revert reason.

- Skill name: `orbiter-tx-simulate`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/Orbiter-Finance/bridge-skills/blob/HEAD/skills/orbiter-tx-simulate/SKILL.md
- Repository: Orbiter-Finance/bridge-skills (329 GitHub stars when collected)

## SKILL.md

# Orbiter Tx Simulate

Preflight a transaction via JSON-RPC `eth_estimateGas`.

## When to Use
- You already have `to/data/value`
- You need a risk preflight

## Inputs
- `rpcUrl` (string, optional)
- `chainId` (string, optional, for rpc-map lookup)
- `from` (string, optional)
- `to` (string)
- `data` (string, optional)
- `value` (string, optional)
- `callOnFail` (boolean, optional)

## Outputs
- `ok`
- `gasEstimate`
- `warnings[]`
- `reason` (failure reason)

## CLI Example
```bash
orbiter bridge simulate \
  --rpc-url https://rpc.example \
  --from 0xabc... \
  --to 0xdef... \
  --data 0x1234 \
  --call-on-fail
```

---

Source: https://www.openparable.com/skill/apps-automation/orbiter-tx-simulate (OpenParable). Cite the canonical URL above.
