Function useUserDetails

  • Parameters

    • address: string

    Returns {
        acceptRequest: (() => Promise<void>);
        assignRole: ((roleId: string) => Promise<void>);
        blockUser: (() => Promise<void>);
        dropRequest: (() => Promise<void>);
        fullName: ComputedRef<string>;
        isLoadFailed: Ref<boolean>;
        isLoaded: Ref<boolean>;
        isRequestPending: ComputedRef<boolean>;
        isSubmitting: Ref<boolean>;
        isUserBlocked: ComputedRef<undefined | {
            __typename?: "Role";
            description: string;
            id: string;
        }>;
        kyc: ComputedRef<undefined | Kyc>;
        loadAcceptedKycRequest: (() => Promise<void>);
        loadAll: (() => Promise<void>);
        loadPendingKycRequest: (() => Promise<void>);
        loadUser: (() => Promise<void>);
        preloadDetails: (() => Promise<void>);
        rejectRequest: ((reason: string) => Promise<void>);
        revokeRole: ((roleId: string) => Promise<void>);
        unblockUser: (() => Promise<void>);
        user: Ref<undefined | UserCommonFieldsFragment>;
    }

    • acceptRequest: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • assignRole: ((roleId: string) => Promise<void>)
        • (roleId: string): Promise<void>
        • Parameters

          • roleId: string

          Returns Promise<void>

    • blockUser: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • dropRequest: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • fullName: ComputedRef<string>
    • isLoadFailed: Ref<boolean>
    • isLoaded: Ref<boolean>
    • isRequestPending: ComputedRef<boolean>
    • isSubmitting: Ref<boolean>
    • isUserBlocked: ComputedRef<undefined | {
          __typename?: "Role";
          description: string;
          id: string;
      }>
    • kyc: ComputedRef<undefined | Kyc>
    • loadAcceptedKycRequest: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • loadAll: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • loadPendingKycRequest: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • loadUser: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • preloadDetails: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • rejectRequest: ((reason: string) => Promise<void>)
        • (reason: string): Promise<void>
        • Parameters

          • reason: string

          Returns Promise<void>

    • revokeRole: ((roleId: string) => Promise<void>)
        • (roleId: string): Promise<void>
        • Parameters

          • roleId: string

          Returns Promise<void>

    • unblockUser: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • user: Ref<undefined | UserCommonFieldsFragment>

Generated using TypeDoc