set_settlement_address
Sets your receive and refund address per swap leg, required before HTLC funding; pass the leg when both legs share a chain.
Instructions
Set YOUR receive/refund address for an agreed swap, per leg (each party sets the address for the leg they receive on and the one they refund from). Required before the HTLC can be funded. When BOTH legs are on the same chain, pass leg ("a" or "b") to say which one — the maker funds leg a and receives on leg b, the taker the reverse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg | No | Required when both legs are on this chain | |
| chain | Yes | Chain id from list_assets, e.g. "ethereum", "bitcoin", "tron" (see list_assets) | |
| address | Yes | ||
| swap_id | Yes |