Orderly home page
latest
Search...
⌘K
Socials
Get in Touch
Get a Grant
Get a Grant
Search...
Navigation
Account
useLeverage
Home
Introduction
Build on Omnichain
NEAR
SDKs
Strategy Vault
Troubleshooting
Changelog
Software Development Kits
List of SDKs
Changelog
Migrate to SDK v2
[EVM] React Components SDK
Overview
Getting started
Theming
Wallet connect
Framework Guides
Page Components
Block Components
[EVM] React Hooks SDK
Overview
Setup
API Requests
Utility
Account
Overview
useAccount
useAccountInfo
useAccountInstance
useWalletConnector
useWalletSubscription
useLeverage
useMarginRatio
useSettleSubscription
useDaily
Assets
Market Data
Orders
Positions
Funding
Referral
[EVM] Core SDK
Overview
[EVM] Perp SDK
Overview
Technical Documentation
README
Modules
Modules
Interfaces
Enums
Classes
On this page
Example
Account
useLeverage
Get account max leverage and edit it. See
extended example
.
Tech docs
Example
Copy
const
[
maxLeverage
, {
update
,
config
:
leverageLevers
,
isMutating
}]
=
useLeverage
();
useWalletSubscription
useMarginRatio
Assistant
Responses are generated using AI and may contain mistakes.