Check the deployment
/healthanswers 503 while chain observations, operator gas, the relay backlog or escrow integrity is not ready.- Pin the operator, escrows, tokens and timings from the deployment values, never from
/v1/infoor/v1/venues.
Sign in
POST /v1/auth/challengewith{"address":"0xMASTER"}.- Check that
messagenamesAPP_ORIGIN, then sign it withpersonal_sign. - Send
{address, nonce, signature}toPOST /v1/auth/verify.
token is the master session. Every step below sends it as Authorization: Bearer $TOKEN.
Set up venue accounts
Link an account on each venue you use, then run its setup steps. The account is the address that owns it; on Polymarket, the signer EOA; on GMX, the owner of the GMX Account.Link
POST /v1/accounts/link with {"venue":"polymarket","address":"0x…"}. An address other than the master also signs the link challenge (personal_sign) and adds its nonce and signature.
On Lighter, the link records the address’s master account index as venue_wallet.
Setup steps
GET /v1/accounts/{venue}/setup lists the account’s steps, read from the venue now; ready once all are done. For each required step:
POST /v1/accounts/{venue}/setup/{step}without a body. It returnsto_sign:kind,signer,ref, andtyped_dataormessage.- Check it (signing) and sign it with the account:
typed_dataas EIP-712,messagewithpersonal_sign. - Post
{"ref": "…", "signature": "0x…"}to the same path. - A
pendingstep is relayed: read the setup again untildone.
A done step turns
required again, with a reason, when the venue no longer shows it, it expires (the Aster agent after 365 days) or LaMarge’s escrow, agent or key changes. A call that needs it answers 422 SETUP_REQUIRED with its venue and step.