Docs

registerReferrer payload - Referrer Registration

Decode Hyperliquid `registerReferrer` payloads for referrer registration, 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 registerReferrer payload records registration of a referral code for a Hyperliquid account.

Sample Data

JSON
{
  "signature": {
    "r": "0xcb7c3ba391ec86d5ca0f6a3bc9b9d5f2f5926ed387de53c66a38d0a518f5c220",
    "s": "0x728624e01619451fb16400a8393e25c6ec663adfb498ce9d73145f726766e322",
    "v": 27
  },
  "action": {
    "type": "registerReferrer",
    "code": "LV88"
  },
  "nonce": 1767949731159
}

Field Reference

Action Fields

FieldTypeDescription
typestringAlways "registerReferrer"
codestringReferral code to register

Use Cases

Referrer Registration Tracking

Monitor new referrer registrations:

Python
def process_registerReferrer_action(action):
    code = action.get('code')
    print(f"New referrer registered: {code}")