javascript-sdk
javascript-sdk copied to clipboard
api error recently
Hi, js sdk is unavailable recently, could you guys check why
const bnbApi = require('@binance-chain/javascript-sdk')
let baseUrl = 'https://dex.binance.org/';
const client = new bnbApi.BncClient(baseUrl);
client.chooseNetwork('mainnet');
async function bnb_account(addr) {
let address = addr || n1_addr;
return client.getAccount(address).then(console.log).catch(console.log);
}
bnb_account();
I have the same question. Why can't these guys get things right!!! @lijianl Do you find the other way to get the balance and transfer?