Cancel Transfer
cancel_transferCancel a pending inbound domain transfer and receive a refund. Verifies registry withdrawal before refunding; if state is unconfirmed, it restores the transfer and returns an error.
Instructions
Cancels a paid inbound transfer and refunds the order. Confirm with the user first. The order is deliberate: mark cancelled locally, withdraw at the registry, verify the registry accepted the withdrawal, then refund. If the registry state cannot be confirmed it restores the transfer and returns TRANSFER_STATE_UNCONFIRMED rather than refunding something that may still be live — escalate to support in that case rather than retrying. The response reports withdrawnAtRegistry, registryResultCode, refunded and refundAmount.
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": {
"domain": "<domain>"
},
"name": "cancel_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain whose pending inbound transfer should be cancelled. | |
| dry_run | No | Preview what would happen without cancelling or refunding. |