Files
bybit-api/examples/apidoc/V5/Institutional-Loan/get-margin-coin-info.js
2024-06-20 13:51:58 +02:00

21 lines
408 B
JavaScript

// https://api.bybit.com/v5/ins-loan/ensure-tokens-convert
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getInstitutionalLendingMarginCoinInfoWithConversionRate({
productId: '81',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});