IP Asset에 약관 첨부하기
0) Prerequisites
1) 라이선스 약관 첨부하기
const response = await client.license.attachLicenseTerms({
licenseTermsId: "1",
ipId: "0x4c1f8c1035a8cE379dd4ed666758Fb29696CF721",
txOptions: { waitForTransaction: true }
});
if (response.success) {
console.log(`Attached License Terms to IPA at transaction hash ${response.txHash}.`)
} else {
console.log(`License Terms already attached to this IPA.`)
}Reference
Last updated