Market IDs
Reya identifies markets two ways, and as an integrator you mostly use symbols:
Symbol (e.g.
ETHRUSDPERP,WETHRUSD) — what you use almost everywhere: order requests, channel subscriptions (/v2/market/{symbol}/…), and the order, execution, depth, and position payloads you receive.marketId— an opaque numeric id you use in just two places: it's returned by the market-definition endpoints (the symbol ↔ id mapping), and you sign it into the EIP-712OrderDetails. Use the value from the market definition as-is — you don't construct or interpret it.
Last updated