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

    Constructors

    Methods

    • Parameters

      • args: {
            customerId: string;
            entityId: string;
            ffcMemo?: string;
            senderName?: string;
            sourceAmount: BigNumber;
            sourceCurrency: string;
            targetCurrency: "MOVEUSD";
            tchInstitutionId?: string;
            walletAddress: Address;
            walletBlockchain: "SOLANA";
        }

      Returns Promise<
          | {
              error: PreRouteError
              | QuoteInvariantError
              | LimitExceededError;
              ok: false;
          }
          | { ok: true; value: DepositQuote
          | null },
      >

    • Parameters

      • args: {
            bankTransactionId: string;
            customerId: string;
            entityId: string;
            memo?: string;
            senderName?: string;
            tchInstitutionId?: string;
            walletAddress: Address;
            walletBlockchain: "SOLANA";
        }

      Returns Promise<
          | { ok: true; value: { depositId: string } }
          | {
              error:
                  | ServiceError<"QUOTE_FAILED">
                  | ServiceError<"INVALID_BANK_TX", { bankTransactionId: string }>;
              ok: false;
          },
      >