Skip to content

lending:set-collateral

Enable or disable a supplied token as collateral for the connected account's borrows.

lending:set-collateral <token> <mode>
NameTypeDescription
tokenaddressSupplied token to toggle (use @token(SYM))
modecommandon to use the token as collateral, off to stop
NameTypeDescription
--usinglending-adapterLending protocol: AaveV3, Spark or CompoundV3 (default: the best available on the chain)
# Stop using GNO as collateral on Aave v3 (Gnosis)
lending:set-collateral 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb off