> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Referrer

> Successful referrer registrations on Hyperliquid

The `hyperliquid.raw.set_referrer` table contains successful registrations of a referrer. It contains the referral code used (e.g. PURS) and the address of the user setting the referrer.

## Table Columns

| Column Name      | Description                                  |
| ---------------- | -------------------------------------------- |
| block\_timestamp | The timestamp of the block                   |
| referral\_code   | The referral code used (e.g. PURS)           |
| user             | The address of the user setting the referrer |
| error            | Error message if the registration failed     |
| hash             | Transaction hash                             |
| block\_height    | The height of the block                      |
