Revoke approval
build_revokeBuild an unsigned transaction that sets a token approval back to zero, so that spender can no longer move the token. Needs a key. Returns a call for the wallet owner to sign and send on Robinhood Chain (chain ID 4663). No keyfo tool signs. The answer also has sign_url: a keyfo page where the user checks the transaction and signs it in their own wallet. It stays open for 15 minutes and gets a new quote itself when the price is out of date. Show that link to the user, and never ask them to paste the transaction data anywhere.
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": {
"wallet": "<wallet>",
"token": "<token>",
"spender": "<spender>"
},
"name": "build_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Ticker (TSLA, USDG, WETH) or token address. | |
| wallet | Yes | The wallet that gave the approval. It signs and sends. | |
| spender | Yes | Address the approval was given to, from stock_approvals. |