Struct Account
Namespace: Algorand.Unity.Indexer
Assembly: cs.temp.dll.dll
Syntax
public struct Account : IEquatable<Account>
Properties
Address
the account public key
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
String |
Amount
[algo] total number of MicroAlgos in the account
Declaration
public ulong Amount { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
AmountWithoutPendingRewards
specifies the amount of MicroAlgos in the account, without the pending rewards.
Declaration
public ulong AmountWithoutPendingRewards { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
AppsLocalState
[appl] applications local data stored in this account.
Note the raw object uses map[int] -> AppLocalState
for this type.
Declaration
public ApplicationLocalState[] AppsLocalState { get; set; }
Property Value
Type | Description |
---|---|
ApplicationLocalState[] |
AppsTotalExtraPages
[teap] the sum of all extra application program pages for this account.
Declaration
public Optional<ulong> AppsTotalExtraPages { get; set; }
Property Value
Type | Description |
---|---|
Optional<UInt64> |
AppsTotalSchema
[tsch] stores the sum of all of the local schemas and global schemas in this account.
Note: the raw account uses StateSchema
for this type.
Declaration
public ApplicationStateSchema AppsTotalSchema { get; set; }
Property Value
Type | Description |
---|---|
ApplicationStateSchema |
Assets
[asset] assets held by this account.
Note the raw object uses map[int] -> AssetHolding
for this type.
Declaration
public AssetHolding[] Assets { get; set; }
Property Value
Type | Description |
---|---|
AssetHolding[] |
AuthAddr
[spend] the address against which signing should be checked. If empty, the address of the current account is used. This field can be updated in any transaction by setting the RekeyTo field.
Declaration
public Address AuthAddr { get; set; }
Property Value
Type | Description |
---|---|
Address |
ClosedAtRound
Round during which this account was most recently closed.
Declaration
public Optional<ulong> ClosedAtRound { get; set; }
Property Value
Type | Description |
---|---|
Optional<UInt64> |
CreatedApps
[appp] parameters of applications created by this account including app global data.
Note: the raw account uses map[int] -> AppParams
for this type.
Declaration
public Application[] CreatedApps { get; set; }
Property Value
Type | Description |
---|---|
Application[] |
CreatedAssets
[apar] parameters of assets created by this account.
Note: the raw account uses map[int] -> Asset
for this type.
Declaration
public Asset[] CreatedAssets { get; set; }
Property Value
Type | Description |
---|---|
Asset[] |
CreatedAtRound
Round during which this account first appeared in a transaction.
Declaration
public Optional<ulong> CreatedAtRound { get; set; }
Property Value
Type | Description |
---|---|
Optional<UInt64> |
Deleted
Whether or not this account is currently closed.
Declaration
public Optional<bool> Deleted { get; set; }
Property Value
Type | Description |
---|---|
Optional<Boolean> |
Participation
Declaration
public AccountParticipation Participation { get; set; }
Property Value
Type | Description |
---|---|
AccountParticipation |
PendingRewards
amount of MicroAlgos of pending rewards in this account.
Declaration
public ulong PendingRewards { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
RewardBase
[ebase] used as part of the rewards computation. Only applicable to accounts which are participating.
Declaration
public Optional<ulong> RewardBase { get; set; }
Property Value
Type | Description |
---|---|
Optional<UInt64> |
Rewards
[ern] total rewards of MicroAlgos the account has received, including pending rewards.
Declaration
public ulong Rewards { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
Round
The round for which this information is relevant.
Declaration
public ulong Round { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
SigType
Indicates what type of signature is used by this account, must be one of:
- sig
- msig
- lsig
- or null if unknown
Declaration
public SignatureType SigType { get; set; }
Property Value
Type | Description |
---|---|
SignatureType |
Status
[onl] delegation status of the account's MicroAlgos
- Offline - indicates that the associated account is delegated.
- Online - indicates that the associated account used as part of the delegation pool.
- NotParticipating - indicates that the associated account is neither a delegator nor a delegate.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
String |
TotalAppsOptedIn
The count of all applications that have been opted in, equivalent to the count of application local data (AppLocalState objects) stored in this account.
Declaration
public ulong TotalAppsOptedIn { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
TotalAssetsOptedIn
The count of all assets that have been opted in, equivalent to the count of AssetHolding objects held by this account.
Declaration
public ulong TotalAssetsOptedIn { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
TotalBoxBytes
For app-accounts only. The total number of bytes allocated for the keys and values of boxes which belong to the associated application.
Declaration
public ulong TotalBoxBytes { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
TotalBoxes
For app-accounts only. The total number of boxes which belong to the associated application.
Declaration
public ulong TotalBoxes { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
TotalCreatedApps
The count of all apps (AppParams objects) created by this account.
Declaration
public ulong TotalCreatedApps { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
TotalCreatedAssets
The count of all assets (AssetParams objects) created by this account.
Declaration
public ulong TotalCreatedAssets { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
Methods
Equals(Account)
Declaration
public bool Equals(Account other)
Parameters
Type | Name | Description |
---|---|---|
Account | other |
Returns
Type | Description |
---|---|
Boolean |