@cfxlabsinc/b2b-services
    Preparing search index...

    A self-custody blockchain wallet

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • __namedParameters: CreateInput

      Returns Promise<
          | {
              error: | ServiceError<"INVALID_CHAIN" | "INVALID_ENTITY" | "DUPLICATE">
              | ServiceError<"LIMIT_EXCEEDED", { existing: number; limit: number }>;
              ok: false;
          }
          | {
              ok: true;
              value: {
                  address: string;
                  chain: string;
                  createdAt: Date;
                  deletedAt: Date
                  | null;
                  id: string;
                  nominisWalletScreen?: {
                      data?: {
                          data?: {
                              activity?: (...) | (...);
                              address_data?: (...) | (...);
                              asset_distribution_in?: (...) | (...);
                              asset_distribution_out?: (...) | (...);
                              balance?: (...) | (...);
                              depth?: (...) | (...);
                              destination_of_funds?: (...) | (...);
                              exposure?: (...) | (...);
                              geoint?: (...) | (...);
                              intel?: (...) | (...);
                              risk_categories?: (...) | (...);
                              risk_score?: (...) | (...);
                              source_of_funds?: (...) | (...);
                          };
                          status?: "done"
                          | "pending";
                      };
                      error?: string;
                      req_id?: string;
                      request_type?: "check_exposure";
                      status?: "ok"
                      | "fail";
                      time?: number;
                  };
                  nominisWalletScreenRequestId?: string;
                  providerId: string;
                  referenceId?: string;
                  status: "ACTIVE"
                  | "DELETED"
                  | "PENDING_VERIFICATION"
                  | "BLOCKED";
                  type: "WALLET";
                  updatedAt: Date;
              };
          },
      >

    • Parameters

      • __namedParameters: {
            customerId: string;
            data: Partial<
                {
                    nominisWalletScreen: NominisWalletScreenResult;
                    referenceId: WalletPaymentInstrument["referenceId"]
                    | null;
                },
            >;
            entityId: string;
            id: string;
        }

      Returns Promise<
          | { error: ServiceError; ok: false }
          | {
              ok: true;
              value: {
                  address: string;
                  chain: string;
                  createdAt: Date;
                  deletedAt: Date | null;
                  id: string;
                  nominisWalletScreen?: {
                      data?: {
                          data?: {
                              activity?: (...) | (...);
                              address_data?: (...) | (...);
                              asset_distribution_in?: (...) | (...);
                              asset_distribution_out?: (...) | (...);
                              balance?: (...) | (...);
                              depth?: (...) | (...);
                              destination_of_funds?: (...) | (...);
                              exposure?: (...) | (...);
                              geoint?: (...) | (...);
                              intel?: (...) | (...);
                              risk_categories?: (...) | (...);
                              risk_score?: (...) | (...);
                              source_of_funds?: (...) | (...);
                          };
                          status?: "done"
                          | "pending";
                      };
                      error?: string;
                      req_id?: string;
                      request_type?: "check_exposure";
                      status?: "ok"
                      | "fail";
                      time?: number;
                  };
                  nominisWalletScreenRequestId?: string;
                  providerId: string;
                  referenceId?: string;
                  status: "ACTIVE"
                  | "DELETED"
                  | "PENDING_VERIFICATION"
                  | "BLOCKED";
                  type: "WALLET";
                  updatedAt: Date;
              };
          },
      >