Exit Market
const agile = new Agile(window.ethereum);
(async function () {
const trx = await agile.exitMarket(Agile.ETH);
console.log('Ethers.js transaction object', trx);
})().catch(console.error);Last updated
const agile = new Agile(window.ethereum);
(async function () {
const trx = await agile.exitMarket(Agile.ETH);
console.log('Ethers.js transaction object', trx);
})().catch(console.error);Last updated