prepareRemoveDelegateExtrinsic
prepareRemoveDelegateExtrinsic(
registryId,delegateAddress):Promise<SubmittableExtrinsic>
Prepares an extrinsic to remove a delegate from a registry.
Parameters
Section titled “Parameters”• registryId: string
The identifier of the registry (e.g., ‘2Ld3xygo…’).
• delegateAddress: string
The SS58 address of the delegate to remove.
Returns
Section titled “Returns”Promise<SubmittableExtrinsic>
A promise that resolves to the prepared extrinsic.
Throws
Section titled “Throws”If the preparation fails.
Example
Section titled “Example”const extrinsic = await prepareRemoveDelegateExtrinsic('registry:cord:3xygo...', '5FHne...');