I tried to decode an input string of an ethereum transaction, based on ERC20 ABI.


I get the below string decoded. But I am unable to read the transfer value < BN: 80ed1c1dc26503758 >. How would I get back to actual number?

{ name: 'transfer',
  types: [ 'address', 'uint256' ],
   [ '3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be',
     < BN: 80ed1c1dc26503758 > ] }

1 Answer 1


I think it is a hexadecimal number. You can convert it into decimal. In your case decimal equivalent of 80ed1c1dc26503758 is 148641800327619688280.

Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.