Skip to main content

PreBinding

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / PreBinding

Class: PreBinding

Information that will be used to bind an Intent in the future, but does not yet prevent modification of it.

Constructors​

Constructor​

new PreBinding(data): PreBinding;

Parameters​

data​

String

Returns​

PreBinding

Properties​

instance​

instance: "pre-binding";

Methods​

serialize()​

serialize(): Uint8Array;

Returns​

Uint8Array


toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string


deserialize()​

static deserialize(raw): PreBinding;

Parameters​

raw​

Uint8Array

Returns​

PreBinding