WalletCore
WalletCore
/
wallet.core.jni
/
Cardano
Cardano
class
Cardano
Cardano helper functions
Functions
Functions
get
Byron
Address
Link copied to clipboard
open
fun
getByronAddress
(
publicKey
:
PublicKey
)
:
String
Return the legacy(byron) address.
get
Staking
Address
Link copied to clipboard
open
fun
getStakingAddress
(
baseAddress
:
String
)
:
String
Return the staking address associated to (contained in) this address.
min
Ada
Amount
Link copied to clipboard
open
fun
minAdaAmount
(
tokenBundle
:
Array
<
Byte
>
)
:
Long
Calculates the minimum ADA amount needed for a UTXO.
output
Min
Ada
Amount
Link copied to clipboard
open
fun
outputMinAdaAmount
(
toAddress
:
String
,
tokenBundle
:
Array
<
Byte
>
,
coinsPerUtxoByte
:
String
)
:
String
Calculates the minimum ADA amount needed for an output.