org.sol4k.rpc.RpcRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sol4k Show documentation
Show all versions of sol4k Show documentation
Kotlin, JVM, and Android client for Solana
package org.sol4k.rpc
import kotlinx.serialization.Serializable
@Serializable
internal data class RpcRequest(
val method: String,
val params: List,
val jsonrpc: String,
val id: Long,
) {
constructor(method: String, params: List) : this(
method,
params,
jsonrpc = "2.0",
id = System.currentTimeMillis(),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy