toolsOzoneInboxGetAccountStatus function

Future<XRPCResponse<InboxGetAccountStatusOutput>> toolsOzoneInboxGetAccountStatus({
  1. String? did,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Get the authenticated account's current standing with this moderation service.

Implementation

Future<XRPCResponse<InboxGetAccountStatusOutput>>
toolsOzoneInboxGetAccountStatus({
  String? did,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneInboxGetAccountStatus,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, if (did != null) 'did': did},
  to: const InboxGetAccountStatusOutputConverter().fromJson,
);