EVM
A standard interface for EVM methods
This section contains the different types of EVM methods that can be used in the Unity SDK. For additional operations and methods please refer to the ChainSafe Documentation.
Player Account
PlayerPrefs.GetString("Account") is the user's wallet account accessed after the LoginScene.
Important: If you run your script from the editor, you will have to hardcode the account string (e.g. "0x6e...")
Block number
Get the current latest block number
Balance Of
Get the balance of the native blockchain
Verify
Verify a signed message.
Nonce
Print Nonce.
Convert WEI to CRO and CRO to WEI
Converts WEI values
Last updated