Exemplo n.º 1
0
    async void Start()
    {
        string chain   = "ethereum";
        string network = "rinkeby"; // mainnet ropsten kovan rinkeby goerli
        string account = "0x2aF598ed8104483776661643BCD4995036205760";

        string balance = await EVM.BalanceOf(chain, network, account);

        balanceTxt.text = balance;
    }
Exemplo n.º 2
0
    async void Start()
    {
        string chain   = "rootstock";
        string network = "testnet";
        string account = "0xdD4c825203f97984e7867F11eeCc813A036089D1";
        string rpc     = "https://public-node.testnet.rsk.co";

        string balance = await EVM.BalanceOf(chain, network, account, rpc);

        print(balance);
    }