Docs

SetGlobalAction - Set Global Parameters

Set global system parameters on Hyperliquid including oracle prices and market configurations.

Set global system parameters including oracle prices and market configurations.

Sample Data

JSON
{
  "signature": {
    "r": "0x92258565da730223bbd076688bcdabb5826de44527ee6c407688aa376e3ff8ef",
    "s": "0x7783859200389c21fe5600f6cdb1ed8477d5c6b5da3ebd818b7d1494a9579c9b",
    "v": 28
  },
  "action": {
    "type": "SetGlobalAction",
    "pxs": [
      ["90802", "90762"],
      ["3114.6", "3113.3"],
      ["2.5905", "2.5878"]
    ],
    "externalPerpPxs": [
      ["0G", "0.87235"],
      ["2Z", "0.11722"],
      ["AAVE", "166.5"]
    ],
    "usdtUsdcPx": "0.9989012086704624",
    "nativePx": "24.4025"
  },
  "nonce": 1768146734571
}

View this transaction on Hypurrscan

Field Reference

Action Fields

FieldTypeDescription
typestringAlways "SetGlobalAction"
pxsarrayPrice updates [bid, ask] for each market

Use Cases

Oracle Price Monitoring

Track oracle price updates:

Python
def process_SetGlobalAction(action):
    prices = action.get('pxs', [])
    print(f"Oracle update: {len(prices)} markets")