{"uid":"cap_vW_a0aV0pB0ypgppCDbTt","slug":"straelo-relay-evm-transaction-execution-decision-7603db45","name":"Straelo Relay EVM Transaction Execution Decision","description":"Evaluate an intended EVM transaction before submission using deterministic RPC simulation signals and return a machine-readable STRAELO execution decision. The decision engine is deterministic for the same observed RPC evidence; live chain state may change between calls. USE WHEN: an agent needs to evaluate an EVM transaction before deciding whether to submit it. DO NOT USE WHEN: the transaction has already been submitted and the agent needs to look it up by transaction hash; use","url":"https://relay.straelo.com/evm-transaction-execution-decision?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","pattern":"^0x(?:[a-fA-F0-9]{2})*$","description":"EVM calldata hex for contract interaction. Must start with 0x. Empty calldata is represented as \"0x\"."},"chain":{"enum":["ethereum","base"],"type":"string","description":"EVM network where the transaction would be executed."},"value":{"type":"string","pattern":"^0x[0-9a-fA-F]*$","description":"Native value in hex wei (atomic units, 10^18 wei = 1 ETH). Zero means no native value transfer."},"to_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Intended recipient address or contract target for the transaction."},"from_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Actual EVM sender address whose execution context should be simulated. Required because contract behavior may depend on msg.sender, balances, permissions, ownership, or allowlists."}}},"responseSchema":{"type":"json","example":{"chain":"base","reasons":["ERC20 transfer detected toward 0x1111111111111111111111111111111111111111.","Native value outflow of 1 wei to 0x1111111111111111111111111111111111111111."],"decision":"ALLOW","findings":["erc20_transfer","native_value_outflow"],"provider":"aex402","latency_ms":20,"counterparty":"0x1111111111111111111111111111111111111111","native_value":"1","estimated_gas":"21000","decoded_action":{"amount":"1000000000000000000","spender":null,"counterparty":"0x1111111111111111111111111111111111111111","method_selector":"0xa9059cbb","interaction_type":"erc20_transfer","is_unlimited_approval":false,"is_set_approval_for_all":false},"method_selector":"0xa9059cbb","interaction_type":"erc20_transfer","simulation_status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SBKwN7R0iGrnfuuHJgZs0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates an EVM transaction before submission using deterministic RPC signals and returns a machine-readable ALLOW, WARN, BLOCK, or INCOMPLETE execution decision.","exampleAgentPrompt":"Before I submit this transaction, can you run it through Straelo's execution decision engine to see if I'd get an ALLOW or BLOCK? It's a contract call on Base — from 0xAbCd...1234 to 0x9876...DEAD, with calldata 0xa9059cbb...and zero ETH value.","exampleUseCases":[{"title":"DeFi swap pre-flight safety check","prompt":"I'm about to swap tokens on Uniswap on Ethereum — before I sign, can you simulate the transaction and tell me if Straelo gives it an ALLOW or BLOCK? The calldata is 0x38ed1739..., from my wallet 0xAABB...1234, to the Uniswap router 0x7a250d...5644, with zero ETH value."},{"title":"Agent wallet transaction guardrail","prompt":"My agent is about to execute a contract interaction on Base. Run a Straelo execution decision check first — from address 0x1111...2222, to contract 0x3333...4444, calldata 0x095ea7b3..., no native value. Only proceed if the decision is ALLOW."},{"title":"Suspicious transaction risk evaluation","prompt":"Someone sent me a transaction to sign — can you use Straelo to evaluate whether it's safe before I submit it? It's on Ethereum, from 0xDEAD...BEEF to 0xCAFE...BABE, calldata 0x23b872dd..., value is 0x0. I want to know if it comes back WARN or BLOCK."}],"resultDescription":"Returns a machine-readable STRAELO execution decision — one of ALLOW, WARN, BLOCK, or INCOMPLETE — derived deterministically from RPC simulation signals for the specified transaction parameters, along with supporting evidence from the simulation run.","failureModes":["Invalid or malformed calldata hex returns a validation error","Unsupported chain value (not 'ethereum' or 'base') returns an enum error","Invalid from_address or to_address format returns a pattern mismatch error","Live chain state changes between simulation and submission may cause divergence","Insufficient balance or permissions for the simulated sender may produce INCOMPLETE","Network or RPC connectivity issues may cause simulation failure","Payment not received results in HTTP 402 and no decision returned"],"whenToPreferThis":"Use this endpoint when an AI agent or automated system needs to evaluate an EVM transaction before deciding whether to submit it, especially in DeFi automation, wallet guardrails, or multi-step agent workflows where a bad transaction would cause irreversible harm. Prefer this over generic RPC eth_call when you need a structured, machine-readable ALLOW/WARN/BLOCK decision rather than raw simulation output. Do NOT use this to look up already-submitted transactions by hash — use the EVM transaction lookup endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T18:30:17.570Z","isFirstParty":false,"canonicalSlug":"straelo-relay-evm-transaction-execution-decision-7603db45"}