Onchain Transaction Preflight — Bundled GO/NO-GO Check
Use as the single pre-send check before an autonomous agent or auto-trader broadcasts an onchain transaction: confirms it won't revert, the sender can pay gas, and gas is reasonable — in one call.
Call
POST https://statepulse-api.hahavoid0.workers.dev/agent/preflight
{
"wallet": "0x4a82F147c8A4339409C9097Adc1EedFd56E85bFE",
"to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"data": "0x70a082310000000000000000000000000000000000000000000000000000000000000000",
"chain": "base"
}AgentCash command
npx agentcash@latest fetch https://statepulse-api.hahavoid0.workers.dev/agent/preflight -m POST -b '{"wallet":"0x4a82F147c8A4339409C9097Adc1EedFd56E85bFE","to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","data":"0x70a082310000000000000000000000000000000000000000000000000000000000000000","chain":"base"}'Not for
Do not use for submitting signed transactions, or as a substitute for full security auditing of an unknown contract.