withdraw_from_depository — Group 11, Code 112
Withdraw against the depository state.
Purpose
withdraw_from_depository completes the withdrawal leg after the depository state is ready. Treat it as the settlement action, not as a general locker removal command.
Wire reference — authored from source
This byte layout was derived from the current raidax implementation (cmd_crossover.c). It reflects the live binary protocol used by the crossover service.
Request Body
| Field | Size | Description |
|---|---|---|
| Challenge | 16 bytes | Random material for request validation. |
| Locker Key | 16 bytes | The unique key for the target locker. |
| Currency Code | 3 bytes | ISO-style currency identifier. |
| Conversion Cost | 8 bytes | The agreed-upon cost in the source currency. |
| Address Size | 1 byte | The length of the following target address (26-62). |
| Target Address | Variable | The external address where funds will be sent. |
| Receipt ID | 16 bytes | The receipt ID linking to the original reservation. |
| Memo | Variable | Optional descriptive text. |