Skip to main content
Hyperliquid
POST/exchange

Request Headers

string
required
Must be application/json

Request Body

object
required
Deposit report, verified against the sender’s Hyperliquid ledger. Notional credits a Hyperliquid deposit only after it is reported: call this endpoint after every transfer to the protocol address. The request takes no nonce or signature.

Response

Response Fields

boolean
  • true: The deposit is credited, by this report or an earlier one. If Notional has administratively frozen the account, the deposit is credited to its segregated balance, which does not count as margin.
  • false: Not returned; failures return an error.
string
Normalized transaction hash, e.g., "0xfd11834990ad8a4c49ea86f18fcbc0d5330c40dccfe1bfaa2d03ba774079c8f1"

Verification

Notional does not detect Hyperliquid deposits on its own. A transfer that is never reported is not credited. A report is accepted when:
  • txHash is among the most recent non-funding ledger updates Hyperliquid returns for userAddress. Report each deposit promptly; later activity can push it out of that window.
  • The ledger update is a spotTransfer (spotSend), send (sendAsset), or internalTransfer (usdSend, always USDC) from userAddress to the protocol address (protocolAddress in the config info response).
  • The token is one Notional accepts as collateral; see collateralPolicy in Spot Meta. Other tokens are rejected and not credited.
  • A USDC send records its destination DEX.
Reporting the same txHash again is safe: once the deposit is credited, a repeat report returns the same 200 response without crediting it again.