hedera_delete_contract
Delete a smart contract and transfer its remaining balance to a designated account.
Instructions
Build (unsigned) a contract deletion, transferring any balance to an account.
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": {
"contractId": "<contractId>",
"transferAccountId": "<transferAccountId>"
},
"name": "hedera_delete_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | ||
| payerAccountId | No | ||
| transferAccountId | Yes | Account that receives the contract's remaining balance |