lending:set-collateral
Enable or disable a supplied token as collateral for the connected account's borrows.
Syntax
Section titled “Syntax”lending:set-collateral <token> <mode>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
token | address | Supplied token to toggle (use @token(SYM)) |
mode | command | on to use the token as collateral, off to stop |
Options
Section titled “Options”| Name | Type | Description |
|---|---|---|
--using | lending-adapter | Lending protocol: AaveV3, Spark or CompoundV3 (default: the best available on the chain) |
Examples
Section titled “Examples”# Stop using GNO as collateral on Aave v3 (Gnosis)lending:set-collateral 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb off