Contracts
/api/contracts provides endpoints for gathering, outputting, and importing Smart Contract data to and from the database.
Get All Contracts (General)
List all available contracts. Uses pagination and filtering.
GETapi.rair.market/api/contracts
Query parameters
Response
OK
Request
Get Contract by ID
Get a single contract using database ID.
GETapi.rair.market/api/contracts/{id}
Path parameters
id*string
Response
OK
Request
Update Visibility
Update display and sync flags of contract. Super admin access required.
PATCHapi.rair.market/api/contracts/{id}
Path parameters
id*string
Body
blockSync*boolean
Example: true
blockView*boolean
Example: true
Response
OK
Request