Account

Set margin mode for a wallet (requires zero open positions)

post/margin-mode

Request

  • Base URL: https://testnet-api.hypercall.xyz
  • URL: https://testnet-api.hypercall.xyz/margin-mode
  • Auth: HTTP bearer

Request body

margin_modestring required
nonceinteger required
signaturestring required
walletstring required

Response

Margin mode updated

errorstring nullable

Error message, present on failure.

successboolean required

Whether the request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.