remove — Group 8, Code 84

Withdraw or clear locker contents.

Purpose

remove empties a standard locker. It is the alternative to 8 download when the caller just wants the locker drained without a content-bearing response.

Legacy wire reference — verify before relying

This byte layout was restored from the pre-V2 documentation (commit ceba44b). It has not been cross-checked against the current raidax implementation in every detail.

Request body

Challenge, the 16-byte locker AN (matches the PAN that was used to store the locker), then one 21-byte record per coin being removed (denom + SN + 16-byte new PAN).

CH CH CH CH CH CH CH CH CH CH CH CH CH CH CH CH AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN // locker key (matches PAN from store) DN SN SN SN SN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN // coin 1: 21B = DN+SN+new PAN DN SN SN SN SN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN // coin 2 ... 3E 3E

Per-coin packet diagram

DN 0 Serial Number (4B BE) 1 4 New PAN (bytes 0-2 of 16) 5 7 New PAN (bytes 3-15 of 16, continuing) 8 20

Offsets are relative to the start of each 21-byte per-coin record. The new PAN rotates the AN that the coin will carry after removal — treat remove as a withdraw-and-rekey in one step.