Skip to main content
POST
Submit a sealed record

Body

application/json
app
string
required
owner
string
required

The record's one-time owner.

Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0x1111111111111111111111111111111111111111"

envelope
string
required

Signed envelope JSON text padded to exactly 512, 1024, 4096 or 16384 bytes. Membership is a field of the parsed JSON inside this string.

attributes
object
required

Attribute name to typed value. Names are lowercase; must include project and vtag; at most 32. Membership records also reserve zkgroup, zkscope, zknullifier, zkroot and zkblock, leaving at most 25 caller attributes.

expSeconds
enum<integer>
required
Available options:
3600,
86400,
604800,
2592000,
7776000
token
object

Required when tokens are enabled, except for a configured project authorized by a valid membership proof.

minAnonymity
integer

Smallest batch this record may be written in.

Required range: x >= 1
maxHoldMs
integer

How long the relayer may hold the record for minAnonymity.

Required range: x >= 1
inbox
boolean

Recipient inbox submission with the existing alternate signer rules. Not an eligibility bypass.

Response

Queued

id
string<uuid>
required