Skip to main content
GET
Reads from the chain whether an address holds one of the six roles that Set Access Role grants and revokes. Use it before building a change, or to confirm which wallet can sign an administrative transaction. For ORACLE_SIGNER, the oracle owner reads as granted, because the owner can sign prices without a grant.

Path Parameters

string
required
Market ID.
string
required
Address to check. Must be a 0x-prefixed 40-character hex address other than the zero address.

Query Parameters

string
required
One of MARKET_ADMIN, MARKET_ISSUER, MARKET_LIQUIDATOR, ROUTER_ADMIN, ROUTER_OPERATOR or ORACLE_SIGNER. The role table says what each one controls.

Response Fields

object
A failed chain read still returns 200, with granted: null and failed: true. Treat it as unknown, not as a revoked role, and retry.

Error Codes