stocktoken_simulate
Pre-trade check on chain 4663: allowlist, policy limits, and whether the quote is executable. This is not an eth_call of the swap. Pro required. If executable is false, stop and do not promise a fill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Registry symbol or 0x address | |
| amountIn | No | Raw amount in. Optional if amountInHuman is set. | |
| tokenOut | Yes | Registry symbol or 0x address | |
| sessionId | No | Existing session id, if one was created | |
| notionalUsd | Yes | USD notional the policy should check | |
| slippageBps | No | Max slippage in basis points. Default 50. | |
| amountInHuman | No | Human amount, e.g. "10" |