Skip to content

Conversation

@tushar994
Copy link
Contributor

correct documentation comments in spot_deploy. max_gas in spot deploy is in terms of HYPE, not in terms of USDC, which is incorrectly stated in the doc comments.

I confirmed this by going to https://app.hyperliquid-testnet.xyz/deploySpot, and trying to buy an auction at the current price. The price I of the auction at that time was 2935.97839953 HYPE. the action sent in the api call was

{
    "action": {
        "registerToken2": {
            "fullName": "dede",
            "maxGas": 293597839953,
            "spec": {
                "name": "DEDE",
                "szDecimals": 2,
                "weiDecimals": 8
            }
        },
        "type": "spotDeploy"
    }
}

so maxGas is in terms of HYPE. not in terms of USDC.

@traderben traderben merged commit 782b688 into hyperliquid-dex:master Jul 23, 2025
3 checks passed
@traderben
Copy link
Contributor

Thank you for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants