Skip to main content

ReplaceAuthority

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / ReplaceAuthority

Class: ReplaceAuthority

An update instruction to replace the current contract maintenance authority with a new one.

Constructors​

Constructor​

new ReplaceAuthority(authority): ReplaceAuthority;

Parameters​

authority​

ContractMaintenanceAuthority

Returns​

ReplaceAuthority

Properties​

authority​

readonly authority: ContractMaintenanceAuthority;

Methods​

toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string