Show / Hide Table of Contents

Class CreateAccountOperation

Represents a stellar_dotnet_sdk.xdr.CreateAccountOp. Use CreateAccountOperation.Builder to create a new CreateAccountOperation.

See also: Create Account

Inheritance
System.Object
Operation
CreateAccountOperation
Inherited Members
Operation.SourceAccount
Operation.Threshold
Operation.ToXdrAmount(String)
Operation.FromXdrAmount(Int64)
Operation.ToXdr()
Operation.ToXdrBase64()
Operation.FromXdr(Operation)
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class CreateAccountOperation : Operation

Constructors

CreateAccountOperation(KeyPair, String)

This operation creates and funds a new account with the specified starting balance.

Declaration
public CreateAccountOperation(KeyPair destination, string startingBalance)
Parameters
Type Name Description
KeyPair destination

Destination account ID to create an account for.

System.String startingBalance

Amount in XLM the account should be funded for. Must be greater than the reserve balance amount.

Remarks

Threshold: Medium Result: stellar_dotnet_sdk.xdr.CreateAccountResult

Properties

Destination

Declaration
public KeyPair Destination { get; }
Property Value
KeyPair

StartingBalance

Declaration
public string StartingBalance { get; }
Property Value
System.String

Methods

ToOperationBody()

Declaration
public override Operation.OperationBody ToOperationBody()
Returns
stellar_dotnet_sdk.xdr.Operation.OperationBody

Overrides
Operation.ToOperationBody()
Back to top Generated by DocFX