simulateTx
Simulate EVM transactions to estimate gas costs, decode revert reasons, and calculate USD fees before execution on multiple chains.
Instructions
트랜잭션을 시뮬레이션합니다 (eth_call + estimateGas, 가스비 USD 환산, revert reason 디코딩)
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": {
"from": "<from>",
"to": "<to>"
},
"name": "simulateTx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | 발신자 주소 (0x...) | |
| to | Yes | 수신자/컨트랙트 주소 (0x...) | |
| data | No | 호출 데이터 (hex, 0x...) | |
| value | No | 전송할 네이티브 토큰 수량 (예: '0.1') | 0 |
| chain | No | EVM 체인 | ethereum |