Complete guide to user-signed actions for administrative operations on Hyperliquid. Learn how to approve agents, transfer funds, and manage withdrawals using direct EIP-712 signing.
Property | Value |
---|---|
Chain ID | 0x66eee (421614 in decimal) |
Domain name | ”HyperliquidSignTransaction” |
Version | ”1” |
Serialization | Direct JSON structure |
Agent type | No phantom agent - direct signing |
sign_user_signed_action()
internally:
Action | SDK Method | Purpose |
---|---|---|
approveAgent | sign_agent() | Authorize agent wallet |
usdSend | sign_usd_transfer_action() | Transfer USDC |
spotSend | sign_spot_transfer_action() | Transfer spot tokens |
withdraw | sign_withdraw_from_bridge_action() | Withdraw to L1 |
approveBuilderFee | sign_approve_builder_fee() | Approve builder fees |
usdClassTransfer | sign_usd_class_transfer_action() | Transfer between classes |
tokenDelegate | sign_token_delegate_action() | Delegate tokens |
Create agent
Approve agent
Deploy bot
Monitor activity
Revoke if needed
Error | Cause | Solution |
---|---|---|
”Invalid chain ID” | Using wrong chain ID | Use 0x66eee for user-signed |
”Agent already exists” | Duplicate agent name | Use unique agent names |
”Insufficient funds” | Not enough balance | Check account balance |
”Invalid signature” | Wrong signing method | Use proper EIP-712 structure |