WalletBorrowNamespace
Wallet-bound borrow namespace exposed onwallet.borrow.
Methods
supportedChainIds()
Union of chain IDs supported by any configured provider.
Source ↗
getMarkets()
List borrow markets across configured providers.
Returns: Borrow markets from all providers that fulfilled the read.
Source ↗
getMarket()
Read a single borrow market.
Returns: Borrow market data for the selected market.
Source ↗
getPosition()
Returns: The wallet’s position on the given market.
Source ↗
getQuote()
Build a borrow quote without dispatching it.
Returns: Borrow quote with projected position changes and execution data.
Source ↗
openPosition()
Open or increase a borrow position from this wallet.
Returns: Receipt envelope with position data and wallet receipt hash.
Source ↗
closePosition()
Close or reduce a borrow position from this wallet.
Returns: Receipt envelope with position data and wallet receipt hash.
Source ↗
depositCollateral()
Deposit collateral from this wallet.
Returns: Receipt envelope with position data and wallet receipt hash.
Source ↗
withdrawCollateral()
Withdraw collateral to this wallet.
Returns: Receipt envelope with position data and wallet receipt hash.
Source ↗
repay()
Repay borrowed assets from this wallet.
Returns: Receipt envelope with position data and wallet receipt hash.
Source ↗