Class WalletSugar
Inheritance
System.Object
WalletSugar
Assembly: Xrpl.dll
Syntax
public class WalletSugar : object
Methods
|
Improve this Doc
View Source
FundWallet(XrplClient, XrplWallet, Nullable<String>)
Declaration
public static async Task<WalletSugar.Funded> FundWallet(XrplClient client, XrplWallet wallet = null, string? faucetHost = null)
Parameters
Returns
|
Improve this Doc
View Source
GetFaucetHost(XrplClient)
Declaration
public static string GetFaucetHost(XrplClient client)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetHTTPOptions(XrplClient, Byte[], String)
Declaration
public static Dictionary<string, dynamic> GetHTTPOptions(XrplClient client, byte[] postBody, string hostname)
Parameters
Type |
Name |
Description |
XrplClient |
client |
|
System.Byte[] |
postBody |
|
System.String |
hostname |
|
Returns
Type |
Description |
Dictionary<System.String, System.Object> |
|
|
Improve this Doc
View Source
GetUpdatedBalance(XrplClient, String, Double)
Declaration
public static async Task<double> GetUpdatedBalance(XrplClient client, string address, double originalBalance)
Parameters
Type |
Name |
Description |
XrplClient |
client |
|
System.String |
address |
|
System.Double |
originalBalance |
|
Returns
Type |
Description |
Task<System.Double> |
|
|
Improve this Doc
View Source
OnEnd(HttpResponseMessage, Byte[], XrplClient, Double, XrplWallet)
Declaration
public static async Task<WalletSugar.Funded> OnEnd(HttpResponseMessage response, byte[] chunks, XrplClient client, double startingBalance, XrplWallet walletToFund)
Parameters
Type |
Name |
Description |
HttpResponseMessage |
response |
|
System.Byte[] |
chunks |
|
XrplClient |
client |
|
System.Double |
startingBalance |
|
XrplWallet |
walletToFund |
|
Returns
|
Improve this Doc
View Source
ProcessSuccessfulResponse(XrplClient, String, Double, XrplWallet)
Declaration
public static async Task<WalletSugar.Funded> ProcessSuccessfulResponse(XrplClient client, string body, double startingBalance, XrplWallet walletToFund)
Parameters
Type |
Name |
Description |
XrplClient |
client |
|
System.String |
body |
|
System.Double |
startingBalance |
|
XrplWallet |
walletToFund |
|
Returns
|
Improve this Doc
View Source
ReturnPromise(Dictionary<String, Object>, XrplClient, Double, XrplWallet, String)
Declaration
public static async Task<WalletSugar.Funded> ReturnPromise(Dictionary<string, dynamic> options, XrplClient client, double startingBalance, XrplWallet walletToFund, string postBody)
Parameters
Type |
Name |
Description |
Dictionary<System.String, System.Object> |
options |
|
XrplClient |
client |
|
System.Double |
startingBalance |
|
XrplWallet |
walletToFund |
|
System.String |
postBody |
|
Returns