POST
/
v1
/
rwas
/
hyperliquid
/
admin
/
*
Admin Actions
curl --request POST \
  --url 'https://api.example.com/v1/rwas/hyperliquid/admin/*'
Admin endpoints require the deployer wallet signature. These actions affect all traders on your dex. Use with extreme caution.

Available Admin Actions

EndpointDescription
POST /rwas/hyperliquid/admin/register-assetRegister a new tradeable asset
POST /rwas/hyperliquid/admin/set-oracleSet or update oracle configuration for an asset
POST /rwas/hyperliquid/admin/set-fundingConfigure funding rate multipliers
POST /rwas/hyperliquid/admin/haltHalt all trading on the dex
POST /rwas/hyperliquid/admin/set-oi-capsSet open interest caps per asset
POST /rwas/hyperliquid/admin/set-fee-recipientChange the fee recipient address
POST /rwas/hyperliquid/admin/set-marginSet margin table IDs for risk params

Request Format

All admin endpoints accept a body with a params field containing action-specific parameters:
{
  "params": {
    // Action-specific parameters
  }
}

Example: Register Asset

curl -X POST -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  https://api.perps.studio/v1/rwas/hyperliquid/admin/register-asset \
  -d '{
    "params": {
      "name": "TSLA",
      "szDecimals": 2,
      "weiDecimals": 8
    }
  }'

Example: Set Oracle

curl -X POST -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  https://api.perps.studio/v1/rwas/hyperliquid/admin/set-oracle \
  -d '{
    "params": {
      "asset": "TSLA",
      "oracleType": "pyth",
      "oracleId": "0x..."
    }
  }'

Example: Halt Trading

curl -X POST -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  https://api.perps.studio/v1/rwas/hyperliquid/admin/halt \
  -d '{
    "params": {
      "halted": true
    }
  }'
See the RWA Markets Guide for more context on HIP-3 dex management.