NULS JS - API Reference
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Coin
Input
constructor
from
Hash
from
Index
lock
Time
na
size
to
Object
from
Raw
Data
to
Object
to
Raw
Data
Hierarchy
Coin
CoinInput
Index
Constructors
constructor
Properties
from
Hash
from
Index
lock
Time
na
Methods
size
to
Object
from
Raw
Data
to
Object
to
Raw
Data
Constructors
constructor
new
Coin
Input
(
fromHash
:
string
, fromIndex
:
number
, na
:
number
, lockTime
?:
number
)
:
CoinInput
Parameters
fromHash:
string
fromIndex:
number
na:
number
Default value
lockTime:
number
= 0
Returns
CoinInput
Properties
from
Hash
from
Hash
:
string
from
Index
from
Index
:
number
lock
Time
lock
Time
:
number
na
na
:
number
Methods
size
size
(
)
:
number
Returns
number
to
Object
to
Object
(
)
:
CoinInputObject
Returns
CoinInputObject
Static
from
Raw
Data
from
Raw
Data
(
rawData
:
ICoinData
)
:
CoinInput
Parameters
rawData:
ICoinData
Returns
CoinInput
Static
to
Object
to
Object
(
coin
:
CoinInput
)
:
CoinInputObject
Parameters
coin:
CoinInput
Returns
CoinInputObject
Static
to
Raw
Data
to
Raw
Data
(
coin
:
CoinInput
)
:
ICoinData
Parameters
coin:
CoinInput
Returns
ICoinData