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

Challenge (16 bytes) 0 Locker Key (16 bytes) 16 CC (3B) 32 Cost (8B, Big-Endian) 35 ASZ 43 Target Address (Variable, up to 62 bytes) 44 Receipt ID (16 bytes) ... Memo (Variable length) ... 3E 3E
Field Size Description
Challenge16 bytesRandom material for request validation.
Locker Key16 bytesThe unique key for the target locker.
Currency Code3 bytesISO-style currency identifier.
Conversion Cost8 bytesThe agreed-upon cost in the source currency.
Address Size1 byteThe length of the following target address (26-62).
Target AddressVariableThe external address where funds will be sent.
Receipt ID16 bytesThe receipt ID linking to the original reservation.
MemoVariableOptional descriptive text.