Return values after verifying an account balance on private network

by Mongetro Goint   Last Updated August 14, 2019 13:28 PM

When i verify the balance of an account after deploing an ERC20 token, i receive this returns:

  BN { negative: 0, words: [ 50, <1 empty item> ], length: 1, red: null }

I know that "50" is the number of token. May someone explain me what do the other things mean please?

Tags : erc-20 balances


Answers 1


BN stands for Big number.

you can have the meaning of all these fields in the the BN.js library documentation as this later is used by web3js (1.0.) to deal with big numbers.

EXP :

  1. negative for bit sign
  2. red for reduction
Badr Bellaj
Badr Bellaj
August 14, 2019 13:06 PM

Related Questions


How can I get ETH balance with pending transaction?

Updated September 06, 2017 04:28 AM


My balance is 0.00 after update. What to do?

Updated December 15, 2017 17:28 PM