Account Class
The class that represents the account, providing a way to query the balance. The account here refers to the hash of a contract script which corresponds to an address on the blockchain
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly: Neo.SmartContract.Framework
Syntax
Attributes
Name | Description | |
---|---|---|
ScriptHash | Gets the script hash of the contract account | |
Votes | Returns the information of the votes from this account to others. |
Methods
Name | Description | |
---|---|---|
GetBalance (byte[]) | Returns the balance of asset identified by asset ID provided. | |
IsStandard | Is this a standard account |
Constructor
The Account object is constructed through Blockchain.GetAccount (byte[]) .