commonMain.dev.icerock.moko.web3.Web3RpcRequest.kt Maven / Gradle / Ivy
/*
* Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.web3
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.SerializationStrategy
open class Web3RpcRequest(
val method: String,
val params: List,
val paramsSerializer: SerializationStrategy,
val resultSerializer: DeserializationStrategy
) {
override fun toString() =
"Web3RpcRequest(method='$method', params=$params, paramsSerializer=$paramsSerializer, resultSerializer=$resultSerializer)"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy