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