Kuira
Toggle table of contents
0.1.0-alpha03
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Kuira
wallet
/
com.midnight.kuira.core.wallet.model
/
Balance
/
Companion
Companion
object
Companion
Members
Properties
DUST_
PER_
MIDNIGHT
Link copied to clipboard
const
val
DUST_PER_MIDNIGHT
:
Long
1 MIDNIGHT = 1,000,000 dust.
Functions
from
Midnight
Link copied to clipboard
fun
fromMidnight
(
shielded
:
Double
=
0.0
,
unshielded
:
Double
=
0.0
,
dust
:
Double
=
0.0
,
tokenType
:
String
=
"MIDNIGHT"
)
:
Balance
Create balance from MIDNIGHT amounts (will convert to dust).