omg-jsto a website using a script tag:
omg-jswith React Native projects. First, add this postinstall script to your project's
omg-jslibrary has 3 main objects that are used during all of the code samples. Here's an example of how to instantiate them:
429903000000000000), the smallest denomination of ether, ETH. The
0x0000000000000000000000000000000000000000for ETH currency or a smart contract address (e.g.
0xd92e713d051c37ebb2561803a3b5fbabc4962431) for ERC20 tokens.
web3.utils.fromWei. For example, the provided address has multiple tokens with different decimals (18, 0, 18, 18, 6):
Note, you can return the ERC20 balance only for one token at a time.