Files
bybit-api/examples/apidoc/V5/Asset/get-internal-deposit-records.js
2023-06-09 12:07:10 +01:00

20 lines
355 B
JavaScript

const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getInternalDepositRecords({
startTime: 1667260800000,
endTime: 1667347200000,
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});