dispatchRemoveDelegateToChain
dispatchRemoveDelegateToChain(
registryId
,delegateAddress
,authorAccount
):Promise
<void
>
Dispatches a transaction to remove a delegate from a registry.
Parameters
• registryId: string
The identifier of the registry (e.g., ‘2Lwd3xygo…’).
• delegateAddress: string
The SS58 address of the delegate to remove.
• authorAccount: CordKeyringPair
The keyring pair of the author.
Returns
Promise
<void
>
A promise that resolves when the transaction is submitted.
Throws
If the transaction fails.
Example
await dispatchRemoveDelegateToChain('registry:cord:3xygo...', '5FHne...', alice);