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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"notionalUsd": "<notionalUsd>"
},
"name": "stocktoken_simulate"
}
}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" |