# release-own-coldkey-swap-destination-reservation (/docs/tx/release-own-coldkey-swap-destination-reservation)

Announce exclusively reserves its destination so a third party cannot
register that address as a hotkey during the delay. If someone else
announced a swap into your coldkey (or you no longer want the hold), sign
this from the reserved destination to drop exclusivity. The announcer's
announcement may still exist; reservations also expire after
`when + reannouncement delay`.

| Signer    | Origin                                 | Pallet          | Wraps                                                                                                                              |
| --------- | -------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `coldkey` | signed account (pallet role may apply) | SubtensorModule | [`SubtensorModule.release_own_coldkey_swap_destination_reservation`](/code/pallets/subtensor/src/macros/dispatches.rs#L2796-L2806) |

## Parameters [#parameters]

This operation takes no parameters.

Address parameters (`--hotkey`, `--coldkey`, `--dest`, ...) accept a raw ss58
address, an address-book or proxy-book name, or a local wallet/hotkey name.

## CLI [#cli]

Preview with `--dry-run` (shows fee, effects, and policy result without
submitting), then submit:

```bash
btcli tx release-own-coldkey-swap-destination-reservation --dry-run
btcli tx release-own-coldkey-swap-destination-reservation -w my_coldkey
```

## Python [#python]

```python
import bittensor as bt
from bittensor.wallet import Wallet

wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = bt.ReleaseOwnColdkeySwapDestinationReservation()

sub = bt.Subtensor()
plan = sub.plan(intent, wallet)   # fee, effects, policy — no submission
result = sub.execute(intent, wallet)
if not result.success:
    print(result.error.code, result.error.remediation)
```

(`bt.Subtensor` is also the async client — `async with bt.Subtensor() as client:`
— see [The client](/docs/concepts/client).) Or build the intent by op name, as
an agent would:

```python
result = sub.execute_tool("release_own_coldkey_swap_destination_reservation", {...}, wallet)
```

## On-chain implementation [#on-chain-implementation]

`SubtensorModule.release_own_coldkey_swap_destination_reservation` — [`pallets/subtensor/src/macros/dispatches.rs#L2800`](/code/pallets/subtensor/src/macros/dispatches.rs#L2796-L2806):

```rust
#[pallet::call_index(154)]
#[pallet::weight(
    <T as crate::pallet::Config>::WeightInfo::release_own_coldkey_swap_destination_reservation()
)]
pub fn release_own_coldkey_swap_destination_reservation(
    origin: OriginFor<T>,
) -> DispatchResult {
    let dest = ensure_signed(origin)?;
    Self::do_release_own_coldkey_swap_destination_reservation(&dest)?;
    Ok(())
}
```

Delegates to [`do_release_own_coldkey_swap_destination_reservation`](/code/pallets/subtensor/src/swap/swap_coldkey.rs#L237).

Every file is browsable under [/code](/code) exactly as built into the runtime, or as plain text under `/code/raw/<path>` (index: [`/code/index.json`](/code/index.json)).
