get_clear_sign_prompt
Generate a clear signing prompt that verifies the contract, decodes transaction intent, and formats transaction details for user confirmation before signing.
Instructions
Get a clear signing prompt for user confirmation. Prefer clear_sign_payload — it returns this prompt plus payload normalization and signing policy; this tool is a subset for direct {to,data} input.
This tool provides a formatted display for transaction signing flows:
Takes a transaction payload (to, data, value, chainId)
Verifies the contract against KaiSign on-chain registry
Decodes the transaction intent
Returns formatted display text for user confirmation
Use this when presenting transactions to users for signing. The response includes:
displayText: Formatted text ready for display (includes verification badge, intent, warnings)
verified: Whether the contract has on-chain verified metadata
verificationBadge: "✓ Verified", "⚠ Local Metadata", or "⚠ Unverified"
intent: Human-readable description of transaction
functionName: The function being called
warnings: Any concerns about the transaction
transaction: The original transaction payload for signing
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": {
"to": "<to>",
"data": "<data>"
},
"name": "get_clear_sign_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target contract address (0x...) | |
| data | Yes | Transaction calldata (0x...) | |
| value | No | Transaction value in wei (default: "0") | 0 |
| chainId | No | Chain ID (default: 8453 for Base) |