Show / Hide Table of Contents

Class AccountMergeOperation.Builder

Builds AccountMerge operation. AccountMergeOperation

Inheritance
System.Object
AccountMergeOperation.Builder
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class Builder : object

Constructors

Builder(IAccountId)

Creates a new AccountMerge builder.

Declaration
public Builder(IAccountId destination)
Parameters
Type Name Description
IAccountId destination

destination The account that receives the remaining XLM balance of the source account.

Builder(Operation.OperationBody)

Builder to build the AccountMerge Operation given an XDR OperationBody

Declaration
public Builder(Operation.OperationBody op)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.Operation.OperationBody op

Properties

SourceAccount

Set source account of this operation

Declaration
public KeyPair SourceAccount { get; }
Property Value
KeyPair

Methods

Build()

Builds an operation

Declaration
public AccountMergeOperation Build()
Returns
AccountMergeOperation

SetSourceAccount(KeyPair)

Sets the source account for this operation.

Declaration
public AccountMergeOperation.Builder SetSourceAccount(KeyPair sourceAccount)
Parameters
Type Name Description
KeyPair sourceAccount

The operation's source account.

Returns
AccountMergeOperation.Builder

Builder object so you can chain methods.

Back to top Generated by DocFX