Cardano

class Cardano

Cardano helper functions

Functions

Link copied to clipboard
open fun getByronAddress(publicKey: PublicKey): String
Return the legacy(byron) address.
Link copied to clipboard
open fun getStakingAddress(baseAddress: String): String
Return the staking address associated to (contained in) this address.
Link copied to clipboard
open fun minAdaAmount(tokenBundle: Array<Byte>): Long
Calculates the minimum ADA amount needed for a UTXO.
Link copied to clipboard
open fun outputMinAdaAmount(toAddress: String, tokenBundle: Array<Byte>, coinsPerUtxoByte: String): String
Calculates the minimum ADA amount needed for an output.