Files
bybit-api/examples/apidoc/V5/Preupgrade/get-preupgrade-option-delivery-record.js

19 lines
329 B
JavaScript

const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getPreUpgradeOptionDeliveryRecord({
category: 'option',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});