Files
bybit-api/examples/apidoc/V5/Crypto-Loan/get-borrowable-coins.js
2024-10-15 12:34:43 +02:00

20 lines
334 B
JavaScript

const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getBorrowableCoins({
currency: 'USDT',
vipLevel: 'VIP0',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});