Hello eosjsName

Import the script

After import, the library name is eosjsName.

Convert eosio to uint64

uint64 value of eosio is:

Convert uint64 to eosio

eosio name value of 6138663577826885632 is:

The library also support to get representation of symbol

Suppose that we want to know what is value of ........ehbo5 in the following query:


        
          cleos -u https://eos.greymass.com get scope eosio.token -t stat
          {
            "rows": [{
                "code": "eosio.token",
                "scope": "........ehbo5",
                "table": "stat",
                "payer": "eosio.token",
                "count": 1
              }
            ],
            "more": "12345zzxxxxx"
          }
        
      

Its value is: