Enter Markets
Enters the user's address into Onyx Protocol markets.
markets
(any[]) An array of strings of markets to enter, meaning use those supplied assets as collateral.[options]
(CallOptions) Call options and Ethers.js overrides for the transaction. A passedgasLimit
will be used in both theapprove
(if not supressed) andmint
transactions.RETURN
(object) Returns an Ethers.js transaction object of the enterMarkets transaction.
Last updated