Skip to main content

@midnight/ledger v3.0.2Readme | API


@midnight/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