WalletLendNamespace
Wallet Lend NamespaceMethods
| Function | Description |
|---|---|
| openPosition() | Open a lending position |
| getPosition() | Get position information for this wallet |
| closePosition() | Close a lending position (withdraw from market) |
openPosition()
Open a lending position
↗
getPosition()
Get position information for this wallet
Parameters:
| Parameter | Type | Description |
|---|---|---|
params | GetPositionParams | Position query parameters |
params.marketId | Market identifier (required) | |
params.asset | Asset filter (not yet supported) |
closePosition()
Close a lending position (withdraw from market)
Parameters:
| Parameter | Type | Description |
|---|---|---|
closePositionParams | Position closing parameters |