Skip to main content
POST
Builds the createAccessList call on the whitelist factory. The wallet that signs it becomes the list’s owner, and it must be a verified wallet of your instance. Record the list afterwards with Confirm Whitelist Creation, sending the same name and purpose. Managers and members named here are written by the creating transaction itself, up to 200 of each. Larger member sets follow in batches with Set Whitelist Members once the list exists.
name and purpose are kept on your instance’s record, not on chain. The list contract holds only its owner, its managers and its members.

Body Parameters

string
required
Display name, 3 to 64 characters after trimming.
string
default:"ANY"
BORROWER, DEPOSITOR or ANY. A list kept for BORROWER is refused as a provider or depositor gate, and one kept for DEPOSITOR as a borrower gate. ANY fits both.
string[]
Wallets that may list and remove members from the start. Up to 200 addresses. Duplicates are dropped. Only the owner can change managers later.
string[]
Wallets to list from the start. Up to 200 addresses. Duplicates are dropped.
string
The wallet that will sign and own the list. Omit it to use your instance’s primary verified wallet. A wallet that is not a verified wallet of your instance is refused with UNAUTHORIZED_SIGNER.
The transaction is simulated against the factory before it is returned. A creation the factory would refuse answers with the refusal instead of calldata.

Response Fields

object

Error Codes