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

17 lines
283 B
JavaScript

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