jsMain.jslibs.cosmjs.amino.coins.module_@cosmjs_amino.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.
@file:Suppress(
"INTERFACE_WITH_SUPERCLASS",
"OVERRIDING_FINAL_MEMBER",
"RETURN_TYPE_MISMATCH_ON_OVERRIDE",
"CONFLICTING_OVERLOADS"
)
package jslibs.cosmjs.amino
external interface Coin {
var denom: String
var amount: String
}
external fun coin(amount: Number, denom: String): Coin
external fun coin(amount: String, denom: String): Coin
external fun coins(amount: Number, denom: String): Array
external fun coins(amount: String, denom: String): Array
external fun parseCoins(input: String): Array
external fun addCoins(lhs: Coin, rhs: Coin): Coin
© 2015 - 2025 Weber Informatics LLC | Privacy Policy