drain_contract_wallet
Transfers the entire native-token balance from a KMS contract wallet to a specified address. Works on suspended wallets, acting as a safety valve.
Instructions
Drain a KMS contract wallet's entire native-token balance to a destination address. Works on suspended wallets — the safety valve. Cost: chain gas + $0.000005 KMS sign fee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| wallet_id | Yes | The KMS contract wallet ID | |
| destination_address | Yes | Where to send the entire native-token balance. Cost: chain gas + $0.000005 KMS sign fee. Works on suspended wallets. |