Class Account
Account information at a given round.
Definition:
data/basics/userBalance.go : AccountData
Inheritance
object
Account
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: Algorand.dll
Syntax
Constructors
|
Improve this Doc
View Source
Account()
Generate a new, random account.
Declaration
|
Improve this Doc
View Source
Account(KeyPair)
Create an account from a private key
Declaration
public Account(KeyPair keyPair)
Parameters
Type |
Name |
Description |
KeyPair |
keyPair |
|
|
Improve this Doc
View Source
Account(byte[])
Generate a newc account with seed(master derivation key)
Declaration
public Account(byte[] seed)
Parameters
Type |
Name |
Description |
byte[] |
seed |
seed(master derivation key)
|
|
Improve this Doc
View Source
Account(string)
Create a new account with mnemonic
Declaration
public Account(string mnemonic)
Parameters
Type |
Name |
Description |
string |
mnemonic |
the mnemonic
|
Properties
|
Improve this Doc
View Source
Address
Declaration
[JsonProperty("address", Required = Required.Always)]
[Required]
public Address Address { get; set; }
Property Value
|
Improve this Doc
View Source
Amount
Declaration
[JsonProperty("amount", Required = Required.Always)]
[Required]
public ulong Amount { get; set; }
Property Value
|
Improve this Doc
View Source
AmountWithoutPendingRewards
Declaration
[JsonProperty("amount-without-pending-rewards", Required = Required.Always)]
[Required]
public ulong AmountWithoutPendingRewards { get; set; }
Property Value
|
Improve this Doc
View Source
AppsLocalState
Declaration
[JsonProperty("apps-local-state", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<ApplicationLocalState> AppsLocalState { get; set; }
Property Value
|
Improve this Doc
View Source
AppsTotalExtraPages
Declaration
[JsonProperty("apps-total-extra-pages", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? AppsTotalExtraPages { get; set; }
Property Value
|
Improve this Doc
View Source
AppsTotalSchema
Declaration
[JsonProperty("apps-total-schema", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ApplicationStateSchema AppsTotalSchema { get; set; }
Property Value
|
Improve this Doc
View Source
Assets
Declaration
[JsonProperty("assets", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<AssetHolding> Assets { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<T><AssetHolding> |
|
|
Improve this Doc
View Source
AuthAddr
Declaration
[JsonProperty("auth-addr", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address AuthAddr { get; set; }
Property Value
|
Improve this Doc
View Source
CreatedApps
Declaration
[JsonProperty("created-apps", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<Application> CreatedApps { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<T><Application> |
|
|
Improve this Doc
View Source
CreatedAssets
Declaration
[JsonProperty("created-assets", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<Asset> CreatedAssets { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<T><Asset> |
|
|
Improve this Doc
View Source
KeyPair
Declaration
[JsonIgnore]
public KeyPair KeyPair { get; }
Property Value
|
Improve this Doc
View Source
MinBalance
Declaration
[JsonProperty("min-balance", Required = Required.Always)]
[Required]
public ulong MinBalance { get; set; }
Property Value
|
Improve this Doc
View Source
Participation
Declaration
[JsonProperty("participation", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public AccountParticipation Participation { get; set; }
Property Value
|
Improve this Doc
View Source
PendingRewards
Declaration
[JsonProperty("pending-rewards", Required = Required.Always)]
[Required]
public ulong PendingRewards { get; set; }
Property Value
|
Improve this Doc
View Source
RewardBase
Declaration
[JsonProperty("reward-base", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? RewardBase { get; set; }
Property Value
|
Improve this Doc
View Source
Rewards
Declaration
[JsonProperty("rewards", Required = Required.Always)]
[Required]
public ulong Rewards { get; set; }
Property Value
|
Improve this Doc
View Source
Round
Declaration
[JsonProperty("round", Required = Required.Always)]
[Required]
public ulong Round { get; set; }
Property Value
|
Improve this Doc
View Source
SigType
Indicates what type of signature is used by this account, must be one of:
* sig
* msig
* lsig
Declaration
[JsonProperty("sig-type", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public AccountSigType? SigType { get; set; }
Property Value
|
Improve this Doc
View Source
Status
Declaration
[JsonProperty("status", Required = Required.Always)]
[Required]
public string Status { get; set; }
Property Value
|
Improve this Doc
View Source
TotalAppsOptedIn
Declaration
[JsonProperty("total-apps-opted-in", Required = Required.Always)]
[Required]
public ulong TotalAppsOptedIn { get; set; }
Property Value
|
Improve this Doc
View Source
TotalAssetsOptedIn
Declaration
[JsonProperty("total-assets-opted-in", Required = Required.Always)]
[Required]
public ulong TotalAssetsOptedIn { get; set; }
Property Value
|
Improve this Doc
View Source
TotalBoxBytes
Declaration
[JsonProperty("total-box-bytes", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? TotalBoxBytes { get; set; }
Property Value
|
Improve this Doc
View Source
TotalBoxes
Declaration
[JsonProperty("total-boxes", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? TotalBoxes { get; set; }
Property Value
|
Improve this Doc
View Source
TotalCreatedApps
Declaration
[JsonProperty("total-created-apps", Required = Required.Always)]
[Required]
public ulong TotalCreatedApps { get; set; }
Property Value
|
Improve this Doc
View Source
TotalCreatedAssets
Declaration
[JsonProperty("total-created-assets", Required = Required.Always)]
[Required]
public ulong TotalCreatedAssets { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
SignBytes(byte[])
Declaration
public Signature SignBytes(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Returns
|
Improve this Doc
View Source
SignRawBytes(byte[])
Declaration
public Signature SignRawBytes(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Returns
|
Improve this Doc
View Source
TealSign(byte[], Address)
Creates Signature compatible with ed25519verify TEAL opcode from data and contract address(program hash).
Declaration
public Signature TealSign(byte[] data, Address contractAddress)
Parameters
Type |
Name |
Description |
byte[] |
data |
data byte[]
|
Address |
contractAddress |
|
Returns
|
Improve this Doc
View Source
ToMnemonic()
Declaration
public string ToMnemonic()
Returns