βοΈgetSwapAmountVolary
Last updated
npm install @nest25/tokenomics-lib
OR
yarn add @nest25/tokenomics-lib// import Nest SDK library
const { dex } = require('@nest25/tokenomics-lib');
// create a new instance of the dex class
const Dex = new dex();
async function main() {
// get swap amount from Volary
const result = await Dex.getSwapAmountVolary('0.001', TEST_PRIVATE_KEY, 'uniswap');
// log the result
console.log(result);
}
main(); Received 262895397847755609 VLRY