NULS JS - API Reference
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Coin
Output
constructor
address
lock
Time
na
script
size
to
Object
from
Raw
Data
to
Object
to
Raw
Data
Hierarchy
Coin
CoinOutput
Index
Constructors
constructor
Properties
address
lock
Time
na
script
Methods
size
to
Object
from
Raw
Data
to
Object
to
Raw
Data
Constructors
constructor
new
Coin
Output
(
address
:
Address
, na
:
number
, lockTime
?:
number
, script
?:
undefined
|
string
)
:
CoinOutput
Parameters
address:
Address
na:
number
Default value
lockTime:
number
= 0
Optional
script:
undefined
|
string
Returns
CoinOutput
Properties
address
address
:
Address
lock
Time
lock
Time
:
number
na
na
:
number
Optional
script
script
:
undefined
|
string
Methods
size
size
(
)
:
number
Returns
number
to
Object
to
Object
(
)
:
CoinOutputObject
Returns
CoinOutputObject
Static
from
Raw
Data
from
Raw
Data
(
rawData
:
ICoinData
)
:
CoinOutput
Parameters
rawData:
ICoinData
Returns
CoinOutput
Static
to
Object
to
Object
(
coin
:
CoinOutput
)
:
CoinOutputObject
Parameters
coin:
CoinOutput
Returns
CoinOutputObject
Static
to
Raw
Data
to
Raw
Data
(
coin
:
CoinOutput
)
:
ICoinData
Parameters
coin:
CoinOutput
Returns
ICoinData