p11
    Preparing search index...
    • This function validates if the involved (Hunter or Merchant) exists in the database.

      Parameters

      • name: string

        Hunter or Merchant name

      • involvedType: "Hunter" | "Merchant"

        Hunter or Merchant

      • type: "Buy" | "Sell"

        Buy or Sell

      Returns Promise<any>

      • Involved object
      • Error if the involved does not exist and cannot be created