Skip to main content

bsv.Transaction.UnspentOutput

scrypt-ts / bsv / Transaction / UnspentOutput

Class: UnspentOutput

bsv.Transaction.UnspentOutput

Table of contents​

Constructors​

Methods​

Constructors​

constructor​

• new UnspentOutput(data)

Parameters​

NameType
dataIUnspentOutput

Defined in​

node_modules/bsv/index.d.ts:803

Methods​

inspect​

▸ inspect(): string

Returns​

string

Defined in​

node_modules/bsv/index.d.ts:804


toObject​

▸ toObject(): IUnspentOutput

Returns​

IUnspentOutput

Defined in​

node_modules/bsv/index.d.ts:805


toString​

▸ toString(): string

Returns​

string

Defined in​

node_modules/bsv/index.d.ts:806


fromObject​

▸ Static fromObject(o): UnspentOutput

Parameters​

NameType
oIUnspentOutput

Returns​

UnspentOutput

Defined in​

node_modules/bsv/index.d.ts:802