Class PathPaymentStrictSendOperationResponse
A path payment strict send operation represents a payment from one account to another through a path. This type of payment starts as one type of asset and ends as another type of asset. See: https://www.stellar.org/developers/horizon/reference/resources/operation.html#path-payment-strict-send stellar_dotnetcore_sdk.requests.OperationsRequestBuilder stellar_dotnetcore_sdk.Server
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class PathPaymentStrictSendOperationResponse : OperationResponse, IPagingToken
Constructors
PathPaymentStrictSendOperationResponse()
Declaration
public PathPaymentStrictSendOperationResponse()
PathPaymentStrictSendOperationResponse(String, String, String, String, String, String, String, String, String, String, String, IEnumerable<Asset>)
Sends an amount in a specific asset to a destination account through a path of offers. This allows the asset sent (e.g., 450 XLM) to be different from the asset received (e.g, 6 BTC).
Declaration
public PathPaymentStrictSendOperationResponse(string from, string to, string assetType, string assetCode, string assetIssuer, string amount, string sourceAssetType, string sourceAssetCode, string sourceAssetIssuer, string sourceAmount, string destinationMin, IEnumerable<Asset> path)
Parameters
Type | Name | Description |
---|---|---|
System.String | from | Account address that is sending the payment. |
System.String | to | Account address that receives the payment. |
System.String | assetType | Destination asset type. (Alpha4, Alpha12, etc.) |
System.String | assetCode | Destination asset code. |
System.String | assetIssuer | Destination asset issuer account |
System.String | amount | The amount of destination asset the destination account receives. |
System.String | sourceAssetType | Source asset type. (Alpha4, Alpha12, etc.) |
System.String | sourceAssetCode | Source asset code. |
System.String | sourceAssetIssuer | Source asset issuer account. |
System.String | sourceAmount | The amount of source asset deducted from senders account. |
System.String | destinationMin | The minimum amount of destination asset expected to be received. |
IEnumerable<Asset> | path | Additional hops the operation went through to get to the destination asset. |
Properties
Amount
The amount of destination asset the destination account receives.
Declaration
public string Amount { get; }
Property Value
System.String
|
AssetCode
The destination asset code (Alpha4, Alpha12, etc.)
Declaration
public string AssetCode { get; }
Property Value
System.String
|
AssetIssuer
The destination asset issuer account.
Declaration
public string AssetIssuer { get; }
Property Value
System.String
|
AssetType
The destination asset type. (Alpha4, Alpha12, etc.)
Declaration
public string AssetType { get; }
Property Value
System.String
|
DestinationAsset
DestinationMin
The maximum send amount.
Declaration
public string DestinationMin { get; }
Property Value
System.String
|
From
Account address that is sending the payment.
Declaration
public string From { get; }
Property Value
System.String
|
Path
Additional hops the operation went through to get to the destination asset
Declaration
public IEnumerable<Asset> Path { get; }
Property Value
IEnumerable<Asset>
|
SourceAmount
The amount sent.
Declaration
public string SourceAmount { get; }
Property Value
System.String
|
SourceAsset
SourceAssetCode
The source asset code.
Declaration
public string SourceAssetCode { get; }
Property Value
System.String
|
SourceAssetIssuer
The source asset issuer account.
Declaration
public string SourceAssetIssuer { get; }
Property Value
System.String
|
SourceAssetType
The source asset type. (Alpha4, Alpha12, etc.)
Declaration
public string SourceAssetType { get; }
Property Value
System.String
|
To
Account address that receives the payment.
Declaration
public string To { get; }
Property Value
System.String
|
TypeId
Declaration
public override int TypeId { get; }
Property Value
System.Int32
|