ERC20NameExample.cs 355 B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Web3Unity.Scripts.Library.ETHEREUEM.EIP;
  5. public class ERC20NameExample : MonoBehaviour
  6. {
  7. async void Start()
  8. {
  9. string contract = "0x3E0C0447e47d49195fbE329265E330643eB42e6f";
  10. string name = await ERC20.Name(contract);
  11. print(name);
  12. }
  13. }