Package-level declarations

Types

Link copied to clipboard
@Serializable
data class GetEventsRequest(val startLedger: Long? = null, val endLedger: Long? = null, val filters: List<GetEventsRequest.EventFilter>, val pagination: GetEventsRequest.Pagination? = null)

Request for JSON-RPC method getEvents.

Link copied to clipboard
@Serializable
data class GetLedgerEntriesRequest(val keys: List<String>)

Request for JSON-RPC method getLedgerEntries.

Link copied to clipboard
@Serializable
data class GetLedgersRequest(val startLedger: Long? = null, val pagination: GetLedgersRequest.Pagination? = null)

Request for JSON-RPC method getLedgers.

Link copied to clipboard
@Serializable
data class GetTransactionRequest(val hash: String)

Request for JSON-RPC method getTransaction.

Link copied to clipboard
@Serializable
data class GetTransactionsRequest(val startLedger: Long? = null, val pagination: GetTransactionsRequest.Pagination? = null)

Request for JSON-RPC method getTransactions.

Link copied to clipboard
@Serializable
data class SendTransactionRequest(val transaction: String)

Request for JSON-RPC method sendTransaction.

Link copied to clipboard
@Serializable
data class SimulateTransactionRequest(val transaction: String, val resourceConfig: SimulateTransactionRequest.ResourceConfig? = null, val authMode: SimulateTransactionRequest.AuthMode? = null)

Request for JSON-RPC method simulateTransaction.

Link copied to clipboard
@Serializable
data class SorobanRpcRequest<T>(val jsonRpc: String = "2.0", val id: String, val method: String, val params: T? = null)

Represents a JSON-RPC 2.0 request sent to the Soroban RPC server.