Register a passkey
Registers a passkey that can open trading sessions on the account without a wallet, within a ceiling the account owner signs once. A passkey is never the account’s login or owner: its sessions can trade within the ceiling but can never withdraw or transfer funds, approve a builder, change the ceiling or register another passkey.
grant is the PasskeyGrant message exactly as signed, with its camelCase
field names. EVM-owned accounts sign it as EIP-712 (signature_type
eip712, with the wallet’s current chain as signature_chain_id);
Stark-owned accounts sign it as SNIP-12 (snip12) with their main key.
credential is the navigator.credentials.create response to a
registration challenge, and must be the credential the grant names.
Passkeys cover the main account only. A passkey’s ceiling allows the
trade, trade:rfq and account:settings scopes, sessions of at most 7
days (24 hours by default) and at most 5 live sessions at once; the passkey
itself expires after at most 180 days. Every ceiling limit is stated, as a positive
number or none, and markets lists symbols or is ["*"]. A number is
accepted only for the limits the server enforces; every other limit must be
none, and markets ["*"]. Limits are shared by every session the passkey
opens.
Request
The owner’s signature: one 0x-hex r||s||v string for eip712; for snip12 the string ’[“0xr”,“0xs”]’, as orders carry it (a bare [r, s] array is also accepted).
eip712 for EIP-191 (EVM-owned) accounts, snip12 for Stark-owned accounts.
The EIP-712 domain chainId the wallet signed with. Required for eip712, ignored for snip12.
Response
Authenticator model, for display; may be all zeros.
Whether the passkey can be synced (WebAuthn backup eligibility).
Last session mint in milliseconds; null before the first.
Revocation time in milliseconds; null while not revoked.
Why the passkey was revoked; omitted while not revoked.
Whether the passkey is synced across devices (WebAuthn backup state).