Simulate the next bounded wallet action
plan_simulateRevalidate a stored plan and trusted adapter against live chain state. Simulate approval if allowance insufficient, otherwise simulate the protocol action and expected postconditions.
Instructions
Revalidate a stored plan and trusted adapter against live chain state. If allowance is insufficient, safely simulate and return only an exact approval transaction; otherwise simulate the protocol action and expected postconditions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planHash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | ||
| status | Yes | ||
| chainId | Yes | ||
| success | Yes | ||
| planHash | Yes | ||
| errorCode | No | ||
| expiresAt | Yes | ||
| timestamp | Yes | ||
| blockNumber | Yes | ||
| errorMessage | No | ||
| estimatedGas | Yes | ||
| preConditions | Yes | ||
| postConditions | Yes | ||
| simulationHash | Yes | ||
| nextTransaction | No |