jsMain.jslibs.cosmjs.amino.signer.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
import org.khronos.webgl.Uint8Array
import kotlin.js.Promise
external interface AccountData {
var address: String
var algo: String /* "secp256k1" | "ed25519" | "sr25519" */
var pubkey: Uint8Array
}
external interface AminoSignResponse {
var signed: StdSignDoc
var signature: StdSignature
}
external interface OfflineAminoSigner {
var getAccounts: () -> Promise>
var signAmino: (signerAddress: String, signDoc: StdSignDoc) -> Promise
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy