toolsOzoneHostingGetAccountHistory function
Get account history, e.g. log of updated email addresses or other identity information.
Implementation
Future<XRPCResponse<HostingGetAccountHistoryOutput>>
toolsOzoneHostingGetAccountHistory({
required String did,
List<HostingGetAccountHistoryEvents>? events,
String? cursor,
int? limit,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.toolsOzoneHostingGetAccountHistory,
headers: $headers,
parameters: {
...?$unknown,
'did': did,
if (events != null) 'events': events.map((e) => e.toJson()).toList(),
if (cursor != null) 'cursor': cursor,
if (limit != null) 'limit': limit,
},
to: const HostingGetAccountHistoryOutputConverter().fromJson,
);