javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

api error recently

Open lijianl opened this issue 3 years ago • 1 comments

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();

lijianl avatar May 27 '22 05:05 lijianl

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?

bin-dogami avatar Sep 09 '22 16:09 bin-dogami