Web3 возвращает обещание объекта вместо числа
// the problem is that you might have forgot to put "awat" in there
// code with the error:
async function () {
let x = <so and so>;
consol.log(x);
}
consol> [object promise]
// fix:
async function () {
let x = await <so and so>;
consol.log(x);
}
Sheeeev66