Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 359 Bytes

File metadata and controls

14 lines (11 loc) · 359 Bytes

Timeout

import { CryptoLoan, CryptoLoanRestAPI } from '@binance/crypto-loan';

const configurationRestAPI = {
    apiKey: 'your-api-key',
    apiSecret: 'your-api-secret',
    timeout: 5000,
};
const client = new CryptoLoan({ configurationRestAPI });

client.restAPI.getFlexibleLoanBorrowHistory().catch((error) => console.error(error));