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

20 lines
333 B
JavaScript

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