Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 325 Bytes

File metadata and controls

14 lines (11 loc) · 325 Bytes

Timeout

import { Alpha, AlphaRestAPI } from '@binance/alpha';

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

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