Exchange API calls do not consume Quicknode API credits. Transactions through this endpoint are appended with a builder fee. See hyperliquidapi.com for a full breakdown. To white-label with your own builder code, contact us.
Body Parameters
- actionobjectREQUIRED
cDeposit action object
- typestring
Must be "cDeposit"
- weiinteger
Amount to deposit in wei (8 decimals). 100000 wei = 0.001 HYPE.
Returns
- hashstring
Hash to sign with wallet (0x-prefixed hex string)
- nonceinteger
Unique nonce for this action (timestamp in milliseconds)
- actionobject
Wire-format cDeposit action with hyperliquidChain and signatureChainId injected
- typestring
"cDeposit"
- weiinteger
Amount in wei
- hyperliquidChainstring
"Mainnet" or "Testnet"
- signatureChainIdstring
Chain ID in hex (e.g. "0xa4b1" for Arbitrum)
- nonceinteger
Nonce injected into action
- actionTypestring
"cDeposit"
- typedDataobject
Full EIP-712 typed data object for signing. Contains domain, types (HyperliquidTransaction:CDeposit), primaryType, and message.
- domainobject
EIP-712 domain: name, version, chainId, verifyingContract
- typesobject
EIP-712 type definitions for HyperliquidTransaction:CDeposit
- primaryTypestring
"HyperliquidTransaction:CDeposit"
- messageobject
The message to sign: hyperliquidChain, wei, nonce
- nextStepstring
Instructions for next step: sign the hash with private key, then POST /exchange with action, nonce, and signature (r, s, v)