Class GetFeeXrpSugar
Inheritance
object
GetFeeXrpSugar
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public static class GetFeeXrpSugar
Methods
| Edit this page View SourceGetFeeXrp(IXrplClient, double?, CancellationToken)
Calculates the current transaction fee for the ledger. Note: This is a public API that can be called directly.
Declaration
public static Task<string> GetFeeXrp(this IXrplClient client, double? cushion = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IXrplClient | client | The Client used to connect to the ledger. |
| double? | cushion | The fee cushion to use |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<string> | The transaction fee |