async CustomContractAddress({libraryId, objectId}) {
    if(libraryId === this.contentSpaceLibraryId || this.utils.EqualHash(libraryId, objectId)) {
      // Content type or content library object - no custom contract
      return;
    }

    const customContractAddress = await this.ethClient.CallContractMethod({
      contractAddress: this.utils.HashToAddress(objectId),
      abi: ContentContract.abi,
      methodName: "contentContractAddress",
      methodArgs: [],
      signer: this.signer
    });

    if(customContractAddress === this.utils.nullAddress) { return; }

    return this.utils.FormatAddress(customContractAddress);
  }
/**
   * Get the custom contract of the specified object
   *
   * @methodGroup Content Objects
   * @namedParams
   * @param {string} libraryId - ID of the library
   * @param {string} objectId - ID of the object
   *
   * @returns {Promise<string> | undefined} - If the object has a custom contract, this will return the address of the custom contract
   */
Get the custom contract of the specified object
@methodGroup Content Objects
@namedParams
@param {string} libraryId - ID of the library
@param {string} objectId - ID of the object

@returns {Promise | undefined} - If the object has a custom contract, this will return the address of the custom contract
Get the custom contract of the specified object @methodGroup Content Objects @namedParams @param { string } libraryId - ID of the library @param { string } objectId - ID of the object @returns { Promise | undefined } - If the object has a custom contract this will return the address of the custom contract
async CustomContractAddress({libraryId, objectId}) {
    if(libraryId === this.contentSpaceLibraryId || this.utils.EqualHash(libraryId, objectId)) {
      return;
    }
    const customContractAddress = await this.ethClient.CallContractMethod({
      contractAddress: this.utils.HashToAddress(objectId),
      abi: ContentContract.abi,
      methodName: "contentContractAddress",
      methodArgs: [],
      signer: this.signer
    });
    if(customContractAddress === this.utils.nullAddress) { return; }
    return this.utils.FormatAddress(customContractAddress);
  }
async CustomContractAddress ( { libraryId , objectId } ) { if ( libraryId === this . contentSpaceLibraryId || this . utils . EqualHash ( libraryId , objectId ) ) { return ; } const customContractAddress = await this . ethClient . CallContractMethod ( { contractAddress : this . utils . HashToAddress ( objectId ) , abi : ContentContract . abi , methodName : "contentContractAddress" , methodArgs : [ ] , signer : this . signer } ) ; if ( customContractAddress === this . utils . nullAddress ) { return ; } return this . utils . FormatAddress ( customContractAddress ) ; }
Get the custom contract of the specified object
 @methodGroup Content Objects
 @namedParams
 @param {string} libraryId - ID of the library
 @param {string} objectId - ID of the object
Get the custom contract of the specified object @methodGroup Content Objects @namedParams @param { string } libraryId - ID of the library @param { string } objectId - ID of the object
// Content type or content library object - no custom contract