wdk_atomic_taker
Whitelist the incoming HTLC on the RLN node for an atomic swap. Call with the swapstring from atomic init to lock the HTLC before executing the swap.
Instructions
Step 2 of atomic swap: whitelist the incoming HTLC on the RLN node. Must be called with the swapstring from kaleidoswap_atomic_init BEFORE calling kaleidoswap_atomic_execute. This locks the HTLC on the node so it is ready to receive the atomic payment.
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": {
"swapstring": "<swapstring>"
},
"name": "wdk_atomic_taker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swapstring | Yes | Swapstring from kaleidoswap_atomic_init |