Class UpdateAccountParams
Represents the properties on an account that can be changed. Any property set to
null
on this object when submitted to the
UpdateAccountAsync(UpdateAccountParams, Action<IContext>)
method will be left unchanged by the system. Certain additional condidions
apply to certain propertites such as the signing key are described below.
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class UpdateAccountParams
Properties
| Improve this Doc View SourceAddress
The network address of account to update.
Declaration
public Address Address { get; set; }
Property Value
Type | Description |
---|---|
Address |
AutoAssociationLimit
If set, updates the maximum number of token or assets that this account may be implicitly assoicated with (by means of being made a treasury or other related actions).
Declaration
public int? AutoAssociationLimit { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
AutoRenewPeriod
Incremental period for auto-renewal of the account. If account does not have sufficient funds to renew at the expiration time, it will be renewed for a period of time the remaining funds can support. If no funds remain, the account will be deleted.
Declaration
public TimeSpan? AutoRenewPeriod { get; set; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
Endorsement
Replace this Account's current key signing rquirements with new signing requirements.
Declaration
public Endorsement Endorsement { get; set; }
Property Value
Type | Description |
---|---|
Endorsement |
Remarks
For this request to be accepted by the network, both the current private
key(s) for this account and the new private key(s) must sign the transaction.
The existing key must sign for security and the new key must sign as a
safeguard to avoid accidentally changing the key to an invalid value.
Either the Payer account or
Address may carry the new private key
for signing to meet this requirement.
Expiration
The new expiration date for this account, it will be ignored if it is equal to or before the current expiration date value for this account.
Declaration
public DateTime? Expiration { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTime> |
Memo
If not null, a new description of the account.
Declaration
public string Memo { get; set; }
Property Value
Type | Description |
---|---|
String |
Proxy
The account to which the created account will proxy its stake to. If invalid, or is the account that is not a node, or the node does not accept proxy staking; then this account is automatically proxy staked to a node chosen by the network without earning payments.
Declaration
public Address Proxy { get; set; }
Property Value
Type | Description |
---|---|
Address |
RequireReceiveSignature
If set to True, the account must sign any transaction transferring crypto into account.
Declaration
public bool? RequireReceiveSignature { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Signatory
Any additional signing keys required to validate the transaction that are not already specified in the client object's context.
Declaration
public Signatory Signatory { get; set; }
Property Value
Type | Description |
---|---|
Signatory |
Remarks
Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction to change the state of this account. They will not be asked to sign transactions to retrieve the record if the "WithRecord" form of the method call is made. The client will rely on the Signatory from the context to sign the transaction requesting the record.