Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 335 Bytes

File metadata and controls

14 lines (11 loc) · 335 Bytes

Timeout

import { Staking, StakingRestAPI } from '@binance/staking';

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

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