SetGlobalAction payload - Global Parameters
Decode Hyperliquid `SetGlobalAction` payloads for global parameters, returned through Dwellir's read-only L1 gRPC API.
Read-only action reference
Dwellir's Hyperliquid gRPC API returns this decoded action payload through
StreamBlocks and
GetBlock. It does not submit or execute this action.
Submit supported user write actions through Hyperliquid's native
POST /exchange
endpoint.
The decoded SetGlobalAction payload records updates to global system parameters such as oracle prices and market configuration.
Sample Data
{
"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
| Field | Type | Description |
|---|---|---|
type | string | Always "SetGlobalAction" |
pxs | array | Price updates [bid, ask] for each market |
Use Cases
Oracle Price Monitoring
Track oracle price updates:
def process_SetGlobalAction(action):
prices = action.get('pxs', [])
print(f"Oracle update: {len(prices)} markets")Related Action Payloads
- noop - Nonce invalidation
- perpDeploy - Market deployment