For the complete documentation index, see llms.txt. This page is also available as Markdown.

setReferrer

Request Body

action.type: setReferrer action.referrer: string nonce: timestamp(ms) signature: EIP-712 object

Returns

Status confirming referrer assignment.

Example

// Request
curl https://hyperliquid.blockpi.network/v1/exchange/your-api-key -X POST -H "Content-Type: application/json" --data '{"action":{"type":"setReferrer"},"nonce":1720000000000,"signature":{}}'

// Result
{"status":"ok","response":{"type":"setReferrer","data":{}}}

Was this helpful?