Skip to content

@aldea/compiler / Coin

Class: Coin ​

Built in Coin remote jig

Hierarchy ​

Implements ​

Table of contents ​

Constructors ​

Properties ​

Methods ​

Constructors ​

constructor ​

• new Coin(amount): Coin

Parameters ​

NameType
amountnumber

Returns ​

Coin

Overrides ​

Jig.constructor

Defined in ​

index.d.ts:345

Properties ​

$lock ​

• $lock: Lock

Inherited from ​

Jig.$lock

Defined in ​

index.d.ts:331


$output ​

• $output: Output

Inherited from ​

Jig.$output

Defined in ​

index.d.ts:332


amount ​

• amount: number

Implementation of ​

Fungible.amount

Defined in ​

index.d.ts:344

Methods ​

combine ​

▸ combine(coins): Coin

Parameters ​

NameType
coinsCoin[]

Returns ​

Coin

Implementation of ​

Fungible.combine

Defined in ​

index.d.ts:347


send ​

▸ send(amount): Coin

Parameters ​

NameType
amountnumber

Returns ​

Coin

Implementation of ​

Fungible.send

Defined in ​

index.d.ts:346