Show / Hide Table of Contents

Class SetOptionsOperation.Builder

Builds SetOptions operation.

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

Constructors

Builder()

Creates a new SetOptionsOperation builder.

Declaration
public Builder()

Builder(SetOptionsOp)

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

Methods

Build()

Builds an operation

Declaration
public SetOptionsOperation Build()
Returns
SetOptionsOperation

SetClearFlags(Int32)

Declaration
public SetOptionsOperation.Builder SetClearFlags(int clearFlags)
Parameters
Type Name Description
System.Int32 clearFlags
Returns
SetOptionsOperation.Builder

SetClearFlags(UInt32)

Clears the given flags from the account.

Declaration
public SetOptionsOperation.Builder SetClearFlags(uint clearFlags)
Parameters
Type Name Description
System.UInt32 clearFlags

For details about the flags, please refer to the accounts doc.

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetHighThreshold(Int32)

Declaration
public SetOptionsOperation.Builder SetHighThreshold(int highThreshold)
Parameters
Type Name Description
System.Int32 highThreshold
Returns
SetOptionsOperation.Builder

SetHighThreshold(UInt32)

A number from 0-255 representing the threshold this account sets on all operations it performs that have a high threshold.

Declaration
public SetOptionsOperation.Builder SetHighThreshold(uint highThreshold)
Parameters
Type Name Description
System.UInt32 highThreshold

Number between 0 and 255

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetHomeDomain(String)

Sets the account's home domain address used in Federation.

Declaration
public SetOptionsOperation.Builder SetHomeDomain(string homeDomain)
Parameters
Type Name Description
System.String homeDomain

A string of the address which can be up to 32 characters.

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetInflationDestination(KeyPair)

Sets the inflation destination for the account.

Declaration
public SetOptionsOperation.Builder SetInflationDestination(KeyPair inflationDestination)
Parameters
Type Name Description
KeyPair inflationDestination

The inflation destination account.

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetLowThreshold(Int32)

Declaration
public SetOptionsOperation.Builder SetLowThreshold(int lowThreshold)
Parameters
Type Name Description
System.Int32 lowThreshold
Returns
SetOptionsOperation.Builder

SetLowThreshold(UInt32)

A number from 0-255 representing the threshold this account sets on all operations it performs that have a low threshold.

Declaration
public SetOptionsOperation.Builder SetLowThreshold(uint lowThreshold)
Parameters
Type Name Description
System.UInt32 lowThreshold

Number between 0 and 255

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetMasterKeyWeight(Int32)

Declaration
public SetOptionsOperation.Builder SetMasterKeyWeight(int masterKeyWeight)
Parameters
Type Name Description
System.Int32 masterKeyWeight
Returns
SetOptionsOperation.Builder

SetMasterKeyWeight(UInt32)

Weight of the master key.

Declaration
public SetOptionsOperation.Builder SetMasterKeyWeight(uint masterKeyWeight)
Parameters
Type Name Description
System.UInt32 masterKeyWeight

Number between 0 and 255

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetMediumThreshold(Int32)

Declaration
public SetOptionsOperation.Builder SetMediumThreshold(int mediumThreshold)
Parameters
Type Name Description
System.Int32 mediumThreshold
Returns
SetOptionsOperation.Builder

SetMediumThreshold(UInt32)

A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold.

Declaration
public SetOptionsOperation.Builder SetMediumThreshold(uint mediumThreshold)
Parameters
Type Name Description
System.UInt32 mediumThreshold

Number between 0 and 255

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetSetFlags(Int32)

Declaration
public SetOptionsOperation.Builder SetSetFlags(int setFlags)
Parameters
Type Name Description
System.Int32 setFlags
Returns
SetOptionsOperation.Builder

SetSetFlags(UInt32)

Sets the given flags on the account.

Declaration
public SetOptionsOperation.Builder SetSetFlags(uint setFlags)
Parameters
Type Name Description
System.UInt32 setFlags

For details about the flags, please refer to the accounts doc.

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetSigner(SignerKey, Int32)

Declaration
public SetOptionsOperation.Builder SetSigner(SignerKey signer, int weight)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.SignerKey signer
System.Int32 weight
Returns
SetOptionsOperation.Builder

SetSigner(SignerKey, Nullable<Int32>)

Declaration
public SetOptionsOperation.Builder SetSigner(SignerKey signer, int? weight)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.SignerKey signer
System.Nullable<System.Int32> weight
Returns
SetOptionsOperation.Builder

SetSigner(SignerKey, Nullable<UInt32>)

Declaration
public SetOptionsOperation.Builder SetSigner(SignerKey signer, uint? weight)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.SignerKey signer
System.Nullable<System.UInt32> weight
Returns
SetOptionsOperation.Builder

SetSigner(SignerKey, UInt32)

Add, update, or remove a signer from the account. Signer is deleted if the weight = 0;

Declaration
public SetOptionsOperation.Builder SetSigner(SignerKey signer, uint weight)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.SignerKey signer

The signer key. Use Signer helper to create this object.

System.UInt32 weight

The weight to attach to the signer (0-255).

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

SetSourceAccount(KeyPair)

Sets the source account for this operation.

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

The operation's source account.

Returns
SetOptionsOperation.Builder

Builder object so you can chain methods.

Back to top Generated by DocFX