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.
This endpoint is not a drop-in replacement for Hyperliquid's native /exchange endpoint. See the Exchange API Overview for key differences.
Body Parameters
- actionobjectREQUIRED
Wire-format action from the build response. Includes hyperliquidChain and signatureChainId injected during the build step.
- typestring
Action type (e.g. "usdSend", "cDeposit", "withdraw3")
- hyperliquidChainstring
"Mainnet" or "Testnet" (injected by the build step)
- signatureChainIdstring
Chain ID in hex (e.g. "0xa4b1") (injected by the build step)
- nonceintegerREQUIRED
Nonce from the build response (timestamp in milliseconds)
- signatureobjectREQUIRED
ECDSA signature of the hash from the build response
- rstring
Signature r value (0x-prefixed hex string)
- sstring
Signature s value (0x-prefixed hex string)
- vinteger
Signature v value (27 or 28)
Returns
- successboolean
Whether the action was successfully submitted
- userstring
User address (0x-prefixed hex string)
- exchangeResponseobject
Response from Hyperliquid exchange