Class Operation
An individual command that modifies the ledger. Operations are used to send payments, enter orders into the decentralized exchange, change settings on accounts, and authorize accounts to hold assets.
Inheritance
System.Object
Operation
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public abstract class Operation : object
Properties
SourceAccount
The account to execute this operation upon.
Declaration
public IAccountId SourceAccount { get; set; }
Property Value
IAccountId
|
Threshold
Threshold level for the operation.
Declaration
public virtual OperationThreshold Threshold { get; }
Property Value
OperationThreshold
|
Methods
FromXdr(Operation)
Declaration
public static Operation FromXdr(Operation thisXdr)
Parameters
Type | Name | Description |
---|---|---|
stellar_dotnet_sdk.xdr.Operation | thisXdr | XDR object |
Returns
Operation
new Operation object from Operation XDR object. |
FromXdrAmount(Int64)
Declaration
public static string FromXdrAmount(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value |
Returns
System.String
|
ToOperationBody()
Generates OperationBody XDR object
Declaration
public abstract Operation.OperationBody ToOperationBody()
Returns
stellar_dotnet_sdk.xdr.Operation.OperationBody
OperationBody XDR object |
ToXdr()
Generates Operation XDR object.
Declaration
public Operation ToXdr()
Returns
stellar_dotnet_sdk.xdr.Operation
|
ToXdrAmount(String)
Declaration
public static long ToXdrAmount(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
System.Int64
|
ToXdrBase64()
Returns base64-encoded Operation XDR object.
Declaration
public string ToXdrBase64()
Returns
System.String
|