dispatchUpdateCreator
dispatchUpdateCreator(
registryId,newCreatorAddress,authorAccount):Promise<string>
Dispatches a transaction to update the creator address of a registry.
Parameters
Section titled “Parameters”• registryId: string
The identifier of the registry to update (e.g., ‘2Lxygo…’).
• newCreatorAddress: string
The new creator’s SS58 address.
• authorAccount: CordKeyringPair
The keyring pair of the current author.
Returns
Section titled “Returns”Promise<string>
A promise that resolves when the transaction is submitted.
Throws
Section titled “Throws”If the transaction fails.
Example
Section titled “Example”await dispatchUpdateCreator('registry:cord:3xygo...', '5FHne...', alice);