Contracts
/api/contracts provides endpoints for gathering, outputting, and importing Smart Contract data to and from the database.
Was this helpful?
/api/contracts provides endpoints for gathering, outputting, and importing Smart Contract data to and from the database.
Was this helpful?
List all available contracts. Uses pagination and filtering.
GET /api/contracts HTTP/1.1
Host: api.rair.market
Accept: */*
OK
No content
Update display and sync flags of contract. Super admin access required.
true
true
PATCH /api/contracts/{id} HTTP/1.1
Host: api.rair.market
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"blockSync": true,
"blockView": true
}
No content