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
Approve builder fee action object (from build-approval response)
- typestring
Action type ("approveBuilderFee")
- maxFeeRatestring
Maximum builder fee rate (e.g., "1%" for approval, "0%" for revocation)
- nonceintegerREQUIRED
Nonce from build-approval response
- signatureobjectREQUIRED
Wallet signature
- rstring
Signature r value
- sstring
Signature s value
- vinteger
Signature v value
Returns
- approvedboolean
Whether the builder fee approval was successful
- builderstring
Builder address (0x-prefixed hex string)
- maxFeeRatestring
Maximum builder fee rate that was approved (e.g., "1%")
- userstring
User address (0x-prefixed hex string)
- messagestring
Status message
- exchangeResponseobject
Response from Hyperliquid exchange with approval confirmation