Class CreateAccountOperation
Represents a stellar_dotnet_sdk.xdr.CreateAccountOp. Use CreateAccountOperation.Builder to create a new CreateAccountOperation.
See also: Create Account
Inherited Members
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
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
|