wdk_get_swap
Retrieve the status of an atomic swap by payment hash to confirm the node-side swap state, optionally filtering for taker-side swaps.
Instructions
Get atomic swap status by payment_hash from the RLN node. Use after kaleidoswap_atomic_execute to confirm the node-side swap state. Optionally filter by taker=true to check taker-side swaps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taker | No | Filter for taker-side swap (default: both) | |
| payment_hash | Yes | Payment hash from kaleidoswap_atomic_init |