setReferrer
Set a referral code. Common from automated trading systems.data field is the referral code string.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Referrals, agents, transfers, and governance event formats
{
"type": "setReferrer",
"consensus": "pre",
"user": "0x5c09a84500000000...",
"data": "CCXT1"
}
data field is the referral code string.
{
"type": "approveAgent",
"consensus": "pre",
"user": "0x...",
"data": {
"agentAddress": "0x...",
"agentName": "my-bot"
}
}
{
"type": "evmRawTx",
"consensus": "pre",
"user": "0xe834922b2feee69b...",
"data": {
"calldataLen": 900,
"chainId": 999,
"gas": 367059,
"maxFeePerGas": 4000000000,
"maxPriorityFeePerGas": 0
}
}
| Type | Description |
|---|---|
agentSetAbstraction | Set account abstraction mode |
userSetAbstraction | User-initiated abstraction |
startFeeTrial | Begin a fee trial period |
claimRewards | Claim staking rewards |
convertToMultiSigUser | Convert to multi-sig account |
tokenDelegate | Delegate/undelegate HYPE stake |
withdraw3 | Withdraw to external chain (bridge) |
usdSend | Internal USDC transfer |
vaultTransfer | Vault deposit/withdraw |
subAccountTransfer | Transfer between sub-accounts |
borrowLend | Borrow or lend action |