Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 363 Bytes

File metadata and controls

14 lines (11 loc) · 363 Bytes

Timeout

import { SimpleEarn, SimpleEarnRestAPI } from '@binance/simple-earn';

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

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