prepareUpdateCreatorExtrinsic
prepareUpdateCreatorExtrinsic(
registryId
,newCreatorAddress
):Promise
<SubmittableExtrinsic
>
Prepares an extrinsic to update the creator address of a registry.
Parameters
• registryId: string
The identifier of the registry to update (e.g., ‘2Ldxygo…’).
• newCreatorAddress: string
The new creator’s SS58 address.
Returns
Promise
<SubmittableExtrinsic
>
A promise that resolves to the prepared extrinsic.
Throws
If the preparation fails.
Example
const extrinsic = await prepareUpdateCreatorExtrinsic('registry:cord:3xygo...', '5FHne...');