emulator.emulator.setcommitteehotcredential
Home > @blaze-cardano/emulator > Emulator > setCommitteeHotCredential
Emulator.setCommitteeHotCredential() method
Assigns or clears the active hot credential for a committee member. Throws when the supplied cold credential hash is not part of the committee.
Signature:
setCommitteeHotCredential(coldCredentialHash: Hash28ByteBase16 | string, credential?: CredentialCore): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
coldCredentialHash |
Hash28ByteBase16 | string |
Committee cold credential hash. |
|
credential |
CredentialCore |
(Optional) Hot credential to assign; omit to clear. |
Returns:
void
{void}