debank_simulate_transaction_tool
Simulate transactions before sending to avoid costly mistakes, with safety analysis including risk levels, warnings, and gas costs.
Instructions
Pre-execute and explain a transaction using DeBank's simulation.
CRITICAL SAFETY TOOL: Always simulate transactions before sending to avoid costly mistakes and security issues.
Args: transaction_data: Transaction object with required fields (chainId, from, to, value, data) pending_transactions: Optional array of transactions to simulate first explain_only: If True, only explain the transaction without full simulation
Returns: Simulation results with safety analysis including risk level, warnings, recommendations, and estimated gas costs
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": {
"transaction_data": "<transaction_data>"
},
"name": "debank_simulate_transaction_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| explain_only | No | ||
| transaction_data | Yes | ||
| pending_transactions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||