Show / Hide Table of Contents

Class ChangeTrustOperation.Builder

Builds ChangeTrust operation.

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

Constructors

Builder(ChangeTrustAsset)

Creates a new ChangeTrust builder.

Declaration
public Builder(ChangeTrustAsset asset)
Parameters
Type Name Description
ChangeTrustAsset asset

The asset of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the line is USD.

Builder(ChangeTrustAsset, String)

Creates a new ChangeTrust builder.

Declaration
public Builder(ChangeTrustAsset asset, string limit)
Parameters
Type Name Description
ChangeTrustAsset asset

The asset of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the line is USD.

System.String limit

The limit of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the limit is 200.

Builder(ChangeTrustOp)

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

Methods

Build()

Builds an operation

Declaration
public ChangeTrustOperation Build()
Returns
ChangeTrustOperation

SetSourceAccount(KeyPair)

Set source account of this operation

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

Builder object so you can chain methods.

Back to top Generated by DocFX