Orbiter Tx Simulate
Apps & Automationorbiter-tx-simulateOrbiter 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Orbiter-Finance/bridge-skills/blob/HEAD/skills/orbiter-tx-simulate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/orbiter-tx-simulate, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
okgasEstimatewarnings[]reason(failure reason)
CLI Example
orbiter bridge simulate \
--rpc-url https://rpc.example \
--from 0xabc... \
--to 0xdef... \
--data 0x1234 \
--call-on-fail