noRippleCheck method
Future<Map<String, dynamic> >
noRippleCheck(
- String account,
- NoRippleCheckRole role, {
- bool transactions = false,
- int? limit = 300,
- String? ledgerHash,
- XRPLLedgerIndex? ledgerIndex = XRPLLedgerIndex.validated,
Implementation
Future<Map<String, dynamic>> noRippleCheck(
String account,
NoRippleCheckRole role, {
bool transactions = false,
int? limit = 300,
String? ledgerHash,
XRPLLedgerIndex? ledgerIndex = XRPLLedgerIndex.validated,
}) async {
final Map<String, dynamic> configParams = {};
createRpcConfig(configParams, "account", account);
createRpcConfig(configParams, "role", role.value);
createRpcConfig(configParams, "transactions", transactions);
createRpcConfig(configParams, "limit", limit);
createRpcConfig(configParams, "ledger_index", ledgerIndex?.value);
createRpcConfig(configParams, "ledger_hash", ledgerHash);
final response = await makeCustomCall<Map<String, dynamic>>(
"noripple_check", [configParams]);
return response;
}