Skip to main content

ReplaceAuthority

@midnight-ntwrk/ledger v3.0.2 β€’ Readme | API


@midnight-ntwrk/ledger v3.0.2 / ReplaceAuthority

Class: ReplaceAuthority

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

Constructors​

new ReplaceAuthority(authority)​

new ReplaceAuthority(authority): ReplaceAuthority

Parameters​

β€’ authority: ContractMaintenanceAuthority

Returns​

ReplaceAuthority

Properties​

authority​

readonly authority: ContractMaintenanceAuthority;

Methods​

toString()​

toString(compact?): string

Parameters​

β€’ compact?: boolean

Returns​

string