Skip to main content
POST
Returns one unsigned deleteIdentity transaction per wallet whose removal from a profile’s eligibility register is waiting. A wallet of your instance that is an agent of the register signs and broadcasts each one, then Confirm Removal records it. Trusset holds no key and sends nothing. The register must be in the REGISTER mode, exactly as for Build Admission. See Which registers can be signed here.

Body Parameters

string
The profile, by key. Matched exactly, then in upper and lower case. Send this or profileId.
string
The profile, by id. Used instead of profileKey when both are sent.
string
required
The wallet that will sign. It must be a verified Ethereum wallet of your instance and an agent of the register.
string[]
Only these admissions, by id. Up to 200 are read, and an id that is not a REMOVAL_PENDING admission of this profile is ignored.
string[]
Only the admissions of these wallets. Up to 200 are read, and malformed addresses are dropped. Sent together with ids, an admission must match both.

How the removals are chosen

Before the queue is read, every admission of the profile whose dueAt has passed is moved to REMOVAL_PENDING with reason LAPSED, so a lapsed admission is built in the same call. Then up to 20 waiting removals are taken, the longest waiting first. Build again after confirming for the rest. The signer and register checks are those of Build Admission. Each wallet is then read on the register. A wallet that no longer holds an identity there is recorded REMOVED without a transaction and reported in skipped with ALREADY_REMOVED. The first transaction is simulated from signerAddress. When it would revert, the call is refused with ELIGIBILITY_TX_WOULD_REVERT. The others are not simulated.

Response Fields

object

Error Codes